Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathant.xml
More file actions
Latest commit
46 lines (38 loc) · 1.9 KB
/
Copy pathant.xml
File metadata and controls
46 lines (38 loc) · 1.9 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
<projectname="ItemControl"basedir="."default="jar">
<propertyname="src.dir"value="src"/>
<propertyname="build.dir"value="build"/>
<propertyname="classes.dir"value="${build.dir}/classes"/>
<propertyname="jar.dir"value="${build.dir}/jar"/>
<propertyname="framework.dir"value="../../Framework"/>
<propertyname="runsafe.dir"value="${framework.dir}/lastStable/archive/build/jar"/>
<propertyname="lib.dir"value="${framework.dir}/workspace/lib"/>
<propertyname="WorldGuardBridge.dir"value="../../WorldGuardBridge/lastStable/archive/build/jar"/>
<pathid="classpath">
<filesetdir="${runsafe.dir}"includes="framework.jar"/>
<filesetdir="${lib.dir}"includes="*.jar"/>
<filesetdir="${WorldGuardBridge.dir}"includes="*.jar"/>
</path>
<targetname="clean">
<deletedir="${build.dir}"/>
</target>
<targetname="injectVersion">
<copyfile="${src.dir}/plugin.yml"todir="${build.dir}"/>
<replaceregexpfile="${build.dir}/plugin.yml"match="@BUILD@"replace="${build.number}"/>
</target>
<targetname="compile"depends="clean">
<buildnumber/>
<mkdirdir="${classes.dir}"/>
<javacsrcdir="${src.dir}"destdir="${classes.dir}"classpathref="classpath"debug="true"debuglevel="lines,vars,source"deprecation="true"/>
</target>
<targetname="jar"depends="compile,injectVersion">
<mkdirdir="${jar.dir}"/>
<jardestfile="${jar.dir}/${ant.project.name}.jar"basedir="${classes.dir}">
<manifest>
<attributename="Class-Path"value="runsafe/framework.jar"/>
</manifest>
<filesetdir="${build.dir}"includes="plugin.yml"/>
<filesetdir="${src.dir}"includes="defaults.yml"/>
</jar>
</target>
<targetname="clean-build"depends="clean,jar"/>
</project>