diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-23 22:34:22 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-23 22:34:22 +0000 |
commit | 997f1dff873158f9fef7742b2a21f89d5a92ec33 (patch) | |
tree | 4bd98c6d50b7a51e0c45f4e0118e4d11403927ad /sandbox/travelsample/distribution/src/main/components | |
parent | 7d50a1b4ef72ae679ac8ae52b6cda2bde0165e0d (diff) |
Add ability to create a distribution for the travelsample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829270 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/distribution/src/main/components')
-rw-r--r-- | sandbox/travelsample/distribution/src/main/components/bin-common.xml | 43 | ||||
-rw-r--r-- | sandbox/travelsample/distribution/src/main/components/bin-modules.xml | 84 |
2 files changed, 127 insertions, 0 deletions
diff --git a/sandbox/travelsample/distribution/src/main/components/bin-common.xml b/sandbox/travelsample/distribution/src/main/components/bin-common.xml new file mode 100644 index 0000000000..b5b7111096 --- /dev/null +++ b/sandbox/travelsample/distribution/src/main/components/bin-common.xml @@ -0,0 +1,43 @@ +<!-- + * 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 the text files to the top-level directroy --> + <fileSet> + <directory>../..</directory> + <outputDirectory></outputDirectory> + <includes> + <include>CHANGES</include> + <include>README</include> + <include>RELEASE_NOTES</include> + </includes> + </fileSet> + <fileSet> + <directory>src/main/release/bin</directory> + <outputDirectory></outputDirectory> + <includes> + <include>INSTALL</include> + <include>LICENSE</include> + <include>NOTICE</include> + </includes> + </fileSet> + </fileSets> + +</component> diff --git a/sandbox/travelsample/distribution/src/main/components/bin-modules.xml b/sandbox/travelsample/distribution/src/main/components/bin-modules.xml new file mode 100644 index 0000000000..1ae2ec1a0c --- /dev/null +++ b/sandbox/travelsample/distribution/src/main/components/bin-modules.xml @@ -0,0 +1,84 @@ +<!-- + * 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> + + <fileSet> + <directory>target</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>contributions/**/*</include> + <include>launchers/**/*</include> + <include>clients/**/*</include> + <include>services/**/*</include> + </includes> + </fileSet> + + </fileSets> + + <dependencySets> + <!-- Add all the Tuscany modules to the modules directory --> + <dependencySet> + <outputDirectory>lib</outputDirectory> + <unpack>false</unpack> + <includes> + <include>*:*</include> + </includes> + <excludes> + <exclude>org.apache.tuscany.sca:scatours*</exclude> + </excludes> + <scope>runtime</scope> + </dependencySet> + + <dependencySet> + <outputDirectory>contributions</outputDirectory> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-contribution-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + <dependencySet> + <outputDirectory>launchers</outputDirectory> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-launcher-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + <dependencySet> + <outputDirectory>services</outputDirectory> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-service-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + <dependencySet> + <outputDirectory>client</outputDirectory> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-client-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + + </dependencySets> + +</component> |