Author: antelder
Date: Sat Nov 11 01:59:25 2006
New Revision: 473680
URL: http://svn.apache.org/viewvc?view=rev&rev=473680
Log:
Add license headers
Modified:
incubator/synapse/trunk/java/modules/core/maven.xml
incubator/synapse/trunk/java/modules/core/project.xml
incubator/synapse/trunk/java/modules/extensions/maven.xml
incubator/synapse/trunk/java/modules/extensions/project.xml
incubator/synapse/trunk/java/modules/nhttp/maven.xml
incubator/synapse/trunk/java/modules/nhttp/project.xml
incubator/synapse/trunk/java/modules/samples/maven.xml
incubator/synapse/trunk/java/modules/samples/project.xml
Modified: incubator/synapse/trunk/java/modules/core/maven.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/core/maven.xml?view=diff&rev=473680&r1=473679&r2=473680
==============================================================================
--- incubator/synapse/trunk/java/modules/core/maven.xml (original)
+++ incubator/synapse/trunk/java/modules/core/maven.xml Sat Nov 11 01:59:25 2006
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
<!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $
-->
Modified: incubator/synapse/trunk/java/modules/core/project.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/core/project.xml?view=diff&rev=473680&r1=473679&r2=473680
==============================================================================
--- incubator/synapse/trunk/java/modules/core/project.xml (original)
+++ incubator/synapse/trunk/java/modules/core/project.xml Sat Nov 11 01:59:25
2006
@@ -1,58 +1,76 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
-
- <pomVersion>3</pomVersion>
- <extend>../../project.xml</extend>
-
-
- <name>Apache Synapse - Core</name>
- <id>synapse-core</id>
- <groupId>synapse</groupId>
-
- <!-- ============ -->
- <!-- Dependencies -->
- <!-- ============ -->
-
- <dependencies>
- <dependency>
- <groupId>axis2</groupId>
- <artifactId>addressing</artifactId>
- <version>${addressing.version}</version>
- <type>mar</type>
- </dependency>
- </dependencies>
-
- <dependencies>
- <dependency>
- <groupId>synapse</groupId>
- <artifactId>synapse-nhttp</artifactId>
- <version>${synapse.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <nagEmailAddress>[email protected]</nagEmailAddress>
- <sourceDirectory>src</sourceDirectory>
- <unitTestSourceDirectory>test</unitTestSourceDirectory>
- <unitTest>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- <resources>
- <resource>
- <directory>test-resources</directory>
- </resource>
- </resources>
- </unitTest>
-
- <resources>
- <resource>
- <directory>conf</directory>
- <includes>
- <include>**/*.properties</include>
- </includes>
- </resource>
- </resources>
- </build>
-</project>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
+<project>
+
+ <pomVersion>3</pomVersion>
+ <extend>../../project.xml</extend>
+
+
+ <name>Apache Synapse - Core</name>
+ <id>synapse-core</id>
+ <groupId>synapse</groupId>
+
+ <!-- ============ -->
+ <!-- Dependencies -->
+ <!-- ============ -->
+
+ <dependencies>
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>addressing</artifactId>
+ <version>${addressing.version}</version>
+ <type>mar</type>
+ </dependency>
+ </dependencies>
+
+ <dependencies>
+ <dependency>
+ <groupId>synapse</groupId>
+ <artifactId>synapse-nhttp</artifactId>
+ <version>${synapse.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <nagEmailAddress>[email protected]</nagEmailAddress>
+ <sourceDirectory>src</sourceDirectory>
+ <unitTestSourceDirectory>test</unitTestSourceDirectory>
+ <unitTest>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <resources>
+ <resource>
+ <directory>test-resources</directory>
+ </resource>
+ </resources>
+ </unitTest>
+
+ <resources>
+ <resource>
+ <directory>conf</directory>
+ <includes>
+ <include>**/*.properties</include>
+ </includes>
+ </resource>
+ </resources>
+ </build>
+</project>
+
Modified: incubator/synapse/trunk/java/modules/extensions/maven.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/extensions/maven.xml?view=diff&rev=473680&r1=473679&r2=473680
==============================================================================
--- incubator/synapse/trunk/java/modules/extensions/maven.xml (original)
+++ incubator/synapse/trunk/java/modules/extensions/maven.xml Sat Nov 11
01:59:25 2006
@@ -1,73 +1,91 @@
-<?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="extensions.dir" value="target/extensions"/>
-
- <postGoal name="test:compile">
- <mkdir dir="${extensions.dir}"/>
- <attainGoal name="synapse_extensions"/>
- <attainGoal name="extensions"/>
- </postGoal>
- <goal name="synapse_extensions">
- <j:set var="class_test.dir" value="target/test-classes"/>
-
- <mkdir dir="target/synapse-repository"/>
- <ant:copy todir="target/synapse-repository">
- <ant:fileset dir="../core/target/synapse-repository">
- <ant:include name="**/**"/>
- </ant:fileset>
- </ant:copy>
- <ant:path id="classes_test.dir" location="${class_test.dir}"/>
- <maven:addPath id="maven.dependency.classpath"
refid="classes_test.dir"/>
- </goal>
-
-
- <goal name="extensions">
- <mkdir dir="${extensions.dir}"/>
- <mkdir dir="target/dist"/>
- <mkdir dir="${extensions.dir}/META-INF"/>
- <ant:copy todir="${extensions.dir}">
- <ant:fileset dir="target/classes">
- <ant:include name="**/**"/>
- </ant:fileset>
- </ant:copy>
- <ant:copy todir="${extensions.dir}/META-INF">
- <ant:fileset dir="src/META-INF">
- <ant:include name="**/**"/>
- </ant:fileset>
- <ant:fileset file="../../LICENSE.txt"/>
-
- </ant:copy>
- <ant:copy file="../../NOTICE-JAR.txt"
- tofile="src/META-INF/NOTICE.txt"/>
-
- <manifest file="target/MANIFEST.MF">
- <attribute name="Extension-Name" value="org.apache.synapse"/>
- <attribute name="Specification-Title" value="${pom.artifactId}"/>
- <attribute name="Specification-Vendor"
- value="Apache Software Foundation"/>
- <attribute name="Specification-Version"
- value="${pom.currentVersion}"/>
- <attribute name="Implementation-Title" value="Apache Synapse"/>
- <attribute name="Implementation-Vendor-Id" value="org.apache"/>
- <attribute name="Implementation-Vendor"
- value="Apache Software Foundation"/>
- <attribute name="Implementation-Version"
- value="${pom.currentVersion}"/>
- </manifest>
-
- <jar jarfile="target/dist/extension_mediators.jar"
- basedir="${extensions.dir}" manifest="target/MANIFEST.MF">
- <include name="**/**"/>
- </jar>
- <ant:delete dir="${extensions.dir}"/>
- </goal>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
+<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="extensions.dir" value="target/extensions"/>
+
+ <postGoal name="test:compile">
+ <mkdir dir="${extensions.dir}"/>
+ <attainGoal name="synapse_extensions"/>
+ <attainGoal name="extensions"/>
+ </postGoal>
+ <goal name="synapse_extensions">
+ <j:set var="class_test.dir" value="target/test-classes"/>
+
+ <mkdir dir="target/synapse-repository"/>
+ <ant:copy todir="target/synapse-repository">
+ <ant:fileset dir="../core/target/synapse-repository">
+ <ant:include name="**/**"/>
+ </ant:fileset>
+ </ant:copy>
+ <ant:path id="classes_test.dir" location="${class_test.dir}"/>
+ <maven:addPath id="maven.dependency.classpath"
refid="classes_test.dir"/>
+ </goal>
+
+
+ <goal name="extensions">
+ <mkdir dir="${extensions.dir}"/>
+ <mkdir dir="target/dist"/>
+ <mkdir dir="${extensions.dir}/META-INF"/>
+ <ant:copy todir="${extensions.dir}">
+ <ant:fileset dir="target/classes">
+ <ant:include name="**/**"/>
+ </ant:fileset>
+ </ant:copy>
+ <ant:copy todir="${extensions.dir}/META-INF">
+ <ant:fileset dir="src/META-INF">
+ <ant:include name="**/**"/>
+ </ant:fileset>
+ <ant:fileset file="../../LICENSE.txt"/>
+
+ </ant:copy>
+ <ant:copy file="../../NOTICE-JAR.txt"
+ tofile="src/META-INF/NOTICE.txt"/>
+
+ <manifest file="target/MANIFEST.MF">
+ <attribute name="Extension-Name" value="org.apache.synapse"/>
+ <attribute name="Specification-Title" value="${pom.artifactId}"/>
+ <attribute name="Specification-Vendor"
+ value="Apache Software Foundation"/>
+ <attribute name="Specification-Version"
+ value="${pom.currentVersion}"/>
+ <attribute name="Implementation-Title" value="Apache Synapse"/>
+ <attribute name="Implementation-Vendor-Id" value="org.apache"/>
+ <attribute name="Implementation-Vendor"
+ value="Apache Software Foundation"/>
+ <attribute name="Implementation-Version"
+ value="${pom.currentVersion}"/>
+ </manifest>
+
+ <jar jarfile="target/dist/extension_mediators.jar"
+ basedir="${extensions.dir}" manifest="target/MANIFEST.MF">
+ <include name="**/**"/>
+ </jar>
+ <ant:delete dir="${extensions.dir}"/>
+ </goal>
+</project>
Modified: incubator/synapse/trunk/java/modules/extensions/project.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/extensions/project.xml?view=diff&rev=473680&r1=473679&r2=473680
==============================================================================
--- incubator/synapse/trunk/java/modules/extensions/project.xml (original)
+++ incubator/synapse/trunk/java/modules/extensions/project.xml Sat Nov 11
01:59:25 2006
@@ -1,4 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
<project>
<pomVersion>3</pomVersion>
Modified: incubator/synapse/trunk/java/modules/nhttp/maven.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/nhttp/maven.xml?view=diff&rev=473680&r1=473679&r2=473680
==============================================================================
--- incubator/synapse/trunk/java/modules/nhttp/maven.xml (original)
+++ incubator/synapse/trunk/java/modules/nhttp/maven.xml Sat Nov 11 01:59:25
2006
@@ -1,59 +1,77 @@
-<?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="nhttp.dir" value="target/nhttp"/>
-
- <postGoal name="test:compile">
- <mkdir dir="${nhttp.dir}"/>
- <attainGoal name="nhttp"/>
- </postGoal>
-
- <goal name="nhttp">
- <mkdir dir="${nhttp.dir}"/>
- <mkdir dir="target/dist"/>
- <mkdir dir="${nhttp.dir}/META-INF"/>
- <ant:copy todir="${nhttp.dir}">
- <ant:fileset dir="target/classes">
- <ant:include name="**/**"/>
- </ant:fileset>
- </ant:copy>
- <!--<ant:copy todir="${nhttp.dir}/META-INF">
- <ant:fileset dir="src/META-INF">
- <ant:include name="**/**"/>
- </ant:fileset>
- <ant:fileset file="../../LICENSE.txt"/>
- </ant:copy>-->
-
- <ant:copy file="../../NOTICE-JAR.txt"
- tofile="src/META-INF/NOTICE.txt"/>
-
- <manifest file="target/MANIFEST.MF">
- <attribute name="Extension-Name" value="org.apache.synapse"/>
- <attribute name="Specification-Title" value="${pom.artifactId}"/>
- <attribute name="Specification-Vendor"
- value="Apache Software Foundation"/>
- <attribute name="Specification-Version"
- value="${pom.currentVersion}"/>
- <attribute name="Implementation-Title" value="Apache Synapse"/>
- <attribute name="Implementation-Vendor-Id" value="org.apache"/>
- <attribute name="Implementation-Vendor"
- value="Apache Software Foundation"/>
- <attribute name="Implementation-Version"
- value="${pom.currentVersion}"/>
- </manifest>
-
- <jar jarfile="target/dist/nhttp.jar"
- basedir="${nhttp.dir}" manifest="target/MANIFEST.MF">
- <include name="**/**"/>
- </jar>
- <ant:delete dir="${nhttp.dir}"/>
- </goal>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
+<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="nhttp.dir" value="target/nhttp"/>
+
+ <postGoal name="test:compile">
+ <mkdir dir="${nhttp.dir}"/>
+ <attainGoal name="nhttp"/>
+ </postGoal>
+
+ <goal name="nhttp">
+ <mkdir dir="${nhttp.dir}"/>
+ <mkdir dir="target/dist"/>
+ <mkdir dir="${nhttp.dir}/META-INF"/>
+ <ant:copy todir="${nhttp.dir}">
+ <ant:fileset dir="target/classes">
+ <ant:include name="**/**"/>
+ </ant:fileset>
+ </ant:copy>
+ <!--<ant:copy todir="${nhttp.dir}/META-INF">
+ <ant:fileset dir="src/META-INF">
+ <ant:include name="**/**"/>
+ </ant:fileset>
+ <ant:fileset file="../../LICENSE.txt"/>
+ </ant:copy>-->
+
+ <ant:copy file="../../NOTICE-JAR.txt"
+ tofile="src/META-INF/NOTICE.txt"/>
+
+ <manifest file="target/MANIFEST.MF">
+ <attribute name="Extension-Name" value="org.apache.synapse"/>
+ <attribute name="Specification-Title" value="${pom.artifactId}"/>
+ <attribute name="Specification-Vendor"
+ value="Apache Software Foundation"/>
+ <attribute name="Specification-Version"
+ value="${pom.currentVersion}"/>
+ <attribute name="Implementation-Title" value="Apache Synapse"/>
+ <attribute name="Implementation-Vendor-Id" value="org.apache"/>
+ <attribute name="Implementation-Vendor"
+ value="Apache Software Foundation"/>
+ <attribute name="Implementation-Version"
+ value="${pom.currentVersion}"/>
+ </manifest>
+
+ <jar jarfile="target/dist/nhttp.jar"
+ basedir="${nhttp.dir}" manifest="target/MANIFEST.MF">
+ <include name="**/**"/>
+ </jar>
+ <ant:delete dir="${nhttp.dir}"/>
+ </goal>
+</project>
Modified: incubator/synapse/trunk/java/modules/nhttp/project.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/nhttp/project.xml?view=diff&rev=473680&r1=473679&r2=473680
==============================================================================
--- incubator/synapse/trunk/java/modules/nhttp/project.xml (original)
+++ incubator/synapse/trunk/java/modules/nhttp/project.xml Sat Nov 11 01:59:25
2006
@@ -1,44 +1,62 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
-
- <pomVersion>3</pomVersion>
- <extend>../../project.xml</extend>
-
-
- <name>Apache Synapse - nhttp</name>
- <id>synapse-nhttp</id>
- <groupId>synapse</groupId>
-
- <!-- ============ -->
- <!-- Dependencies -->
- <!-- ============ -->
-
- <dependencies>
- </dependencies>
-
- <build>
- <nagEmailAddress>[email protected]</nagEmailAddress>
- <sourceDirectory>src</sourceDirectory>
- <!--<unitTestSourceDirectory>test</unitTestSourceDirectory>
- <unitTest>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- <resources>
- <resource>
- <directory>test-resources</directory>
- </resource>
- </resources>
- </unitTest>
-
- <resources>
- <resource>
- <directory>conf</directory>
- <includes>
- <include>**/*.properties</include>
- </includes>
- </resource>
- </resources>-->
- </build>
-</project>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
+<project>
+
+ <pomVersion>3</pomVersion>
+ <extend>../../project.xml</extend>
+
+
+ <name>Apache Synapse - nhttp</name>
+ <id>synapse-nhttp</id>
+ <groupId>synapse</groupId>
+
+ <!-- ============ -->
+ <!-- Dependencies -->
+ <!-- ============ -->
+
+ <dependencies>
+ </dependencies>
+
+ <build>
+ <nagEmailAddress>[email protected]</nagEmailAddress>
+ <sourceDirectory>src</sourceDirectory>
+ <!--<unitTestSourceDirectory>test</unitTestSourceDirectory>
+ <unitTest>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <resources>
+ <resource>
+ <directory>test-resources</directory>
+ </resource>
+ </resources>
+ </unitTest>
+
+ <resources>
+ <resource>
+ <directory>conf</directory>
+ <includes>
+ <include>**/*.properties</include>
+ </includes>
+ </resource>
+ </resources>-->
+ </build>
+</project>
+
Modified: incubator/synapse/trunk/java/modules/samples/maven.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/samples/maven.xml?view=diff&rev=473680&r1=473679&r2=473680
==============================================================================
--- incubator/synapse/trunk/java/modules/samples/maven.xml (original)
+++ incubator/synapse/trunk/java/modules/samples/maven.xml Sat Nov 11 01:59:25
2006
@@ -1,62 +1,80 @@
-<?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"/>
-
- <preGoal name="java:compile">
- <ant:path id="simpleStockQuoteService.src.dir"
location="services/SimpleStockQuoteService/src"/>
- <maven:addPath id="maven.compile.src.set"
refid="simpleStockQuoteService.src.dir"/>
- </preGoal>
-
- <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:mkdir dir="${bin.dist.dir}/samples/services"/>
-
- <ant:copy todir="${bin.dist.dir}/samples">
- <ant:fileset dir="scripts/userguide">
- <ant:include name="**/*"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy todir="${bin.dist.dir}/samples/services">
- <ant:fileset dir="services">
- <ant:include name="**/*"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:copy todir="${bin.dist.dir}/samples">
- <ant:fileset dir="target/samples/">
- <include name="**"/>
- </ant:fileset>
- </ant:copy>
-
- <ant:delete dir="target/samples"/>
- </goal>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
+<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"/>
+
+ <preGoal name="java:compile">
+ <ant:path id="simpleStockQuoteService.src.dir"
location="services/SimpleStockQuoteService/src"/>
+ <maven:addPath id="maven.compile.src.set"
refid="simpleStockQuoteService.src.dir"/>
+ </preGoal>
+
+ <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:mkdir dir="${bin.dist.dir}/samples/services"/>
+
+ <ant:copy todir="${bin.dist.dir}/samples">
+ <ant:fileset dir="scripts/userguide">
+ <ant:include name="**/*"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy todir="${bin.dist.dir}/samples/services">
+ <ant:fileset dir="services">
+ <ant:include name="**/*"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy todir="${bin.dist.dir}/samples">
+ <ant:fileset dir="target/samples/">
+ <include name="**"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:delete dir="target/samples"/>
+ </goal>
+</project>
Modified: incubator/synapse/trunk/java/modules/samples/project.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/samples/project.xml?view=diff&rev=473680&r1=473679&r2=473680
==============================================================================
--- incubator/synapse/trunk/java/modules/samples/project.xml (original)
+++ incubator/synapse/trunk/java/modules/samples/project.xml Sat Nov 11
01:59:25 2006
@@ -1,28 +1,46 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
-
- <pomVersion>3</pomVersion>
- <extend>../../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>${synapse.version}</version>
- </dependency>
-
- </dependencies>
-
- <build>
- <nagEmailAddress>[email protected]</nagEmailAddress>
- <sourceDirectory>src</sourceDirectory>
- </build>
-</project>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
+<project>
+
+ <pomVersion>3</pomVersion>
+ <extend>../../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>${synapse.version}</version>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <nagEmailAddress>[email protected]</nagEmailAddress>
+ <sourceDirectory>src</sourceDirectory>
+ </build>
+</project>
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]