1 Reply Latest reply on May 31, 2007 11:33 AM by Peter Johnson

    How to build the portal from sources?

    Leon Wu Newbie

      I am new to the JBoss portal. I installed JBoss Portal Binary version and it works well. But I got problems with installing from sources. I followed the steps of the Reference Guide. And I got C:\jboss-portal-2.6-CR2-src\thirdparty\libraries.ent could not be found error. The build failed. Can anyone tell me how to get the thirdparty files for the build? or tell me how to do the source build?


        • 1. Re: How to build the portal from sources?
          Peter Johnson Master

          Here is what I did:

          1) Downloaded the 2.6 CR2 source file: jboss-portal-2.6-CR2-src.tar.gz

          2) Unzipped it using WinZip

          3) Opened a command prompt in jboss-portal-2.6-CR2-src/build

          3a) Checked the JAVA_HOME was set (I use JDK 1.5.0_11, do not use JDK 6!)

          4) Ran the build.bat script as follows: build

          The final binary appears at jboss-portal-2.6-CR2-src/core/output/resources/jboss-portal.sar

          (The first part of the build automatically downloads the contents of the thirdparty directory.)