<project name="P4BlueJ" basedir="." default="main">
<property name="lib.dir" value="/usr/local/bin"/>
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="classes.dir" value="build/classes"/>
<property name="jar.dir" value="build/jar"/>
<property name="main-class" value="P4Bluej.Main"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</path>
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="${classes.dir}"/>
<javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/>
</target>
<target name="jar">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/P4BlueJ.jar" basedir="build/classes">
</jar>
</target>
<target name="run" depends="jar">
<java fork="true" classname="${main-class}">
<classpath>
<path refid="classpath"/>
<path location="${jar.dir}/${ant.project.name}.jar"/>
</classpath>
</java>
</target>
</project>
# |
Change |
User |
Description |
Committed |
|
#5
|
16748 |
jenbottom |
Submitting Main class again, along with build file revision |
|
|
#4
|
16746 |
jenbottom |
Trying out some build file changes |
|
|
#3
|
16745 |
jenbottom |
Making classes all part of P4Bluej package |
|
|
#2
|
16744 |
jenbottom |
Working on getting a successful jar file compiled |
|
|
#1
|
16743 |
jenbottom |
Hopefully getting code in the correct place now |
|
|