jManage Build Guide
Authors: Rakesh Kalra (rkalra@jmanage.org) , Shashank Bellary (sbellary@jmanage.org)
Preparing
- jManage requires JDK 1.4+ to build and run. You can download JDK
here.
- Maven 1.0.2 is used to build jManage. You can download Maven
here.
- Get the jManage source code from cvs.sourceforge.net. The "jmanage" module in CVS
is the root of the source code.
- Windows developer can setup WinCVS as described in this
document.
<jmanage-home> in this document refers to
c:\cvsroot\jmanage, where c:\cvsroot is you CVS root.
Building
- Make sure that JAVA_HOME environment variable is pointing to JDK 1.4 dir.
- Make sure that Maven 1.0.2 "bin" directory is in the PATH.
- Run "maven build" from <jmanage-home> directory to build the jManage platform.
- Please note that building weblogic module requires weblogic.jar to be copied to "modules/weblogic/lib" folder.
- To compile all modules (e.g. weblogic, jboss, etc.) run "maven build-all-modules".
- You can also build individual modules:
maven build-module -Dmodule.name=jboss
maven build-module -Dmodule.name=jsr160
maven build-module -Dmodule.name=weblogic
maven build-module -Dmodule.name=websphere
maven build-module -Dmodule.name=snmp
Running
- Execute startup.cmd script from <jmanage-home>. Enter "123456" as the password.
jManage runs on port 9090 by default.
- Go to the URL http://localhost:9090. Use "admin" as the username
and "123456" as the password.
Maven Goals
clean | Cleans the build directory. |
build-all | Builds everything. |
build-all-modules | Builds all the modules. |
build-module | Builds single module. You need to pass -Dmodule.name from the command line. |
build-module | Builds single module. You need to pass -Dmodule.name from the command line. |
build-webui | Builds the webui component. |
dist | Creates distribution jars. You need to pass -Djmanage.version from the command line. |