[Engine-devel] Building ovirt engine instructions

--_000_6C8AC8C50E170C4E9B44D47B39B24A480126CBF9SACEXCMBX04PRDh_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 a= lways fails. Is there an update to get the ear file deployed? 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 projec= t 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 --_000_6C8AC8C50E170C4E9B44D47B39B24A480126CBF9SACEXCMBX04PRDh_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal">I think the wiki page (<a href=3D"http://wiki.ovirt.= org/wiki/Building_Ovirt_Engine">http://wiki.ovirt.org/wiki/Building_Ovirt_E= ngine</a>) to build the ovirt engine is outdated. When I reach the de= ploy section, it always fails. Is there an update to get the ear file deployed?<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">The Eclipse instructions (<a href=3D"http://wiki.ovi= rt.org/wiki/Building_Ovirt_Engine/IDE">http://wiki.ovirt.org/wiki/Building_= Ovirt_Engine/IDE</a>) 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 pr= oject...” Could we get an update on this too?<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Thanks,<o:p></o:p></p> <p class=3D"MsoNormal">George <o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> </body> </html> --_000_6C8AC8C50E170C4E9B44D47B39B24A480126CBF9SACEXCMBX04PRDh_--

----- 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

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. -----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

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

On 07/27/2012 08:12 AM, Yair Zaslavsky wrote:
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
we must get eclipse to work easily and without errors. i noticed Allon just published this to disable m2plugin for eclipse, could be relevant (since not applied yet, you would need to apply locally) http://gerrit.ovirt.org/#/c/6669/
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

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

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

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

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@netapp.com> To: "Yair Zaslavsky" <yzaslavs@redhat.com>, engine-devel@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@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

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+t... 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@redhat.com> To: "George Costea" <George.Costea@netapp.com> Cc: engine-devel@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@netapp.com> To: "Yair Zaslavsky" <yzaslavs@redhat.com>, engine-devel@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@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
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
participants (6)
-
Allon Mureinik
-
Costea, George
-
Hopper, Ricky
-
Itamar Heim
-
Oved Ourfalli
-
Yair Zaslavsky