gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2127fb8)
raw | patch | inline | side by side (parent: 2127fb8)
author | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 25 Sep 2013 21:34:51 +0000 (23:34 +0200) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 25 Sep 2013 21:34:51 +0000 (23:34 +0200) |
build.xml | patch | blob | history |
diff --git a/build.xml b/build.xml
index 2ac74355bb2f33278af91ce1c70bc556df802918..c97de4092b4bde20bf12dbcc5a85c71070821c0b 100644 (file)
--- a/build.xml
+++ b/build.xml
<property name="mjc2wsl.src.dir" value="src" />
<property name="mjc2wsl.options" value="" />
- <property name="compiler.class.dir" value="compiler" />
+ <property name="compiler.class.dir" value="compiler-bin" />
<property name="compiler.src.dir" value="compiler" />
<target name="help">
</echo>
</target>
- <target name="build">
+ <target name="init">
+ <mkdir dir="${mjc2wsl.class.dir}"/>
+ <mkdir dir="${compiler.class.dir}"/>
+ </target>
+
+ <target name="build" depends="init">
<javac srcdir="${mjc2wsl.src.dir}" destdir="${mjc2wsl.class.dir}" includeAntRuntime='no' />
</target>
- <target name="mj-build">
+ <target name="mj-build" depends="init">
<javac srcdir="${compiler.src.dir}" destdir="${compiler.class.dir}" includeAntRuntime='no' />
</target>
<target name="all" depends='mj-samples,mjc2wsl-samples'>
</target>
+
+ <target name="clean" >
+ <delete includeemptydirs="true">
+ <fileset dir=".">
+ <include name="${mjc2wsl.class.dir}/*.class"/>
+ <include name="${compiler.class.dir}/*.class"/>
+ </fileset>
+ <dirset dir=".">
+ <include name="${mjc2wsl.class.dir}"/>
+ <include name="${compiler.class.dir}"/>
+ </dirset>
+ </delete>
+ </target>
</project>
\ No newline at end of file