Skip to content

Commit

Permalink
changes/fixes for target jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddict committed Jan 24, 2025
1 parent f2d129d commit 194a380
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,18 +183,18 @@

<target name="jar" depends="revision">
<!-- select jar dependencies -->
<fileset id="jar.classpath" dir="${dir.lib}" includesfile="${dir.lib}/jar.includes" />
<!-- <fileset id="jar.classpath" dir="${dir.lib}" includesfile="${dir.lib}/jar.includes" /> -->

<!-- rebuild each dependency jar with zero compression and remove signatures -->
<!-- <taskdef resource="org/codehaus/groovy/antlib.xml" classpathref="lib.classpath" />
<groovy src="${dir.lib}/jar.groovy" /> -->

<path id="jar.classpath">
<fileset dir="${dir.dist}/lib">
<include name="*.jar" />
</fileset>
<!-- <fileset dir="${dir.dist}/lib" includes="**/*.jar" /> -->
<fileset dir="${dir.lib}" includes="**/*.jar" />
<pathelement path="${dir.build}"/>
</path>
<manifestclasspath property="jar.classpath" jarfile="${dir.dist}/lib/${package.name}.jar">
<manifestclasspath property="manifest.classpath" jarfile="${dir.dist}/lib/${package.name}.jar">
<classpath refid="jar.classpath" />
</manifestclasspath>

Expand Down Expand Up @@ -234,7 +234,7 @@
<fileset dir="${dir.build}" />
<manifest>
<attribute name="Main-Class" value="${main.class}" />
<attribute name="Class-Path" value="${jar.classpath}" />
<attribute name="Class-Path" value="${manifest.classpath}" />
<attribute name="Build-Date" value="${tstamp.date}" />
<attribute name="Build-Revision" value="${revision}" />
</manifest>
Expand Down

0 comments on commit 194a380

Please sign in to comment.