Building VARS

Setting up for Development

Detailed instructions for building VARS are available in the Subversion repository at https://vars.svn.sourceforge.net/svnroot/vars/trunk/README. Be sure that you have the prerequisites listed in the README installed before attempting to build VARS.

Building VARS - the short course

Check out the source from version control using Subversion

svn co https://vars.svn.sourceforge.net/svnroot/vars/trunk vars
		  

More details on Subversion can be found here

Build using Maven

cd vars
mvn clean install -Denvironment=dev -Dmaven.test.skip=true		  
		  

Run the applications

  1. The VARS applications are packaged up as a zip file...go to it.
    cd vars/vars-deploy/vars-app/target
  2. Extract the zip file, vars-[VERSION]-standalone4dev.zip
  3. In the extracted bin directory, you'll need to do the following:
    1. On Macs, Linux or Unix execute
      chmod u+x *
    2. Start the database server using derbyStart(.bat)
    3. The first time you run VARS after a build you will need to run the Knowledgebase application in order to create an administrator account. Use knowledgebase(.bat) to start it.
    4. You can launch the annotation application using annotation(.bat) and the Query application using query(.bat)
    5. When you're done you can stop the database server using derbyStop(.bat)