Skip to content

Commit 8927531

Browse files
committed
Build self contained jar
1 parent a4deafe commit 8927531

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bin
2+
*.jar

build.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,16 @@
2525
</target>
2626

2727
<target name="jar" depends="compile">
28-
<manifestclasspath property="manifest_cp" jarfile="${jarfile}">
29-
<classpath>
30-
<fileset refid="libfiles"/>
31-
</classpath>
32-
</manifestclasspath>
3328
<jar destfile="${jarfile}">
3429
<fileset dir="${bin}"/>
3530
<fileset dir="${resources}"/>
3631
<manifest>
3732
<attribute name="Main-Class" value="org.helioviewer.jhv.DataSourcesChecker"/>
38-
<attribute name="Class-Path" value="${manifest_cp}"/>
33+
<attribute name="Class-Path" value="."/>
3934
<attribute name="version" value="1.0"/>
4035
<attribute name="revision" value="0"/>
4136
</manifest>
37+
<zipgroupfileset refid="libfiles"/>
4238
</jar>
4339
</target>
4440

0 commit comments

Comments
 (0)