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: 227971a)
raw | patch | inline | side by side (parent: 227971a)
author | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 24 Feb 2016 14:58:07 +0000 (15:58 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 24 Feb 2016 14:58:07 +0000 (15:58 +0100) |
build.xml | [new file with mode: 0644] | patch | blob |
diff --git a/build.xml b/build.xml
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,41 @@
+<project name="uup" default="compile-all">
+ <property name="java.source.version" value="1.7" />
+ <property name="java.target.version" value="1.7" />
+ <property name="java.bootstrap.classpath" location="${env.JAVA_HOME}/lib/rt.jar" />
+ <property name="temp.dir" value="temp" />
+
+
+ <target name="compile-single" depends="">
+ <basename property="src.dir" file="${src.dir.full}"/>
+ <echo message="${src.dir}"/>
+
+ <mkdir dir="${temp.dir}/${src.dir}"/>
+ <javac srcdir="${src.dir.full}"
+ destdir="${temp.dir}/${src.dir}"
+ source="${java.source.version}"
+ target="${java.target.version}"
+ classpath="${src.dir.full}"
+ bootclasspath="${java.bootstrap.classpath}"
+ includeAntRuntime="no"
+ failonerror="false"
+ includes="*.java">
+ <compilerarg value="-Xlint:unchecked"/>
+ </javac>
+
+ </target>
+
+ <target name="compile-all">
+ <taskdef resource="net/sf/antcontrib/antlib.xml" />
+ <mkdir dir="${temp.dir}" />
+ <foreach param="src.dir.full"
+ target="compile-single">
+ <path>
+ <dirset dir='kodovi' >
+ <type type="dir"/>
+ </dirset>
+ </path>
+ </foreach>
+
+ </target>
+
+</project>