
This is a multi-part message in MIME format. --------------080800080801040300050602 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/06/2012 12:18 PM, Adam Litke wrote:
On Mon, Feb 06, 2012 at 10:58:13AM -0500, Laszlo Hornyak wrote:
Hi Adam!
Please check if workspace maven resolution is enabled, and run a maven build with install. If it is still broken, then there must be a bad dependency in the pom.xml-s... it happens :-( Thanks for your suggestions. Maven resolution is enabled. Then I tried to build on the command line using mvn directly but got the same errors as in eclipse. Next, I tried to checkout out the 3.0 branch (assuming that the build should be more stable) and I got a different set of compilation errors.
This brings up a few questions:
1.) Which jdk should I use? I am currently using OpenJDK
/usr/lib/jvm/java-1.6.0-openjdk/bin/java -version java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.1) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
I am using a very similar jdk but on Fedora - #> java -version java version "1.6.0_22" OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-60.1.10.4.fc15-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) I can check what I am using on my Ubuntu machine when I get home. Have you put the correct settings in ~/.m2/settings.xml? http://www.ovirt.org/wiki/Building_oVirt_engine#Maven_personal_settings Jon
2,) Does this need a Fedora/RH system to compile?
3.) My guess is that others are able to compile oVirt even if there are bad dependencies in the pom.xml files. Otherwise they would already be fixed. How do others fix the dependencies on their local systems.
Thanks for the help!
Laszlo
----- Original Message -----
From: "Adam Litke"<agl@us.ibm.com> To: engine-devel@ovirt.org Sent: Monday, February 6, 2012 3:49:33 PM Subject: [Engine-devel] Eclipse IDE setup
Hi all,
I am trying to set up an eclipse development environment for ovirt-engine and am running into a stubborn problem with missing classes. I have followed the directions for importing the Maven projects as written here: http://ovirt.org/wiki/Building_Ovirt_Engine/IDE
The projects are able to be imported but I see lots of errors about missing imports such as:
import org.ovirt.engine.api.model.* import org.ovirt.engine.core.common.*
I should have a complete ovirt-engine source repository (I cloned the ovirt-engine git repo). Has anyone seen this problem before? Can you offer any suggestions to help me resolve it? Thanks!
-- Adam Litke<agl@us.ibm.com> IBM Linux Technology Center
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
--------------080800080801040300050602 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> On 02/06/2012 12:18 PM, Adam Litke wrote: <blockquote cite="mid:20120206171834.GH3026@us.ibm.com" type="cite"> <pre wrap="">On Mon, Feb 06, 2012 at 10:58:13AM -0500, Laszlo Hornyak wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi Adam! Please check if workspace maven resolution is enabled, and run a maven build with install. If it is still broken, then there must be a bad dependency in the pom.xml-s... it happens :-( </pre> </blockquote> <pre wrap=""> Thanks for your suggestions. Maven resolution is enabled. Then I tried to build on the command line using mvn directly but got the same errors as in eclipse. Next, I tried to checkout out the 3.0 branch (assuming that the build should be more stable) and I got a different set of compilation errors. This brings up a few questions: 1.) Which jdk should I use? I am currently using OpenJDK /usr/lib/jvm/java-1.6.0-openjdk/bin/java -version java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.1) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) </pre> </blockquote> <font face="Helvetica, Arial, sans-serif"><br> <br> I am using a very similar jdk but on Fedora - <br> <br> <br> <br> #> java -version<br> java version "1.6.0_22"<br> OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-60.1.10.4.fc15-x86_64)<br> OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)<br> <br> <br> I can check what I am using on my Ubuntu machine when I get home.<br> <br> Have you put the correct settings in ~/.m2/settings.xml?<br> <a class="moz-txt-link-freetext" href="http://www.ovirt.org/wiki/Building_oVirt_engine#Maven_personal_settings">http://www.ovirt.org/wiki/Building_oVirt_engine#Maven_personal_settings</a><br> <br> Jon<br> <br> </font> <blockquote cite="mid:20120206171834.GH3026@us.ibm.com" type="cite"> <pre wrap=""> 2,) Does this need a Fedora/RH system to compile? 3.) My guess is that others are able to compile oVirt even if there are bad dependencies in the pom.xml files. Otherwise they would already be fixed. How do others fix the dependencies on their local systems. Thanks for the help! </pre> <blockquote type="cite"> <pre wrap=""> Laszlo ----- Original Message ----- </pre> <blockquote type="cite"> <pre wrap="">From: "Adam Litke" <a class="moz-txt-link-rfc2396E" href="mailto:agl@us.ibm.com"><agl@us.ibm.com></a> To: <a class="moz-txt-link-abbreviated" href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a> Sent: Monday, February 6, 2012 3:49:33 PM Subject: [Engine-devel] Eclipse IDE setup Hi all, I am trying to set up an eclipse development environment for ovirt-engine and am running into a stubborn problem with missing classes. I have followed the directions for importing the Maven projects as written here: <a class="moz-txt-link-freetext" href="http://ovirt.org/wiki/Building_Ovirt_Engine/IDE">http://ovirt.org/wiki/Building_Ovirt_Engine/IDE</a> The projects are able to be imported but I see lots of errors about missing imports such as: import org.ovirt.engine.api.model.* import org.ovirt.engine.core.common.* I should have a complete ovirt-engine source repository (I cloned the ovirt-engine git repo). Has anyone seen this problem before? Can you offer any suggestions to help me resolve it? Thanks! -- Adam Litke <a class="moz-txt-link-rfc2396E" href="mailto:agl@us.ibm.com"><agl@us.ibm.com></a> IBM Linux Technology Center _______________________________________________ Engine-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> </pre> </blockquote> <pre wrap=""> </pre> </blockquote> <pre wrap=""> </pre> </blockquote> <br> </body> </html> --------------080800080801040300050602--