Version 13

    Using Ant to build the sources

     

    This section will talk about building JBoss Portal from source code.

     

    Obtaining The Source

     

    The source for JBoss portal is distributed across a number of separate projects based on the different areas of functionality.

     

    JBoss Portal "any" using Subversion

    Here are the basic steps to get the JBoss Portal code source using SVN.

    • Install SVN.

    • As of Apr 2008, the repository contains branches for 2.0, 2.2, 2.4, 2.6 and 2.7 and tags for all releases till date.

    • Check out any trunk/branch/tag/module from here if you are a commiter: https://svn.jboss.org/repos/portal/ here if you are not (yet): http://anonsvn.jboss.org/repos/portal/

    • Have a look at the directories created. All third party libraries are created within /thirdparty

    • In a console, got to "build" directory and do "build.bat" or "sh build.sh"  (or "ant" if you have ant already installed in your environment), it should fetch third party libraries from the Web then compile JBoss Portal.

    • It should be error free now.

     

    See Also:

     

    Building JBoss Portal 2.6.4

     

    Any trouble ? Post in the __user__ forum.

     

    Referenced by: