<!-- project build configuration -->
<project name="Game Gardens Server" default="sign" basedir=".">

  <!-- load up our configuration information -->
  <property file="toybox.properties"/>

  <!-- signs the client jar files -->
  <target name="sign">
    <signjar lazy="true" alias="${sign.alias}" keystore="${sign.keystore}"
      storepass="${sign.storepass}">
      <fileset dir="lib" includes="*.jar"/>
    </signjar>
  </target>

  <!-- the default target is to install and sign the client -->
  <target name="all" depends="sign"/>
</project>

<!-- project build configuration -->
<project name="Game Gardens Server" default="sign" basedir=".">

  <!-- load up our configuration information -->
  <property file="toybox.properties"/>

  <!-- signs the client jar files -->
  <target name="sign">
    <!-- copy any updated jar files into the seclib directory -->
    <mkdir dir="seclib"/>
    <copy todir="seclib">
      <fileset dir="lib" includes="*.jar"/>
    </copy>

    <!-- now sign them -->
    <signjar lazy="true" alias="${sign.alias}" keystore="${sign.keystore}"
             storepass="${sign.storepass}">
      <fileset dir="seclib" includes="*.jar"/>
    </signjar>
  </target>

  <!-- the default target is to install and sign the client -->
  <target name="all" depends="sign"/>
</project>

Put our signed jar files in a different directory to avoid fiddling with the libraries we have checked in.
Put our signed jar files in a different directory to avoid fiddling with
the libraries we have checked in.

