<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" />
- <property name="vamsas.schema.package.src" value="org/vamsas/objects/core" />
+ <property name="vamsas.schema.package" value="uk.ac.vamsas.objects.core" />
+ <property name="vamsas.schema.package.src" value="uk/ac/vamsas/objects/core" />
<property name="vamsas.schema.sourcegen.properties" value="schemas/castorbuilder.properties"/>
<path id="castor.classpath">
<fileset dir="tools">
<castor-srcgen file="${vamsas.schema}"
todir="${sourceDir}"
package="${vamsas.schema.package}"
- warnings="false"
+ warnings="true"
nodesc="false"
properties="${vamsas.schema.sourcegen.properties}"
/>
<castor-srcgen file="${vamsas.doc.schema}"
todir="${sourceDir}"
package="${vamsas.schema.package}"
- warnings="false"
+ warnings="true"
nodesc="false"
properties="${vamsas.schema.sourcegen.properties}"
/>
<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}" deprecation="on" >
+ <javac classpathref="build.classpath" debug="on" srcdir="${sourceDir}" destdir="${outputDir}" deprecation="on" source="1.4" target="1.4">
<exclude name="uk/ac/ebi/msd/vamsas/**"/>
</javac>
</target>
- <target name="jar" depends="build">
+ <target name="jar" depends="build, javadoc">
<jar destfile="${packageDir}/${vamsasClient.jar}">
<fileset dir="${outputDir}">
<exclude name="cache*/**"/>
<exclude name="*.jar.*" />
<exclude name="**/*.jar" />
<exclude name="**/*.jar.*" />
+ <exclude name="*.java"/>
+ <exclude name="**/*.java"/>
+ <exclude name="uk/**"/>
+ <exclude name="uk/*.class"/>
+ <exclude name="log4j.properties"/>
+ <exclude name="commons-logging.properties"/>
</fileset>
</jar>
</target>
<target name="javadoc" depends="init">
<javadoc destdir="docs/api" author="true" version="true" use="true">
<fileset dir="${sourceDir}" defaultexcludes="yes">
+ <exclude name="uk/**"/>
+ <exclude name="uk/*.java"/>
+ <exclude name=".castor.cdr"/>
</fileset>
</javadoc>
</target>