synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r359421 - in /incubator/synapse/trunk/java: maven.xml project.properties project.xml
Date Wed, 28 Dec 2005 06:46:45 GMT
Author: saminda
Date: Tue Dec 27 22:46:37 2005
New Revision: 359421

URL: http://svn.apache.org/viewcvs?rev=359421&view=rev
Log:
Axis2 has a new dependency for ws-policy. Added that dependency to 
project.xml of Synapse. 

First step towards giving "samples" in binary distribution 

Modified:
    incubator/synapse/trunk/java/maven.xml
    incubator/synapse/trunk/java/project.properties
    incubator/synapse/trunk/java/project.xml

Modified: incubator/synapse/trunk/java/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/maven.xml?rev=359421&r1=359420&r2=359421&view=diff
==============================================================================
--- incubator/synapse/trunk/java/maven.xml (original)
+++ incubator/synapse/trunk/java/maven.xml Tue Dec 27 22:46:37 2005
@@ -9,6 +9,7 @@
 
     <j:set var="dist.name" value="${pom.artifactId}-${pom.currentVersion}"/>
     <j:set var="dist.dir" value="target/dist"/>
+    <j:set var="samples.dir" value="target/samples"/>
 
     <goal name="setclasspath">
         <path id="test.classpath">
@@ -196,6 +197,22 @@
 
 
     </postGoal>
+
+    <goal name="samples_userguide">
+        <mkdir dir="target/samples"/>
+        <mkdir dir="${samples.dir}/userguide"/>
+        <mkdir dir="${samples.dir}/userguide/src"/>
+        <ant:copy todir="${samples.dir}/userguide/src">
+            <ant:fileset dir="src">
+                <ant:include name="samples/**"/>
+            </ant:fileset>
+        </ant:copy>
+        <jar destfile="${samples.dir}/userguide/sample_userguide.jar">
+            <fileset dir="target/classes">
+                <include name="samples/**"/>
+            </fileset>
+        </jar>
+    </goal>
     <!-- ================================================================ -->
     <!--- Reports -->
     <!-- ================================================================ -->
@@ -227,7 +244,7 @@
     <!--- dist-bin -->
     <!-- ================================================================ -->
 
-    <goal name="dist-bin" prereqs="war">
+    <goal name="dist-bin" prereqs="war,samples_userguide">
         <property name="bin.dist.dir"
                   value="target/dist-bin/${pom.artifactId}-${pom.currentVersion}-bin"/>
         <ant:mkdir dir="${bin.dist.dir}"/>
@@ -236,6 +253,7 @@
         <ant:mkdir dir="${bin.dist.dir}/bin"/>
         <ant:mkdir dir="${bin.dist.dir}/lib"/>
         <ant:mkdir dir="${bin.dist.dir}/synapse_repository"/>
+        <ant:mkdir dir="${bin.dist.dir}/samples"/>
 
 
         <ant:copy todir="${bin.dist.dir}/docs">
@@ -265,6 +283,12 @@
 
         <ant:copy todir="${bin.dist.dir}/synapse_repository">
             <ant:fileset dir="target/synapse-repository/">
+                <include name="**"/>
+            </ant:fileset>
+        </ant:copy>
+
+        <ant:copy todir="${bin.dist.dir}/samples">
+            <ant:fileset dir="target/samples/">
                 <include name="**"/>
             </ant:fileset>
         </ant:copy>

Modified: incubator/synapse/trunk/java/project.properties
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/project.properties?rev=359421&r1=359420&r2=359421&view=diff
==============================================================================
--- incubator/synapse/trunk/java/project.properties (original)
+++ incubator/synapse/trunk/java/project.properties Tue Dec 27 22:46:37 2005
@@ -63,5 +63,5 @@
 xmlsec.version=1.2.1
 xmlunit.version=1.0
 annogen.version=0.1.0
-
+ws_policy.version=SNAPSHOT
 

Modified: incubator/synapse/trunk/java/project.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/project.xml?rev=359421&r1=359420&r2=359421&view=diff
==============================================================================
--- incubator/synapse/trunk/java/project.xml (original)
+++ incubator/synapse/trunk/java/project.xml Tue Dec 27 22:46:37 2005
@@ -278,6 +278,14 @@
             <artifactId>XmlSchema</artifactId>
             <version>${XmlSchema.version}</version>
         </dependency>
+        <dependency>
+            <groupId>ws-commons</groupId>
+            <artifactId>ws-policy</artifactId>
+            <version>${ws_policy.version}</version>
+            <properties>
+                <module>false</module>
+            </properties>
+        </dependency>
     </dependencies>
 
     <!-- ================================= -->



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


Mime
View raw message