[Engine-devel] Building ovirt engine instructions

Allon Mureinik amureini at redhat.com
Fri Jul 27 19:43:53 UTC 2012


Also, if you're using Eclipse Juno, you want to take a look at this gerrit topic:
http://gerrit.ovirt.org/#/q/status:open+project:ovirt-engine+branch:master+topic:eclipse-juno-support,n,z

I found out the hard way Juno is a tad over-strict when it comes to parsing poms, and this may save you some trouble

----- Original Message -----
> From: "Allon Mureinik" <amureini at redhat.com>
> To: "George Costea" <George.Costea at netapp.com>
> Cc: engine-devel at ovirt.org
> Sent: Friday, July 27, 2012 9:04:11 PM
> Subject: Re: [Engine-devel] Building ovirt engine instructions
> 
> Just had to reinstall and reconfigure Eclipse myself due to a yum
> upgrade misshap (kids, don't try this at home :-)), so here's some
> insight on the process.
> 
> ----- Original Message -----
> > From: "George Costea" <George.Costea at netapp.com>
> > To: "Yair Zaslavsky" <yzaslavs at redhat.com>, engine-devel at ovirt.org
> > Sent: Friday, July 27, 2012 2:03:14 PM
> > Subject: Re: [Engine-devel] Building ovirt engine instructions
> > 
> > I get to the step that reads, "Change project settings to Resolve
> > compilation errors."
> > 
> > After completing the first 3 steps below:
> > 
> > 	restapi-definition ->  project ->  properties -> java build path
> > 	->
> > 	 source ->  add source folder ->  target/generated-sources/xjc
> ack.
> 
> > 	webadmin ->  project ->  properties ->  java build path -> source
> > 	->
> > 	 add source folder->
> > 	 target/generated-sources/{annotations,gwt,test-annotations}
> Eclipse Juno did this automatically for me, but yes, if it wasn't
> added automatically, you should add it.
> 
> > 	frontend ->  project ->  properties ->  java build path -> source
> > 	->
> > 	 add source folder->  target/generated-sources/gwt
> Same as above.
> 
> > 
> > I am left with 181 Errors.  I then try the 4th step:
> > 
> > 	frontend -> project -> properties -> Projects -> Add -> webadmin
> > 
> > This introduces 5 errors stating, "A cycle was detected in the
> > build
> > path of project
> > 'frontend'/'gwt-common'/'uicommonweb'/'userportal'/'webadmin'.  The
> > cycle consists of projects {frontend, webadmin, uicommonweb,
> > gwt-common, userportal}"
> Indeed - this step seems wrong. I will remove it from the wiki page.
> 
> > 
> > I then try the 5th step:
> > 
> > 	sharedgwt -> project -> properties -> Projects -> Add -> common
> > 
> It was indeed removed - skip to the next stage regarding uicompat.
> 
> Also, there are steps missing (I'll add them to the wiki):
> gwt-extensios - add anything under target/generated-sources
> gwt-common - add target/generated-sources/annotations; also add
> depdendency on uicommon-web, common and compat
> uicompat - add target/generated-sources/annotations
> generic-api - add dependencies on common, compat and utils
> 
> > But there is no sharedgwt project.  Does this provide enough
> > detail?
> > 
> > -----Original Message-----
> > From: engine-devel-bounces at ovirt.org
> > [mailto:engine-devel-bounces at ovirt.org] On Behalf Of Yair Zaslavsky
> > Sent: Friday, July 27, 2012 1:13 AM
> > To: engine-devel at ovirt.org
> > Subject: Re: [Engine-devel] Building ovirt engine instructions
> > 
> > On 07/27/2012 12:58 AM, Costea, George wrote:
> > > It works fine from the CLI (I was running out of memory).  I'm
> > > still getting an issue with Eclipse though about a cycle being
> > > detected from the build path.
> > 
> > Please elaborate on this cyclic dependency (I guess this is the
> > issue,
> > right?)
> > 
> > What matters the most is that you can build from CLI.
> > Some of the oVirt engine mantainers do not build from Eclipse (I
> > personally find the maven plugin to be too buggy) , but it's a
> > matter of personal preference. We will try to help you regardlessly
> > 
> > Yair
> > 
> > >
> > > -----Original Message-----
> > > From: Oved Ourfalli [mailto:ovedo at redhat.com]
> > > Sent: Thursday, July 26, 2012 5:34 PM
> > > To: Costea, George
> > > Cc: engine-devel at ovirt.org
> > > Subject: Re: [Engine-devel] Building ovirt engine instructions
> > >
> > >
> > >
> > > ----- Original Message -----
> > >> From: "George Costea"<George.Costea at netapp.com>
> > >> To: engine-devel at ovirt.org
> > >> Sent: Thursday, July 26, 2012 11:33:04 PM
> > >> Subject: [Engine-devel] Building ovirt engine instructions
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> I think the wiki page (
> > >> http://wiki.ovirt.org/wiki/Building_Ovirt_Engine ) to build the
> > >> ovirt
> > >> engine is outdated. When I reach the deploy section, it always
> > >> fails.
> > >> Is there an update to get the ear file deployed?
> > >>
> > >>
> > > Can you elaborate more on the issue? What's the exact
> > > failure/error
> > > you see when deploying?
> > >
> > >>
> > >> The Eclipse instructions (
> > >> http://wiki.ovirt.org/wiki/Building_Ovirt_Engine/IDE ) also seem
> > >> to
> > >> be out of date. When I follow the steps to change project
> > >> settings, I
> > >> get an error stating that “A cycle was detected in the build
> > >> path
> > >> of
> > >> the project...” Could we get an update on this too?
> > >>
> > >>
> > >>
> > >> Thanks,
> > >>
> > >> George
> > >>
> > >>
> > >> _______________________________________________
> > >> Engine-devel mailing list
> > >> Engine-devel at ovirt.org
> > >> http://lists.ovirt.org/mailman/listinfo/engine-devel
> > >>
> > > _______________________________________________
> > > Engine-devel mailing list
> > > Engine-devel at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > 
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > 
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Engine-devel mailing list