add all-in-one jar
This commit is contained in:
parent
a98e4d4cf1
commit
caa061955d
36
build.xml
36
build.xml
@ -70,4 +70,40 @@
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
-->
|
||||
<target name="package-for-store" depends="jar">
|
||||
|
||||
<!-- Change the value of this property to be the name of your JAR,
|
||||
minus the .jar extension. It should not have spaces.
|
||||
<property name="store.jar.name" value="CancerGrowthFat"/>
|
||||
-->
|
||||
<property name="store.jar.name" value="CancerGrowth"/>
|
||||
|
||||
|
||||
<!-- don't edit below this line -->
|
||||
|
||||
<property name="store.dir" value="store"/>
|
||||
<property name="store.jar" value="${store.dir}/${store.jar.name}.jar"/>
|
||||
|
||||
<echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/>
|
||||
|
||||
<delete dir="${store.dir}"/>
|
||||
<mkdir dir="${store.dir}"/>
|
||||
|
||||
<jar destfile="${store.dir}/temp_final.jar" filesetmanifest="skip">
|
||||
<zipgroupfileset dir="dist" includes="*.jar"/>
|
||||
<zipgroupfileset dir="dist/lib" includes="*.jar"/>
|
||||
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="${main.class}"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
|
||||
<zip destfile="${store.jar}">
|
||||
<zipfileset src="${store.dir}/temp_final.jar"
|
||||
excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/>
|
||||
</zip>
|
||||
|
||||
<delete file="${store.dir}/temp_final.jar"/>
|
||||
|
||||
</target>
|
||||
</project>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#Thu, 31 Jan 2019 16:46:59 -0600
|
||||
#Thu, 31 Jan 2019 17:09:46 -0600
|
||||
|
||||
|
||||
C\:\\Users\\cd109\\Desktop\\CancerGrowth=
|
||||
|
BIN
dist/CancerGrowth.jar
vendored
BIN
dist/CancerGrowth.jar
vendored
Binary file not shown.
@ -4,6 +4,7 @@
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group>
|
||||
<file>file:/C:/Users/cd109/Desktop/CancerGrowth/src/cancergrowth/Cell.java</file>
|
||||
<file>file:/C:/Users/cd109/Desktop/CancerGrowth/src/cancergrowth/CancerGrowth.java</file>
|
||||
<file>file:/C:/Users/cd109/Desktop/CancerGrowth/src/cancergrowth/CellPanel.java</file>
|
||||
</group>
|
||||
</open-files>
|
||||
|
BIN
store/CancerGrowth.jar
Normal file
BIN
store/CancerGrowth.jar
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user