<property name="outputDir" value="classes" />
<property name="packageDir" value="packages" />
<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.sourcegen.properties" value="schemas/castorbuilder.properties"/>
<taskdef name="castor-srcgen"
classname="org.exolab.castor.tools.ant.taskdefs.CastorSourceGenTask"
classpathref="castor.classpath" />
- <castor-srcgen file="${vamsas.schema}"
+ <!-- Should apply this to every schema file in ${vamsas.schemas} directory -->
+ <castor-srcgen file="${vamsas.schema}"
todir="${sourceDir}"
package="${vamsas.schema.package}"
warnings="false"
nodesc="false"
properties="${vamsas.schema.sourcegen.properties}"
/>
+ <castor-srcgen file="${vamsas.doc.schema}"
+ todir="${sourceDir}"
+ package="${vamsas.schema.package}"
+ warnings="false"
+ nodesc="false"
+ properties="${vamsas.schema.sourcegen.properties}"
+ />
</target>
<target name="prepare" depends="init">
<mkdir dir="${packageDir}"/>