- <!-- <zipfileset excludes="META-INF/*.SF" src="jarfilename.jar"/> \r
- \r
- <target name="build-jar" description="Pack cluster and runners into a jar" depends="compile">\r
- <echo>Jar file: integration</echo>\r
- <delete file="${basedir}/.jar"></delete>\r
- <copy file="${basedir}/conf/" tofile="${classes}/log4j.properties" />\r
- <jar jarfile="${basedir}/.jar">\r
- <fileset dir="${basedir}/WEB-INF/classes/" includes="compbio/**" />\r
- <manifest>\r
- <attribute name="Built-By" value="Peter Troshin" />\r
- <attribute name="Main-Class" value="compbio.clust..JobStatus" />\r
- <attribute name="Class-Path" value=" . /gridware/sge/lib/drmaa.jar" />\r
- <attribute name="Implementation-Title" value="Cluster Submission Engine" />\r
- <attribute name="Implementation-Vendor" value="Peter Troshin" />\r
- <attribute name="Implementation-URL" value="xxx" />\r
- </manifest>\r
- </jar>\r
- </target>\r
- \r
- \r
- <target name="build-jar-local" description="Pack cluster and runners with dependencies" depends="compile">\r
- <echo>Jar file: integration</echo>\r
- <delete file="${basedir}/.jar"></delete>\r
- <jar jarfile="${basedir}/.jar">\r
- <zipgroupfileset excludes="META-INF/*.SF" dir="${lib.path}"></zipgroupfileset>\r
- <fileset dir="${basedir}/WEB-INF/classes/" includes="**" />\r
- <manifest>\r
- <attribute name="Built-By" value="Peter Troshin" />\r
- <attribute name="Main-Class" value="compbio..cluster.JobStatus" />\r
- <attribute name="Class-Path" value="." />\r
- <attribute name="Implementation-Title" value="Cluster Submission Engine" />\r
- <attribute name="Implementation-Vendor" value="Peter Troshin" />\r
- <attribute name="Implementation-URL" value="xxx" />\r
- </manifest>\r
- </jar>\r
- </target>\r
- \r
- -->\r
- \r
- <!--\r
- <target name="run-client-jar" description="EXAMPLE TASK ONLY">\r
- <java jar="${basedir}/resources/wsclient.jar" fork="true"\r
- failonerror="true" maxmemory="256m">\r
- <arg\r
- value="C:/Documents and Settings/pvt43/Desktop/Leeds Sequencing/Copy of Files to up load" />\r
- </java>\r
- </target>\r
- <target name="run-client-class" description="EXAMPLE TASK ONLY">\r
- <java classname="org.pimslims.ws.client.FileUploadClient" fork="true"\r
- failonerror="true" maxmemory="256m">\r
- <classpath refid="project.classpath" />\r
- <classpath refid="instrument.classpath" />\r
- </java>\r
- </target>\r
- -->\r
- \r