Developers Getting Started With i2b2
Space shortcuts
Space Tools
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


The deployment process at this stage of the installation will install the i2b2 server-common on the JBoss Web Server.

Deploy edu.harvard.i2b2.server-common

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


Note

During the configuration process the working directory was already changed to the edu.harvard.i2b2.server-common folder. If you did not change it then you can skip step 1 and go directly to the second step of deployment. If you did change it then you will need to change it back by following the steps outlined below.



Step 1: Change working directory

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


Change Directory Command
CD YOUR_I2B2_SRC_DIR\edu.harvard.i2b2.server-common



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.server-common
Windows Command:  CD C:\opt\i2b2\edu.harvard.i2b2.server-common



Step 2: Deploy edu.harvard.i2b2.server-common


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



Select the command line that is appropriate for your environment.


Linux Run Command
ant clean dist deploy jboss_pre_deployment_setup



Run Command
%ANT_HOME%\bin\ant.bat clean dist deploy jboss_pre_deployment_setup



Note

If the command %ANT_HOME% does 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.server-common has been deployed.




  • No labels