|
Page Edited :
qpid :
Qpid Java Build How To
Qpid Java Build How To has been edited by Marnie McCormack (Dec 01, 2006). Content:Build Instructions - GeneralCheck out the sourceFirstly, check the source for Qpid java out of our subversion repository: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid/java PrerequisitesFor the broker code you need JDK 1.5 or later. The client code can be run using JDK 1.4. You'll also need to have ant installed locally (version tbc). Build Instructions - Trunk (M2+)Maven Build SystemThese details are currently being added Install Maven 2Firstly, you need to install Maven 2 from here You can find out how to set Maven up by following their quick guide Some of the relevant Maven targets (in Maven speak 'lifecycle targets') are as follows:
Build Qpid JavaTo compile & install Qpid, cd into the java directory of your checkout and then: mvn clean mvn install If you wish to build an archive of Qpid for installing somewhere then:
Then, in each module subdirectory there is:
Build targetsThe main build targets you are probably interested in are:
So, if you just want to compile everything you should run the build target in the top level build.xml file. If you want to build an installable version of Qpid java, run the archive task from the top level build.xml file. If you want to compile an individual module, simply run the build target from the appropriate build-module.xml e.g. to compile the broker source, simply run the build target in the java/broker/build-module.xml file. What next ?If you want to run your built Qpid package, see our Getting Started Guide for details of how to do that. If you want to run our tests, you can use the ant test or testreport (produces a useful report) targets. |
Unsubscribe or edit your notifications preferences
