Author: saminda
Date: Thu Jun 1 04:00:06 2006
New Revision: 410832
URL: http://svn.apache.org/viewvc?rev=410832&view=rev
Log:
including NOTICE.txt and LICENCE.txt to Synapse-Incubating-M2.jar
Modified:
incubator/synapse/branches/M2/maven.xml
Modified: incubator/synapse/branches/M2/maven.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/branches/M2/maven.xml?rev=410832&r1=410831&r2=410832&view=diff
==============================================================================
--- incubator/synapse/branches/M2/maven.xml (original)
+++ incubator/synapse/branches/M2/maven.xml Thu Jun 1 04:00:06 2006
@@ -296,6 +296,11 @@
<ant:echo>+----------------------------------------</ant:echo>
<ant:delete dir="target"/>
<ant:delete dir="etc/target"/>
+ <ant:echo>+----------------------------------------</ant:echo>
+ <ant:echo>| Cleaning: logs</ant:echo>
+ <ant:echo>+----------------------------------------</ant:echo>
+ <ant:delete file="modules/extensions/synapse.log"/>
+ <ant:delete file="modules/core/synapse.log"/>
</goal>
<goal name="clean">
@@ -342,6 +347,23 @@
<ant:mkdir dir="target/temp/"/>
+ <ant:mkdir dir="target/temp1/"/>
+ <ant:mkdir dir="target/temp1/META-INF/"/>
+ <ant:copy todir="target/temp1/META-INF/">
+ <ant:fileset file="NOTICE.txt"/>
+ <ant:fileset file="LICENSE.txt"/>
+ </ant:copy>
+ <ant:copy todir="target/temp1/">
+ <ant:fileset dir="modules/core/target/classes">
+ <ant:include name="**"/>
+ </ant:fileset>
+ </ant:copy>
+ <ant:zip file="target/${dist.name}.jar"
+ basedir="target/temp1"/>
+
+ <ant:copy file="target/${dist.name}.jar"
+ tofile="target/lib/${dist.name}.jar"/>
+
<ant:copy todir="${bin.dist.dir}/xdocs">
<ant:fileset dir="xdocs">
<ant:include name="**"/>
@@ -390,6 +412,7 @@
basedir="target/temp"/>
<ant:delete dir="target/temp"/>
+ <ant:delete dir="target/temp1"/>
<ant:delete dir="target/dist-bin"/>
</goal>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]