incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r791481 - /incubator/ace/trunk/liq/build.xml
Date Mon, 06 Jul 2009 13:42:20 GMT
Author: marrs
Date: Mon Jul  6 13:42:20 2009
New Revision: 791481

URL: http://svn.apache.org/viewvc?rev=791481&view=rev
Log:
ACE-24 Updated the build file to use the new webui project.

Modified:
    incubator/ace/trunk/liq/build.xml

Modified: incubator/ace/trunk/liq/build.xml
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/liq/build.xml?rev=791481&r1=791480&r2=791481&view=diff
==============================================================================
--- incubator/ace/trunk/liq/build.xml (original)
+++ incubator/ace/trunk/liq/build.xml Mon Jul  6 13:42:20 2009
@@ -154,6 +154,8 @@
         <delete dir="../server/classes" />
         <delete dir="../test/classes" />
         <delete dir="../liq/classes" />
+        <delete dir="../webui/webui.war" />
+    	<subant buildpath="../webui" target="clean"/>
         <delete>
             <fileset dir="." includes="*.build" />
         </delete>
@@ -168,7 +170,7 @@
             </classpath>
             <jvmarg line="-Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter"/>
             <jvmarg line="-Dfailonerror.property=true" />
-            <arg line="build-liq build-server build-gateway build-test"/>
+            <arg line="build-liq build-server build-gateway build-webui build-test"/>
         </java>
     </target>
 
@@ -222,6 +224,20 @@
         <antcall target="package-test" />
         <touch file="last.test.build" />
     </target>
+    
+    <target name="build-webui">
+        <uptodate property="webui.uptodate" value="true" targetfile="last.webui.build">
+            <srcfiles dir="../webui/src" includes="**/*.java"/>
+        </uptodate>
+        <if>
+            <equals arg1="${webui.uptodate}" arg2="true"/>
+            <else>
+                <subant buildpath="../webui" antfile="build.xml" target="war"/>
+            </else>
+        </if>
+        <antcall target="package-webui" />
+        <touch file="last.webui.build" />
+    </target>
 
     <target name="package-liq" unless="liq.uptodate">
         <project-bundle 
@@ -502,6 +518,11 @@
             </manifest>
         </jar>
     </target>
+    
+    <target name="package-webui" unless="webui.uptodate">
+    	<!-- TODO put this in a usable bundle -->
+        <copy file="../webui/webui.war" todir="deploy"/>
+    </target>
 
     <target name="package-test" unless="test.uptodate">
         <test-bundle 



Mime
View raw message