7 Replies Latest reply on Feb 24, 2013 11:16 PM by huchangchun

    Steps to Re-Build RHQ

    udayatom

      Hello Developers,

       

              I have made some changes in the RHQ Source.

       

              Now I want to check it out whether it is working or not . But Right Now I got strucked up. COZ, No idea about rebuilding RHQ. Can  you guys direct me.

       

              I know it is GWT project. But dont know the building procedures and tools. Please share me your knowledge

       

       

      Regards,

      Udaya Kumar

        • 1. Re: Steps to Re-Build RHQ
          pilhuhn

          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

            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

              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

                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

                  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

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

                    1 of 1 people found this helpful
                    • 7. Re: Steps to Re-Build RHQ
                      huchangchun

                      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