-
1. Re: Steps to Re-Build RHQ
pilhuhn Feb 21, 2013 2:53 AM (in response to udayatom)Hey,
this should be answered in the Wiki here: https://docs.jboss.org/author/display/RHQ/Building+RHQ
If that does not work for you, please come up with specific questions / issues, so that we can better help and/or improve the wiki page.
Thanks
Heiko
-
2. Re: Steps to Re-Build RHQ
udayatom Feb 21, 2013 4:04 AM (in response to pilhuhn)Thank you heiko and RHQ Developers,
My aim is add new menu (like platforms in dashboard) so i make changes in the existing InventoryView.java . So i try to rebuild the file, It is right ????
I followed your guidelines... thank you.. if you have any other videos for rebuild the existing code please show me.
Regards,
Udaya kumar
-
3. Re: Steps to Re-Build RHQ
pilhuhn Feb 21, 2013 6:27 AM (in response to udayatom)You should go to
modules/enterprise/gui/coregui/
and then run maven -Pdev install, which will install the assembled coregui.war file into the running development container. I think the above wiki page talks about that as well.
-
4. Re: Steps to Re-Build RHQ
huchangchun Feb 22, 2013 12:42 AM (in response to udayatom)Hi Heiko,
Is it required to upgrade JDK from 6 to 7 to build RHQ 4.6? I cannot build RHQ4.6 with JDK 6 now. I will install JDK 7 and try again.
Your confirmation is much appreciated.
Thanks and best regards.
Changchun
-
5. Re: Steps to Re-Build RHQ
pilhuhn Feb 22, 2013 3:48 AM (in response to huchangchun)Changchun
yes, I think that is required now (given that 1.6 is EOL anyway). I think we still support a -target 1.6 meaning that the code should continue to run on Java6 VMs.
I don't recall the details though - Jay Shaughnessy may do.
Heiko
-
6. Re: Steps to Re-Build RHQ
jayshaughnessy Feb 22, 2013 10:34 AM (in response to pilhuhn)1 of 1 people found this helpfulThat's correct. We now require Java7 to build. This was done primarily because of a bug in Java6, and earlier, that complicated our build. The bug was resolved in java7. Since we do not yet use Java7 API's in the code, we still support running on a Java6 VM.
-
7. Re: Steps to Re-Build RHQ
huchangchun Feb 24, 2013 11:16 PM (in response to jayshaughnessy)Thanks Jay and Heiko.
Your answer helps me a lot to understand the question.
FYI, I can build RHQ4.6 with JDK7 and run it on Java 6 successfully.
Best regards.
Changchun