Diff of /decktool/trunk/build.xml [r4077] .. [r4078]  Maximize  Restore

Switch to side-by-side view

--- a/decktool/trunk/build.xml
+++ b/decktool/trunk/build.xml
@@ -1,3 +1,28 @@
 <project name="decktool" default="dist">
-	<import file="../common.build/common-webstart-targets.xml" />
-</project>
+	<target name="init">
+		<property file="conf/build.properties" />
+		
+		<property name="src"   location="src" />
+		<property name="build" location="build" />
+		<property name="dist"  location="dist" />
+	</target>
+		
+	<target name="compile" depends="init">
+		<mkdir dir="${build}" />
+
+		<javac srcdir="${src}"
+		       destdir="${build}"
+			   target="1.5"
+			   source="1.5">
+		</javac>
+	</target>
+	
+	<target name="dist" depends="init,compile">
+		<mkdir dir="${dist}" />
+		
+		<buildnumber file="conf/build.number" />
+		
+		<jar destfile="${dist}/decktool-${build.version}.b${build.number}.jar" 
+			 basedir="${build}" />
+	</target>
+</project>

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks