Search on this blog

Search on this blog

View Categories

13.5 Deployment

2 min read



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

Deploy edu.harvard.i2b2.im #

The following steps will walk you through the deployment process. The commands on a Windows Server may differ slightly on a Linux Machine and 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.im.


Change Directory Command

    CD YOUR_I2B2_SRC_DIRi2b2edu.harvard.i2b2.im



Important

The change directory command shown above is written for Windows. The command itself is the same for both Linux and Windows with the only exceptions being the slashes in the path name and Linux does not include the “drive”.

  • Linux Path: use a forward slash.
  • Windows Path: use a backward slash.




EXAMPLES:

Linux Command:  CD /opt/i2b2/edu.harvard.i2b2.im
Windows Command:  CD C:opti2b2edu.harvard.i2b2.im



Step 2: Deploy edu.harvard.i2b2.im #



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


Select the command line that is appropriate for your environment.


Linux Run Command
ant -f master_build.xml clean build-all deploy




Windows Run Command
%ANT_HOME%binant.bat -f master_build.xml clean build-all deploy




Note

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.im has been deployed.