The deployment process at this stage of the installation will install the i2b2 Project Management (PM) Cell on the JBoss Web Server.

Deploy edu.harvard.i2b2.pm

The following steps will walk you through the deployment process. The commands on a Windows Server may differ slightly on a Linux Machine. This difference will be noted when appropriate.


Step 1: Change working directory


The first step in the deployment process is to change your working directory to the location of your edu.harvard.i2b2.pm.


CD YOUR_I2B2_SRC_DIR\edu.harvard.i2b2.pm





EXAMPLES:

Linux Command:  CD /opt/i2b2/edu.harvard.i2b2.pm

Windows Command:  CD C:\opt\i2b2\edu.harvard.i2b2.pm



Step 2: Deploy edu.harvard.i2b2.pm


The second and final step in the deployment process is to run the Ant script to deploy edu.harvard.i2b2.server.pm.


Select the command line that is appropriate for your environment.


ant -f master_build.xml clean build-all deploy



%ANT_HOME%\bin\ant.bat -f master_build.xml clean build-all deploy



If the commands ant or %ANT_HOME% do not work it may be because you did not set your environment variables as suggested in the Requirements Chapter. If you do not wish to set this variable then you will need to replace %ANT_HOME% with the full path to your Ant directory.



Provided there were no problems running the script you will see Build Successful when the script finishes and the edu.harvard.i2b2.pm has been deployed.