mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-25 03:55:30 +01:00
Remove all ant build files
This commit is contained in:
parent
d042ff8b3b
commit
b499d6c22e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
/bin
|
/bin
|
||||||
/build
|
|
||||||
/target
|
/target
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
|
38
build.xml
38
build.xml
@ -1,38 +0,0 @@
|
|||||||
<project name="Citizens" default="dist" basedir=".">
|
|
||||||
<description>
|
|
||||||
Build file used for testing purposes
|
|
||||||
</description>
|
|
||||||
<!-- set global properties for this build -->
|
|
||||||
<property name="src" location="src" />
|
|
||||||
<property name="build" location="build" />
|
|
||||||
<property name="lib" location="lib" />
|
|
||||||
<target name="init">
|
|
||||||
<!-- Create neccesary folders -->
|
|
||||||
<mkdir dir="${build}" />
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- Compile the code -->
|
|
||||||
<target name="dist" depends="init" description="compile the source">
|
|
||||||
<javac srcdir="${src}" destdir="${build}" debug="on" debuglevel="lines,vars,source" includeantruntime="false" encoding="Cp1252">
|
|
||||||
<classpath>
|
|
||||||
<pathelement path="${lib}" />
|
|
||||||
<pathelement location="${lib}/bukkit-1.2.3-R0.2-SNAPSHOT.jar" />
|
|
||||||
<pathelement location="${lib}/CitizensAPI.jar" />
|
|
||||||
<pathelement location="${lib}/craftbukkit-1.2.3-R0.2-SNAPSHOT.jar" />
|
|
||||||
</classpath>
|
|
||||||
</javac>
|
|
||||||
<antcall target="distcore" />
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- Generate the jars -->
|
|
||||||
<target name="distcore" description="generate the distribution">
|
|
||||||
<jar jarfile="Citizens.jar" basedir="${build}" encoding="Cp1252">
|
|
||||||
<zipfileset dir="." includes="*.yml" />
|
|
||||||
</jar>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="clean" description="clean up">
|
|
||||||
<!-- Delete the ${build} directory trees -->
|
|
||||||
<delete dir="${build}" />
|
|
||||||
</target>
|
|
||||||
</project>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user