summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-02-03 07:11:28 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-02-03 07:11:28 +0000
commit68aebde797d783c606edbb99572aa1bcccd6186e (patch)
tree7a589165514f2bb174426280b23c6e8998d6c8a9 /java
parent0ded8e61f49a9ddc15373bc85b9403e69396fdcc (diff)
Adding samples to source distribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@740238 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/distribution/all/src/main/assembly/src.xml8
-rw-r--r--java/sca/distribution/all/src/main/components/src-samples.xml41
2 files changed, 46 insertions, 3 deletions
diff --git a/java/sca/distribution/all/src/main/assembly/src.xml b/java/sca/distribution/all/src/main/assembly/src.xml
index d603fb54a9..936cb2f28f 100644
--- a/java/sca/distribution/all/src/main/assembly/src.xml
+++ b/java/sca/distribution/all/src/main/assembly/src.xml
@@ -27,15 +27,17 @@
<format>zip</format>
</formats>
- <componentDescriptors>
+ <componentDescriptors>
+ <componentDescriptor>../all/src/main/components/src-modules.xml</componentDescriptor>
+ <componentDescriptor>../all/src/main/components/src-samples.xml</componentDescriptor>
<componentDescriptor>../core/src/main/components/src-common.xml</componentDescriptor>
<componentDescriptor>../core/src/main/components/src-modules.xml</componentDescriptor>
- <componentDescriptor>../ejava/src/main/components/src-modules.xml</componentDescriptor>
+ <componentDescriptor>../ejava/src/main/components/src-modules.xml</componentDescriptor>
+ <componentDescriptor>../webservice/src/main/components/src-modules.xml</componentDescriptor>
<!--
<componentDescriptor>../manager/src/main/components/src-modules.xml</componentDescriptor>
<componentDescriptor>../process/src/main/components/src-modules.xml</componentDescriptor>
<componentDescriptor>../web20/src/main/components/src-modules.xml</componentDescriptor>
- <componentDescriptor>../webservice/src/main/components/src-modules.xml</componentDescriptor>
-->
</componentDescriptors>
</assembly>
diff --git a/java/sca/distribution/all/src/main/components/src-samples.xml b/java/sca/distribution/all/src/main/components/src-samples.xml
new file mode 100644
index 0000000000..9154a080f8
--- /dev/null
+++ b/java/sca/distribution/all/src/main/components/src-samples.xml
@@ -0,0 +1,41 @@
+<!--
+ * 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.
+-->
+<component>
+ <fileSets>
+ <!-- Add module sources to the modules directory -->
+ <fileSet>
+ <directory>../../samples</directory>
+ <outputDirectory>samples</outputDirectory>
+ <includes>
+ </includes>
+ <excludes>
+ <!-- General file/folders to exclude -->
+ <exclude>**/.*</exclude>
+ <exclude>**/.*/**</exclude>
+ <exclude>**/*.log</exclude>
+
+ <!-- Specific files/folders to exclude -->
+ <exclude>pom.xml</exclude>
+ <exclude>**/target</exclude>
+ <exclude>**/target/**/*</exclude>
+ </excludes>
+ </fileSet>
+
+ </fileSets>
+</component>