okay, so I'm not a total moron ... it was just my ridiculously muddled CLASSPATH that was to blame (along with the Flex SDK, maybe)
This commit is contained in:
parent
3a28a04902
commit
cb33e95089
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.class
|
28
build.xml
28
build.xml
@ -1,21 +1,21 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<project name="LearningJava" default="compile">
|
<project name="LearningJava" default="build">
|
||||||
|
|
||||||
<target name="clean" description="remove intermediate files">
|
<target name="clean" description="remove intermediate files">
|
||||||
<delete>
|
<delete>
|
||||||
<fileset dir="obj" includes="**/*.class" />
|
<fileset dir="obj" includes="**/*.class"/>
|
||||||
</delete>
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build" description="compile Java sources">
|
<target name="build" description="compile Java sources">
|
||||||
<javac srcdir="src" destdir="obj" />
|
<javac srcdir="src" destdir="obj" includeantruntime="yes"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="jar" depends="build"
|
<target name="jar" depends="build"
|
||||||
description="create Jar from compiled sources">
|
description="create Jar from compiled sources">
|
||||||
<jar destfile="dist/learning-java.jar">
|
<jar destfile="dist/learning-java.jar">
|
||||||
<fileset dir="obj" includes="**/*.class" />
|
<fileset dir="obj" includes="**/*.class"/>
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user