/[projects]/miscJava/minecraft-plugins/economyplugin/build.xml
ViewVC logotype

Annotation of /miscJava/minecraft-plugins/economyplugin/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1171 - (hide annotations) (download) (as text)
Mon Oct 18 21:55:20 2010 UTC (13 years, 7 months ago) by torben
File MIME type: text/xml
File size: 869 byte(s)
check user's access to commands before executing
1 torben 1166 <project name="Economy" default="deploy">
2    
3     <property name="builddir" value="antbuild" />
4     <property name="jarfile" value="${ant.project.name}.jar" />
5    
6     <path id="path.base">
7     <fileset dir="./">
8     <include name="*.jar" />
9     </fileset>
10     </path>
11    
12     <target name="clean">
13     <delete file="${jarfile}" />
14     <delete dir="${builddir}" />
15     </target>
16    
17     <target name="init">
18     <mkdir dir="${builddir}" />
19     </target>
20    
21     <target name="compile" depends="init">
22     <javac srcdir="src/" destdir="${builddir}" debug="on" optimize="on" includeantruntime="false" deprecation="on">
23     <classpath refid="path.base" />
24     </javac>
25     </target>
26    
27    
28     <target name="jar" depends="compile">
29     <jar destfile="${jarfile}" basedir="${builddir}" />
30     </target>
31    
32     <target name="deploy" depends="jar">
33 torben 1171 <copy file="${jarfile}" todir="/home/torben/minecraft_server/bin/plugins" />
34 torben 1166 </target>
35    
36     </project>

  ViewVC Help
Powered by ViewVC 1.1.20