comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/opt/bbmap-39.01-1/build.xml @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 69:33d812a61356
1 <project name="bbtools" default="dist" basedir=".">
2 <description>
3 Brian Bushnell's tools!
4 </description>
5
6 <!-- genepool specific values; you can override these from the command line -->
7 <property name="jcompiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
8 <property name="mpijar" location="/usr/common/usg/hpc/openmpi/gnu4.6/sge/1.8.1/ib_2.1-1.0.0/lib/mpi.jar"/>
9
10 <!-- set global properties for this build -->
11 <property name="src" location="current"/>
12 <property name="build" location="build"/>
13 <property name="dist" location="dist"/>
14 <property name="resources" location="resources"/>
15
16 <path id="class.path">
17 <pathelement location="${mpijar}"/>
18 </path>
19
20 <target name="init">
21 <!-- Create the time stamp -->
22 <tstamp/>
23 <!-- Create the build directory structure used by compile -->
24 <mkdir dir="${build}"/>
25 </target>
26
27 <target name="compile" depends="init"
28 description="compile the source " >
29
30 <!-- Compile the java code from ${src} into ${build} -->
31 <javac srcdir="${src}" destdir="${build}" compiler="${jcompiler}" nowarn="true" includeantruntime="false" source="1.7" target="1.7" debug="true" debuglevel="lines,vars,source" >
32 <classpath refid="class.path" />
33 <exclude name="jgi/KmerNormalizeExact.java" />
34 </javac>
35 </target>
36
37 <target name="dist" depends="compile"
38 description="generate the distribution" >
39
40 <!-- Create the distribution directory -->
41 <mkdir dir="${dist}/lib"/>
42 <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
43 <jar jarfile="${dist}/lib/BBTools.jar">
44 <fileset dir="${build}"/>
45 <fileset dir="${resources}"/>
46 </jar>
47 </target>
48
49 <target name="clean"
50 description="clean up" >
51
52 <!-- Delete the ${build} and ${dist} directory trees -->
53 <delete dir="${build}"/>
54 <delete dir="${dist}"/>
55 </target>
56 </project>