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:53:40 UTC

svn commit: r465463 - /webservices/axis2/branches/java/1_1/maven.xml

Author: thilina
Date: Wed Oct 18 20:53:40 2006
New Revision: 465463

URL: http://svn.apache.org/viewvc?view=rev&rev=465463
Log:
Changing the dist-std-bin goal to dist-bin
Introducing the create war ant build

Modified:
    webservices/axis2/branches/java/1_1/maven.xml

Modified: webservices/axis2/branches/java/1_1/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/maven.xml?view=diff&rev=465463&r1=465462&r2=465463
==============================================================================
--- webservices/axis2/branches/java/1_1/maven.xml (original)
+++ webservices/axis2/branches/java/1_1/maven.xml Wed Oct 18 20:53:40 2006
@@ -25,18 +25,26 @@
      |
      | clean
      |    Deletes the 'target' directory in all projects
-
+     |
      | clean-repo
      |    Deletes the 'target' directory in all projects
      |
-     | war
-     |    Build the war
+     | dist-bin
+     |		Creates the main binary distribution
      |
-     | maven war-withsamples
-     |    build the war with the default samples
+     | dist-src
+     |		Creates the source distribution
      |
+     | dist-docs
+     |		Creates the docs distribution
+     | 
+     | dist-min-bin
+     |      Creates the minimal binary distribution
+     | 
      | release
-     |      Creates the complete release
+     |      Creates the complete release (dist-bin, dist-src, dist-docs, dist-min-bin)
+     | war
+     |    Build the war
    -->
 
 <project default="jar"
@@ -521,7 +529,7 @@
     <!--- Create the Release -->
     <!-- ================================================================ -->
     <goal name="release"
-          prereqs="jar,dist-min-bin,dist-std-bin,dist-src,dist-docs">
+          prereqs="jar,dist-min-bin,dist-bin,dist-src,dist-docs">
         <ant:echo>+----------------------------------------------</ant:echo>
         <ant:echo>| Creating: Axis2 Distributions</ant:echo>
         <ant:echo>+----------------------------------------------</ant:echo>
@@ -606,9 +614,9 @@
         <ant:delete dir="target/temp/min/bin"/>
     </goal>
 
-    <goal name="dist-std-bin" prereqs="jar,init-dist,cache-std-deps">
+    <goal name="dist-bin" prereqs="jar,init-dist,cache-std-deps">
         <ant:echo>+----------------------------------------------</ant:echo>
-        <ant:echo>| Creating: Axis2 Standard Binary Distribution</ant:echo>
+        <ant:echo>| Creating: Axis2 Main Binary Distribution</ant:echo>
         <ant:echo>+----------------------------------------------</ant:echo>
 
         <ant:property name="std.bin.temp.dir" value="target/temp/main/axis2-${pom.currentVersion}"/>
@@ -667,6 +675,11 @@
             <ant:fileset file="modules/webapp/conf/web.xml"/>
         </ant:copy>   
     	
+       	<!-- copy the build.xml into webapp directory -->
+        <ant:copy toDir="${std.bin.temp.dir}/webapp">
+            <ant:fileset file="modules/webapp/scripts/build.xml"/>
+        </ant:copy>   
+    	
     	<!-- copy *.properties to webapp/WEB-INF/classes directory -->
     	<ant:copy toDir="${std.bin.temp.dir}/webapp/WEB-INF/classes">
     		<ant:fileset dir="modules/kernel/conf">
@@ -681,6 +694,7 @@
                 <ant:exclude name="**/*.iml"/>
                 <ant:exclude name="**/.*"/>
                 <ant:exclude name="**/conf/**"/>
+            	<ant:exclude name="**/scripts/**"/>
             </ant:fileset>
         </ant:copy>
     	



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org