You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by sa...@apache.org on 2006/02/17 06:11:53 UTC

svn commit: r378432 - in /incubator/synapse/trunk/java: modules/mediators/ modules/mediators/scripts/deprecation_mediator/ modules/mediators/scripts/sla_mediator/ modules/mediators/src/org/ modules/mediators/src/org/apache/ modules/mediators/src/org/ap...

Author: saminda
Date: Thu Feb 16 21:11:49 2006
New Revision: 378432

URL: http://svn.apache.org/viewcvs?rev=378432&view=rev
Log:
changing mediators and samples. compilation will change due package structure is not done!

Added:
    incubator/synapse/trunk/java/modules/mediators/project.properties
    incubator/synapse/trunk/java/modules/mediators/scripts/deprecation_mediator/
      - copied from r378279, incubator/synapse/trunk/java/scripts/samples/deprecation_mediator/
    incubator/synapse/trunk/java/modules/mediators/scripts/sla_mediator/
      - copied from r378279, incubator/synapse/trunk/java/scripts/samples/sla_mediator/
    incubator/synapse/trunk/java/modules/mediators/src/org/
    incubator/synapse/trunk/java/modules/mediators/src/org/apache/
    incubator/synapse/trunk/java/modules/mediators/src/org/apache/synapse/
    incubator/synapse/trunk/java/modules/mediators/src/org/apache/synapse/mediators/
    incubator/synapse/trunk/java/modules/mediators/src/org/apache/synapse/mediators/deprecation/
      - copied from r378279, incubator/synapse/trunk/java/src/sampleMediators/deprecation/
    incubator/synapse/trunk/java/modules/mediators/src/org/apache/synapse/mediators/sla/
      - copied from r378279, incubator/synapse/trunk/java/src/sampleMediators/sla/
    incubator/synapse/trunk/java/modules/samples/maven.xml
    incubator/synapse/trunk/java/modules/samples/project.properties
    incubator/synapse/trunk/java/modules/samples/project.xml
    incubator/synapse/trunk/java/modules/samples/scripts/
    incubator/synapse/trunk/java/modules/samples/scripts/userguide/
      - copied from r378279, incubator/synapse/trunk/java/scripts/userguide/
    incubator/synapse/trunk/java/modules/samples/src/
Removed:
    incubator/synapse/trunk/java/scripts/samples/deprecation_mediator/
    incubator/synapse/trunk/java/scripts/samples/sla_mediator/
    incubator/synapse/trunk/java/scripts/userguide/
    incubator/synapse/trunk/java/src/sampleMediators/deprecation/
    incubator/synapse/trunk/java/src/sampleMediators/sla/

Added: incubator/synapse/trunk/java/modules/mediators/project.properties
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/mediators/project.properties?rev=378432&view=auto
==============================================================================
--- incubator/synapse/trunk/java/modules/mediators/project.properties (added)
+++ incubator/synapse/trunk/java/modules/mediators/project.properties Thu Feb 16 21:11:49 2006
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+
+maven.multiproject.type=jar

Added: incubator/synapse/trunk/java/modules/samples/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/samples/maven.xml?rev=378432&view=auto
==============================================================================
--- incubator/synapse/trunk/java/modules/samples/maven.xml (added)
+++ incubator/synapse/trunk/java/modules/samples/maven.xml Thu Feb 16 21:11:49 2006
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="jar"
+         xmlns:j="jelly:core"
+         xmlns:u="jelly:util"
+         xmlns:deploy="deploy"
+         xmlns:ant="jelly:ant"
+         xmlns:maven="jelly:maven"
+         xmlns:define="jelly:define">
+
+    <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"/>
+
+    <postGoal name="test:test">
+        <j:if test="${context.getVariable('maven.test.skip') != 'true'}">
+            <attainGoal name="toDistBin"/>
+        </j:if>
+    </postGoal>
+
+
+    <goal name="samples_userguide">
+
+        <mkdir dir="target/samples"/>
+        <mkdir dir="${samples.dir}/src"/>
+        <ant:copy todir="${samples.dir}/src">
+            <ant:fileset dir="src">
+                <ant:include name="samples/**"/>
+            </ant:fileset>
+        </ant:copy>
+
+    </goal>
+
+    <goal name="toDistBin" prereqs="samples_userguide">
+        <property name="bin.dist.dir"
+                  value="target/dist-bin"/>
+        <ant:mkdir dir="${bin.dist.dir}"/>
+        <ant:mkdir dir="${bin.dist.dir}/samples"/>
+
+        <ant:copy file="scripts/userguide/build.xml"
+                  tofile="${bin.dist.dir}/samples/build.xml"/>
+        <ant:copy file="scripts/userguide/README.txt"
+                  tofile="${bin.dist.dir}/samples/README.txt"/>
+
+        <ant:copy todir="${bin.dist.dir}/samples">
+            <ant:fileset dir="target/samples/">
+                <include name="**"/>
+            </ant:fileset>
+        </ant:copy>
+        <ant:delete dir="target/samples"/><ant:delete dir="target/samples"/>
+    </goal>
+</project>

Added: incubator/synapse/trunk/java/modules/samples/project.properties
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/samples/project.properties?rev=378432&view=auto
==============================================================================
--- incubator/synapse/trunk/java/modules/samples/project.properties (added)
+++ incubator/synapse/trunk/java/modules/samples/project.properties Thu Feb 16 21:11:49 2006
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+
+maven.multiproject.type=jar

Added: incubator/synapse/trunk/java/modules/samples/project.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/modules/samples/project.xml?rev=378432&view=auto
==============================================================================
--- incubator/synapse/trunk/java/modules/samples/project.xml (added)
+++ incubator/synapse/trunk/java/modules/samples/project.xml Thu Feb 16 21:11:49 2006
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+	
+    <pomVersion>3</pomVersion>
+    <extend>../../etc/project.xml</extend>
+
+    <!-- ============ -->
+    <!-- Dependencies -->
+    <!-- ============ -->
+    <name>Apache Synapse - Sample</name>
+    <id>synapse-sample</id>
+    <groupId>synapse</groupId>
+
+    <dependencies>
+        <dependency>
+            <groupId>synapse</groupId>
+            <artifactId>synapse-core</artifactId>
+            <version>${pom.currentVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>synapse</groupId>
+            <artifactId>synapse-mediators</artifactId>
+            <version>${pom.currentVersion}</version>
+        </dependency>
+        <!-- external JARs -->
+        <dependency>
+            <groupId>axis2</groupId>
+            <artifactId>axis2-core</artifactId>
+            <version>${axis2.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>${commons.logging.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-httpclient</groupId>
+            <artifactId>commons-httpclient</artifactId>
+            <version>${commons.httpclient.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>commons-discovery</groupId>
+            <artifactId>commons-discovery</artifactId>
+            <version>${commons.discovery.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>commons-codec</groupId>
+            <artifactId>commons-codec</artifactId>
+            <version>${commons.codec.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>${log4j.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>${stax.impl.groupid}</groupId>
+            <artifactId>${stax.impl.artifactid}</artifactId>
+            <version>${stax.impl.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>stax</groupId>
+            <artifactId>stax-api</artifactId>
+            <version>${stax.api.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>axis</groupId>
+            <artifactId>axis-wsdl4j</artifactId>
+            <version>${axis.wsdl4j.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-javamail</artifactId>
+            <version>${geronimo.spec.javamail.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-activation</artifactId>
+            <version>${geronimo.spec.activation.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-jms</artifactId>
+            <version>${geronimo.spec.jms.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <properties>
+                <classloader>root</classloader>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>jaxen</groupId>
+            <artifactId>jaxen</artifactId>
+            <version>${jaxen.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>xalan</groupId>
+            <artifactId>xalan</artifactId>
+            <version>2.6.0</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>annogen</groupId>
+            <artifactId>annogen</artifactId>
+            <version>${annogen.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>ws-commons</groupId>
+            <artifactId>XmlSchema</artifactId>
+            <version>${XmlSchema.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>ws-commons</groupId>
+            <artifactId>policy</artifactId>
+            <version>${policy.version}</version>
+            <properties>
+                <module>false</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>ws-commons</groupId>
+            <artifactId>axiom</artifactId>
+            <version>${axiom.version}</version>
+            <properties>
+                <module>false</module>
+            </properties>
+        </dependency>
+        <dependency>
+            <groupId>backport-util-concurrent</groupId>
+            <artifactId>backport-util-concurrent</artifactId>
+            <version>${backport_util_concurrent.version}</version>
+            <properties>
+                <module>true</module>
+            </properties>
+        </dependency>
+    </dependencies>    
+</project>
+



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