Dashboard > PXE > Building PXE > View

Page Operations


Navigation


PXE Log In   View a printable version of the current page.
Building PXE
Added by Paul Brown, last edited by Maciej Szefler on Apr 27, 2006
Wouldn't you rather download...?
Unless you want to ride the bleeding edge, you can download up-to-date binaries and source for PXE.

The easiest (and only correct) way to build PXE is using Maven 2. First, ensure that your environment meets the system requirements (In short, JDK 5.0.). Next, make sure you have Maven 2 installed (you can download Maven 2 from here). Next, get the source code for PXE from the svn repository. Finally, from the directory you checked out pxe into, run:

mvn install

The build will deposit a working copy of the distribution your Maven 2 repository (typically $HOME/.m2/repository/pxe/standalone-distro/1.0-SNAPSHOT/standalone-distro-1.0-SNAPSHOT.tar.gz.

Source Code Layout

The source code for PXE is broken up into a set of Maven modules that correspond to the various intermediate artefacts that contribute to the distribution. Each module contains the following:

  • a Maven pom.xml file that describes the build process for that module.

The standalone-distro module is the "assembly" module that pulls all of the pieces together to create the distribution.

The Java sources for each module are found in two subdirectories:

  • src/main/java contains non-generated Java source code.
  • src/test/java contains JUnit test.

Generated artefacts are deposited by Maven into the Maven repository.

If you want to use an IDE to explore the PXE sources or debug PXE executables, Eclipse .project and .classpath files are present in all the modules; simply choose File|Import from the Eclipse menu, and select the root pxe directory. You may also use Maven to generate project files for other IDEs. See the Maven documentation for details.



Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators