Repository navigation
Expand file tree
/
Copy pathbuild.xml
More file actions
62 lines (59 loc) · 2.54 KB
/
Copy pathbuild.xml
File metadata and controls
62 lines (59 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE xml>
<project default="create_run_jar" name="Create Runnable Jar for Project CacheASM">
<property name="dir.ws" value="${user.home}/eclipse-workspaces"/>
<property name="jarfile" value="${basedir}/zip/builder/buildJars/CacheASM.jar"/>
<property name="git" value="${dir.ws}/Git"/>
<property name="libs" value="${git}/libs"/>
<target name="create_run_jar">
<jar destfile="${jarfile}" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
<attribute name="Rsrc-Main-Class" value="kryptonbutterfly.asm.cache.DecoratorCache"/>
<attribute name="Class-Path" value="."/>
<attribute name="Rsrc-Class-Path" value="./ asm-9.2.jar asm-tree-9.2.jar"/>
<!-- <attribute name="Can-Redefine-Classes" value="true"/>
<attribute name="Can-Retransform-Classes" value="true"/>
<attribute name="Can-Set-Native-Method-Prefix" value="false"/> -->
</manifest>
<zipfileset dir="${libs}/CacheASM/deps" includes="asm-9.2.jar asm-tree-9.2.jar"/>
<zipfileset src="${libs}/CacheASM/deps/jar-in-jar-loader.zip"/>
<fileset dir="${libs}/CacheASM/bin"/>
<fileset dir="${libs}/Functional/target/classes" excludes="module-info.class"/>
<fileset dir="${libs}/Cache/target/classes" excludes="module-info.class"/>
<fileset dir="${libs}/Collections/target/classes" excludes="module-info.class"/>
<fileset dir="${libs}/mathUtils/target/classes" excludes="module-info.class"/>
<fileset dir="${libs}/Monads/target/classes" excludes="module-info.class"/>
<fileset dir="${libs}/Iterator/target/classes" excludes="module-info.class"/>
<fileset dir="${libs}/System/bin" excludes="module-info.class"/>
<fileset dir="${libs}/Concurrent/bin" excludes="module-info.class"/>
<fileset dir="${libs}/Bounded/target/classes" excludes="module-info.class"/>
</jar>
</target>
<property name="zipFile" value="${basedir}/build/CacheASM.zip"/>
<target name="package processor">
<exec executable="rm">
<arg value="-f"/>
<arg value="-I"/>
<arg value="${zipFile}"/>
</exec>
<exec dir="${basedir}/zip/" executable="zip">
<arg value="-q"/>
<arg value="-r"/>
<arg value="${zipFile}"/>
<arg value="."/>
<arg value="-i"/>
<arg value="*"/>
</exec>
</target>
<target name="deploy processor">
<exec executable="unzip">
<arg value="-qq"/>
<arg value="-u"/>
<arg value="-o"/>
<arg value="${zipFile}"/>
<arg value="-d"/>
<arg value="${eclipse.home}"/>
</exec>
</target>
</project>