<property name="sourceDir" value="src" />
<property name="outputDir" value="classes" />
<property name="packageDir" value="packages" />
+ <property name="vamsasClient.jar" value="vamsas-client.jar" />
<property name="vamsas.schema" value="schemas/vamsas.xsd" />
<property name="vamsas.doc.schema" value="schemas/vamsasDocument.xsd" />
<property name="vamsas.schema.package" value="org.vamsas.objects.core" />
<target name="build" depends="init, prepare">
<!-- not efficient yet. : use excludes="*/localtest/*.java" if local tests are not building -->
- <javac classpathref="build.classpath" debug="on" srcdir="${sourceDir}" destdir="${outputDir}" />
+ <javac classpathref="build.classpath" debug="on" srcdir="${sourceDir}" destdir="${outputDir}" deprecation="on" >
+ <exclude name="uk/ac/ebi/msd/vamsas/**"/>
+ </javac>
+ </target>
+ <target name="jar" depends="build">
+ <jar destfile="${packageDir}/${vamsasClient.jar}">
+ <fileset dir="${outputDir}">
+ <exclude name="cache*/**"/>
+ <include name="**/*" />
+ <exclude name="*.jar.*" />
+ <exclude name="**/*.jar" />
+ <exclude name="**/*.jar.*" />
+ </fileset>
+ </jar>
</target>
-
</project>