
Through some experimentation, I found a list of steps that seems to fix everything on my machines: restapi-definition -> project -> properties -> java build path -> source -> add source folder -> target/generated-sources/xjc webadmin -> project -> properties -> java build path -> source -> add source folder -> target/generated-sources/{annotations,gwt} frontend -> project -> properties -> java build path -> source -> add source folder -> target/generated-sources/gwt gwt-common -> project -> properties -> java build path -> source -> add source folder -> target/generated-sources/annotations userportal -> project -> properties -> java build path -> source -> add source folder -> target/generated-sources/{annotations,gwt} These make sure there can't be any cycles introduced, and resolve all errors in the projects. Let me know if any of this doesn't work for you. - Ricky On 7/27/12 7:03 AM, "Costea, George" <George.Costea@netapp.com> wrote:
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 webadmin -> project -> properties -> java build path -> source -> add source folder-> target/generated-sources/{annotations,gwt,test-annotations} frontend -> project -> properties -> java build path -> source -> add source folder-> target/generated-sources/gwt
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}"
I then try the 5th step:
sharedgwt -> project -> properties -> Projects -> Add -> common
But there is no sharedgwt project. Does this provide enough detail?
-----Original Message----- From: engine-devel-bounces@ovirt.org [mailto:engine-devel-bounces@ovirt.org] On Behalf Of Yair Zaslavsky Sent: Friday, July 27, 2012 1:13 AM To: engine-devel@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@redhat.com] Sent: Thursday, July 26, 2012 5:34 PM To: Costea, George Cc: engine-devel@ovirt.org Subject: Re: [Engine-devel] Building ovirt engine instructions
----- Original Message -----
From: "George Costea"<George.Costea@netapp.com> To: engine-devel@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel