eaobservatory / observing-tool

JCMT Observing Tool
1 stars 2 forks source link

JAC Observing Tool destructions.

If you are reading this you already have the code.

For the sake of completeness here are the full instructions.

  1. Ensure suitable versions of Java and Ant are available. On EAO systems with a recent Ant but bad Java, this might require: setenv JAVA_HOME /local/java/jdk1.8 setenv PATH $JAVA_HOME/bin:$PATH rehash

  2. Check out the code git clone https://github.com/eaobservatory/observing-tool.git jacot

  3. change to the code directory ... cd jacot

  4. Ant (ant.apache.org) is the preferred method of building ... ant

Building a Release Version

  1. In Hilo ... cd /jac_sw git clone git://github.com/eaobservatory/observing-tool.git otrelease

    where is replaced with the current date.

  2. Change to the code directory ... cd otrelease

  3. Checkout the release code ... git checkout -b release origin/release

  4. Ant (ant.apache.org) is the preferred method of building ... ant jar

  5. Copy the JAR file to the release directory ... cp jcmtot.jar /ftp/pub/ot/

  6. Update the OMP server's configuration file parameter "ot-cur-version" to match this version.

    Also update the "ot-min-version" parameter if older versions can no longer be used.