- <!-- Complile the webservices -->
- <javac srcdir="${basedir}/webservices" destdir="${classes}" target="1.6" source="1.6" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
- <compilerarg value="-Xlint:-unchecked" />
- <classpath refid="project.classpath" />
- </javac>
- </target>
-
- <target name="datamodel-jar" depends="compile" description="Pack data model classes">
- <echo>Jar file: Minimal WS client jar</echo>
- <delete file="${basedir}/${datamodel}">
- </delete>
- <jar jarfile="${basedir}/${datamodel}">
- <zipgroupfileset excludes="META-INF/*.SF" dir="${web.lib.path}" >
- <include name="${compbio-util}"/>
- <include name="${compbio-annotation}"/>
- </zipgroupfileset>
- <fileset dir="${basedir}/WEB-INF/classes/">
- <include name="compbio/data/sequence/*.class"/>
- <include name="compbio/metadata/*.class"/>
- </fileset>
- <manifest>
- <attribute name="Built-By" value="${author}" />
- <attribute name="Class-Path" value="." />
- <attribute name="Implementation-Title" value="Datamodel for ${product} " />
- <attribute name="Implementation-Vendor" value="${author}" />
- <attribute name="Implementation-URL" value="${project.url}" />
- </manifest>
- </jar>
- </target>
-
- <target name="minimal-proteocache-client-jar" depends="compile, datamodel-jar" description="Pack metadata, data model, WS interfaces, a simple ws client class">
- <echo>Jar file: Minimal WS client jar</echo>
- <delete file="${basedir}/${min-proteocache-client}"></delete>
- <jar jarfile="${basedir}/${min-proteocache-client}">
- <zipgroupfileset excludes="META-INF/*.SF" dir="" includes="${datamodel}" />
- <fileset dir="${basedir}/WEB-INF/classes/">
- <!-- This will include JAXWS artifacts. Alternatively they can be generated on the fly. -->
- <include name="compbio/data/msa/**"/>
- <include name="compbio/ws/client/**"/>
- </fileset>
- <zipgroupfileset excludes="META-INF/*" dir="" includes="WEB-INF/lib/log4j-1.2.15.jar" />
- <manifest>
- <attribute name="Built-By" value="${author}" />
- <attribute name="Main-Class" value="compbio.ws.client.Jws2Client" />
- <attribute name="Class-Path" value="." />
- <attribute name="Implementation-Title" value="Minimal ${product} Client" />
- <attribute name="Implementation-Vendor" value="${author}" />
- <attribute name="Implementation-URL" value="${project.url}" />
- </manifest>
- </jar>
- <delete file="${basedir}/${min-proteocache-client-nolog}"></delete>
- <jar jarfile="${basedir}/${min-proteocache-client-nolog}">
- <zipgroupfileset excludes="META-INF/*.SF" dir="" includes="${datamodel}" />
- <fileset dir="${basedir}/WEB-INF/classes/">
- <!-- This will include JAXWS artifacts. Alternatively they can be generated on the fly. -->
- <include name="compbio/data/msa/**"/>
- <include name="compbio/ws/client/**"/>
- </fileset>
- <manifest>
- <attribute name="Built-By" value="${author}" />
- <attribute name="Main-Class" value="compbio.ws.client.Jws2Client" />
- <attribute name="Class-Path" value="." />
- <attribute name="Implementation-Title" value="Minimal ${product} Client" />
- <attribute name="Implementation-Vendor" value="${author}" />
- <attribute name="Implementation-URL" value="${project.url}" />
- </manifest>
- </jar>