Acquiring
First you must acquire the project. This currently involved downloading several different packages. Via svn...
svn co http://aurora.regenstrief.org/svn/mw/trunk mw svn co http://aurora.regenstrief.org/svn/javasig/trunk javasig svn co http://aurora.regenstrief.org/svn/xwsf/trunk xwsf svn co http://aurora.regenstrief.org/svn/javasig/branches/encumbered encumbered
Note: access to the encumbered directory is currently limited. It might not be needed at all.
Building
Installing apache ant is not required, because it is included for running the application. To build, change your working directory to 'mw' and execute...
ant/bin/ant -Dedition.dir=../encumbered build
This should complete without error.
Load Data into the Database
At this point, you should be ready to load the database with sample data. This includes some sample patients, as well as various definitions for medications, indications, etc. Still in the 'mw' directory, execute...
ant/bin/ant -Dedition.dir=../encumbered standaloneReloaddb
This process can take between 10 and 20 minutes so be patient!
Running
Once that is completed, the application is ready to be run. You'll need to open a second terminal window for this process.
In the first window, make sure you are in the 'mw' directory and execute...
ant/bin/ant -Dedition.dir=../encumbered webServer
That command starts up the webServer, but does not ever "complete". That is, command is not returned to the terminal. When you finally get a line that looks like...
[java] 2008-05-27 12:48:26.995::INFO: Started SocketConnector@0.0.0.0:8080
it is safe to proceed to step 2.
In the second window, change your directory to xwsf/SWTClient. From there, it is sufficient to run...
<path_to_your_mw_directory>/ant/bin/ant run
