You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by th...@apache.org on 2006/10/19 05:54:48 UTC
svn commit: r465464 - in
/webservices/axis2/branches/java/1_1/modules/webapp/scripts: ./ build.xml
Author: thilina
Date: Wed Oct 18 20:54:47 2006
New Revision: 465464
URL: http://svn.apache.org/viewvc?view=rev&rev=465464
Log:
Script for the std-bin to create the war
Added:
webservices/axis2/branches/java/1_1/modules/webapp/scripts/
webservices/axis2/branches/java/1_1/modules/webapp/scripts/build.xml
Added: webservices/axis2/branches/java/1_1/modules/webapp/scripts/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/webapp/scripts/build.xml?view=auto&rev=465464
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/webapp/scripts/build.xml (added)
+++ webservices/axis2/branches/java/1_1/modules/webapp/scripts/build.xml Wed Oct 18 20:54:47 2006
@@ -0,0 +1,40 @@
+<project basedir="../" default="create.war">
+ <property name="dist" value="dist" />
+ <property name="temp" value="${dist}/temp" />
+
+ <target name="init">
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${temp}"/>
+ <copy toDir="${temp}">
+ <fileset dir="webapp">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ </target>
+ <target depends="init" name="prepare.repo">
+ <copy toDir="${temp}/WEB-INF">
+ <fileset dir="repository">
+ <include name="**/**"/>
+ </fileset>
+ </copy>
+ <!--TODO : *.list-->
+ <mkdir dir="${temp}/WEB-INF/conf"/>
+ <copy file="conf/axis2.xml" toDir="${temp}/WEB-INF/conf"/>
+ </target>
+ <target depends="init,prepare.repo" name="create.war">
+ <war destfile="dist/axis2.war"
+ webxml="${temp}/WEB-INF/web.xml">
+ <lib dir="lib">
+ <include name="**" />
+ <exclude name="**servlet**"/>
+ <exclude name="ant*.jar" />
+ </lib>
+ <webinf dir="${temp}/WEB-INF" />
+ <fileset dir="${temp}">
+ <include name="**/axis2-web/**" />
+ </fileset>
+ </war>
+ <delete dir="${temp}"/>
+ </target>
+</project>
+
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org