mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-11-05 14:04:35 +00:00
39 lines
2.1 KiB
XML
39 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project name="PackPartitions" default="default" basedir=".">
|
|
<description>Builds the PackPartitions tool.</description>
|
|
<import file="nbproject/build-impl.xml"/>
|
|
<!-- override javasdoc target, since we have no Java sources -->
|
|
<target depends="init" description="Don't build Javadoc." name="javadoc"/>
|
|
<!-- use local groovy jar instead of NetBeans' version -->
|
|
<property name="libs.groovy-all.classpath" value="./lib/groovy-4.0.1.jar:./lib/groovy-ant-4.0.1.jar:./lib/groovy-xml-4.0.1.jar:./lib/groovy-json-4.0.1.jar"/>
|
|
<!-- after building the 'thin' jar, make a 'thick' one incorporating all dependencies -->
|
|
<target name="-post-jar">
|
|
<echo message="Packaging ${application.title} into a single JAR at ${dist.jar}"/>
|
|
<move file="${dist.jar}" tofile="dist/${application.title}-thin.jar"/>
|
|
<jar jarfile="${dist.jar}">
|
|
<zipfileset src="../PLASMA/src/plasm.jar"/>
|
|
<zipfileset src="../ACME/src/acme.jar"/>
|
|
<zipfileset src="../A2Copy/dist/A2Copy.jar"/>
|
|
<zipfileset src="../A2Copy/lib/ac.jar"/>
|
|
<zipfileset src="./lib/groovy-4.0.1.jar"/>
|
|
<zipfileset src="./lib/groovy-xml-4.0.1.jar"/>
|
|
<zipfileset src="./lib/groovy-json-4.0.1.jar"/>
|
|
<zipfileset src="dist/${application.title}-thin.jar" />
|
|
<manifest>
|
|
<attribute name="Main-Class" value="org.badvision.A2PackPartitions"/>
|
|
</manifest>
|
|
<fileset dir="../..">
|
|
<include name="virtual/src/**/*.pla"/>
|
|
<include name="virtual/src/**/*.plh"/>
|
|
<include name="virtual/src/**/*.s"/>
|
|
<include name="virtual/src/**/*.i"/>
|
|
<include name="virtual/src/**/*.ct"/>
|
|
<include name="virtual/data/disks/*.gz"/>
|
|
<include name="tools/PLASMA/src/PLVM02#4000"/>
|
|
<include name="tools/ProRWTS/PRORWTS2#4000"/>
|
|
<include name="tools/ProRWTS/PROBOOT#800"/>
|
|
</fileset>
|
|
</jar>
|
|
</target>
|
|
</project>
|