2006/unicorn build-user.xml,1.2,1.3

Update of /sources/public/2006/unicorn
In directory hutz:/tmp/cvs-serv3070

Modified Files:
	build-user.xml 
Log Message:
with local config

Index: build-user.xml
===================================================================
RCS file: /sources/public/2006/unicorn/build-user.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- build-user.xml	29 Nov 2007 14:11:57 -0000	1.2
+++ build-user.xml	11 Feb 2008 09:02:33 -0000	1.3
@@ -6,14 +6,21 @@
     <echo message="Please run: $ ant -v -projecthelp"/>
 </target>
 
-<target name="remoteConfiguration" depends="build" description="Workspace configuration for remote">
+<target name="remoteConfiguration" description="Workspace configuration for remote">
 	<copy file="./org/w3c/unicorn/util/remote-unicorn.properties" tofile="./build/org/w3c/unicorn/util/unicorn.properties" overwrite="true"/>
 	<copy file="./remote_log4j.xml" tofile="./build/log4j.xml" overwrite="true"/>
 	<copy file="./org/w3c/unicorn/extensions.properties" tofile="./build/org/w3c/unicorn/extensions.properties" overwrite="true"/>
 	<copy file="./org/w3c/unicorn/output/specialFormaters.properties" tofile="./build/org/w3c/unicorn/output/specialFormaters.properties" overwrite="true"/>
 </target>
 
-<target name="war" depends="remoteConfiguration" description="Creates the webapp module">
+<target name="localConfiguration" >
+	<copy file="./org/w3c/unicorn/util/local-unicorn.properties" tofile="./build/org/w3c/unicorn/util/unicorn.properties" overwrite="true"/>
+	<copy file="./log4j.xml" tofile="./build/log4j.xml" overwrite="true"/>
+	<copy file="./org/w3c/unicorn/extensions.properties" tofile="./build/org/w3c/unicorn/extensions.properties" overwrite="true"/>
+	<copy file="./org/w3c/unicorn/output/specialFormaters.properties" tofile="./build/org/w3c/unicorn/output/specialFormaters.properties" overwrite="true"/>
+</target>
+
+<target name="make-war" depends="build" description="Creates the webapp module">
     <delete file="${war.file}"/>
     <war warfile="${war.file}" webxml="web.xml" basedir="." excludes="*,**">
         <classes dir="build">
@@ -38,10 +45,7 @@
     </war>
 </target>
 
-<target name="localConfiguration" depends="war">
-	<copy file="./org/w3c/unicorn/util/unicorn.properties" tofile="./build/org/w3c/unicorn/util/unicorn.properties" overwrite="true"/>
-</target>
-
+<target name="war" depends="remoteConfiguration,make-war,localConfiguration" />
 
 <target name="jar" depends="build" description="Creates the unicorn library">
 	<delete file="${jar.file}" />

Received on Monday, 11 February 2008 09:02:47 UTC