First swipe at autogeneration of the classpath.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@33 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
3c605e95cb
commit
6a0a45950e
|
|
@ -52,10 +52,25 @@
|
||||||
<!-- Create the distribution directory -->
|
<!-- Create the distribution directory -->
|
||||||
<mkdir dir="${dist}"/>
|
<mkdir dir="${dist}"/>
|
||||||
|
|
||||||
|
<pathconvert property="jar.classpath" pathsep=" ">
|
||||||
|
<mapper>
|
||||||
|
<chainedmapper>
|
||||||
|
<flattenmapper />
|
||||||
|
</chainedmapper>
|
||||||
|
</mapper>
|
||||||
|
<path>
|
||||||
|
<fileset dir="${lib}">
|
||||||
|
<include name="**/*.jar" />
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
</pathconvert>
|
||||||
|
|
||||||
|
<echo message="libs.project = ${jar.classpath}" />
|
||||||
|
|
||||||
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
||||||
<jar jarfile="${dist}/AnalysisTK.jar" basedir="${build}">
|
<jar jarfile="${dist}/AnalysisTK.jar" basedir="${build}">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Class-Path" value="functionalj-1.0.jar picard-snapshot.jar sam-1.0.jar" />
|
<attribute name="Class-Path" value="${jar.classpath}" />
|
||||||
<attribute name="Main-Class" value="edu.mit.broad.sting.atk.AnalysisTK" />
|
<attribute name="Main-Class" value="edu.mit.broad.sting.atk.AnalysisTK" />
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue