Developers Getting Started With i2b2
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin



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.


Panel
borderColor#ccc
bgColor#ffffff
titleBGColor#DDD9C3
titleChange Directory Command
borderStylesolid
indent
Level1

CD YOUR_I2B2_SRC_DIR\edu.harvard.i2b2.pm



Excerpt Include
3.4.1 Working Directory
3.4.1 Working Directory
nopaneltrue



EXAMPLES:

indent
Level2

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

indent
Level2

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.


Excerpt

Select the command line that is appropriate for your environment.


Panel
borderColor#ccc
bgColor#ffffff
titleBGColor#DDD9C3
titleLinux Run Command
borderStylesolid
indent
Level1

ant -f master_build.xml clean build-all deploy



Panel
borderColor#ccc
bgColor#ffffff
titleBGColor#DDD9C3
titleWindows Run Command
borderStylesolid
indent
Level1

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



Info
titleNote

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.