diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-14 16:07:09 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-14 16:07:09 +0000 |
commit | 6a45a7e02169da29c29c8ae534d5f15b7b196c45 (patch) | |
tree | b46ea6ef0c6dd544f8845cbb5cbfe8dea924498e /sca-java-1.x/trunk/tutorials/travelsample/binaries/src | |
parent | 12d329ca71660faba0afc6c3f6dda9417e9003f8 (diff) |
Add binaries module (TUSCANY-3528)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@933999 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/tutorials/travelsample/binaries/src')
16 files changed, 1016 insertions, 0 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-jaxws.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-jaxws.xml new file mode 100644 index 0000000000..96ef5cbd30 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-jaxws.xml @@ -0,0 +1,35 @@ +<?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.
+-->
+<assembly>
+ <!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
+ <id></id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>dir</format>
+<!--
+ <format>tar.gz</format>
+ <format>zip</format>
+-->
+ </formats>
+
+ <componentDescriptors>
+ <componentDescriptor>../src/main/components/bin-jaxws.xml</componentDescriptor>
+ </componentDescriptors>
+</assembly>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-ode.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-ode.xml new file mode 100644 index 0000000000..5e15619a25 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-ode.xml @@ -0,0 +1,35 @@ +<?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.
+-->
+<assembly>
+ <!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
+ <id></id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>dir</format>
+<!--
+ <format>tar.gz</format>
+ <format>zip</format>
+-->
+ </formats>
+
+ <componentDescriptors>
+ <componentDescriptor>../src/main/components/bin-ode.xml</componentDescriptor>
+ </componentDescriptors>
+</assembly>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-openejb.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-openejb.xml new file mode 100644 index 0000000000..f546400951 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-openejb.xml @@ -0,0 +1,35 @@ +<?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.
+-->
+<assembly>
+ <!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
+ <id></id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>dir</format>
+<!--
+ <format>tar.gz</format>
+ <format>zip</format>
+-->
+ </formats>
+
+ <componentDescriptors>
+ <componentDescriptor>../src/main/components/bin-openejb.xml</componentDescriptor>
+ </componentDescriptors>
+</assembly>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-selfcontained.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-selfcontained.xml new file mode 100644 index 0000000000..b482fd4b39 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin-selfcontained.xml @@ -0,0 +1,36 @@ +<?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.
+-->
+<assembly>
+ <!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
+ <id></id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>dir</format>
+<!--
+ <format>tar.gz</format>
+ <format>zip</format>
+-->
+ </formats>
+
+ <componentDescriptors>
+ <componentDescriptor>../src/main/components/bin-modules.xml</componentDescriptor>
+ <componentDescriptor>../src/main/components/bin-selfcontained.xml</componentDescriptor>
+ </componentDescriptors>
+</assembly>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin.xml new file mode 100644 index 0000000000..4dc8bcbebf --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/assembly/bin.xml @@ -0,0 +1,36 @@ +<?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. +--> +<assembly> + <!-- id typically identifies the "type" (src vs bin etc) of the assembly --> + <id></id> + <includeBaseDirectory>false</includeBaseDirectory> + <formats> + <format>dir</format> +<!-- + <format>tar.gz</format> + <format>zip</format> +--> + </formats> + + <componentDescriptors> + <componentDescriptor>../src/main/components/bin-modules.xml</componentDescriptor> + <componentDescriptor>../src/main/components/bin-default.xml</componentDescriptor> + </componentDescriptors> +</assembly> diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-default.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-default.xml new file mode 100644 index 0000000000..ed61a17af3 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-default.xml @@ -0,0 +1,28 @@ +<!--
+ * 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>
+
+ <files>
+ <file>
+ <source>../src/main/resources/build-defs.xml</source>
+ <outputDirectory>util</outputDirectory>
+ </file>
+ </files>
+
+</component>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-jaxws.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-jaxws.xml new file mode 100644 index 0000000000..f139569c23 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-jaxws.xml @@ -0,0 +1,46 @@ +<!--
+ * 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>
+
+ <dependencySets>
+ <!-- Add scatours-util-jaxws-runtime.jar to the util directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>util</outputDirectory>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <unpack>false</unpack>
+ <includes>
+ <include>org.apache.tuscany.sca:scatours-util-jaxws-runtime</include>
+ </includes>
+ <scope>runtime</scope>
+ </dependencySet>
+
+ <!-- Add the JAX-WS runtime dependencies to the jaxws directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>jaxws</outputDirectory>
+ <unpack>false</unpack>
+ <excludes>
+ <exclude>org.apache.tuscany.sca:scatours-util-jaxws-runtime</exclude>
+ </excludes>
+ <scope>runtime</scope>
+ </dependencySet>
+ </dependencySets>
+
+</component>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-modules.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-modules.xml new file mode 100644 index 0000000000..41115063a7 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-modules.xml @@ -0,0 +1,119 @@ +<!-- + * 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> + + <files> + <file> + <source>../src/main/resources/build-clients.xml</source> + <outputDirectory>clients</outputDirectory> + <destName>build.xml</destName> + </file> + <file> + <source>../src/main/resources/build-launchers.xml</source> + <outputDirectory>launchers</outputDirectory> + <destName>build.xml</destName> + </file> + <file> + <source>../src/main/resources/build-services.xml</source> + <outputDirectory>services</outputDirectory> + <destName>build.xml</destName> + </file> + </files> + + <dependencySets> + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>util</outputDirectory> + <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-util-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>contributions</outputDirectory> + <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-contribution-*</include> + </includes> + <excludes> + <exclude>org.apache.tuscany.sca:scatours-contribution-payment-bpel-process</exclude> + </excludes> + <scope>runtime</scope> + </dependencySet> + + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>contributions/scatours-contribution-payment-bpel-process</outputDirectory> + <unpack>true</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-contribution-payment-bpel-process</include> + </includes> + <scope>runtime</scope> + </dependencySet> + + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>launchers</outputDirectory> + <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-launcher-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>services</outputDirectory> + <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-service-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>clients</outputDirectory> + <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping> + <unpack>false</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-client-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + + <dependencySet> + <useProjectArtifact>false</useProjectArtifact> + <outputDirectory>domainconfig</outputDirectory> + <unpack>true</unpack> + <includes> + <include>org.apache.tuscany.sca:scatours-domainconfig-*</include> + </includes> + <scope>runtime</scope> + </dependencySet> + </dependencySets> + +</component> diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-ode.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-ode.xml new file mode 100644 index 0000000000..884a8fdb84 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-ode.xml @@ -0,0 +1,36 @@ +<!--
+ * 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>
+
+ <dependencySets>
+ <!-- Add the ODE database to the ode directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>ode</outputDirectory>
+ <unpack>true</unpack>
+ <!--
+ <includes>
+ <include>org.apache.ode:ode-dao-jpa-ojpa-derby-*</include>
+ </includes>
+ -->
+ <scope>runtime</scope>
+ </dependencySet>
+ </dependencySets>
+
+</component>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-openejb.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-openejb.xml new file mode 100644 index 0000000000..596ee0b55a --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-openejb.xml @@ -0,0 +1,46 @@ +<!--
+ * 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>
+
+ <dependencySets>
+ <!-- Add scatours-util-openejb-runtime.jar to the util directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>util</outputDirectory>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <unpack>false</unpack>
+ <includes>
+ <include>org.apache.tuscany.sca:scatours-util-openejb-runtime</include>
+ </includes>
+ <scope>runtime</scope>
+ </dependencySet>
+
+ <!-- Add the OpenEJB runtime dependencies to the openejb directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>openejb</outputDirectory>
+ <unpack>false</unpack>
+ <excludes>
+ <exclude>org.apache.tuscany.sca:scatours-util-openejb-runtime</exclude>
+ </excludes>
+ <scope>runtime</scope>
+ </dependencySet>
+ </dependencySets>
+
+</component>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-selfcontained.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-selfcontained.xml new file mode 100644 index 0000000000..90db09cfbe --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/components/bin-selfcontained.xml @@ -0,0 +1,42 @@ +<!--
+ * 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>
+
+ <files>
+ <file>
+ <source>../src/main/resources/build-defs-selfcontained.xml</source>
+ <outputDirectory>util</outputDirectory>
+ <destName>build-defs.xml</destName>
+ </file>
+ </files>
+
+ <dependencySets>
+ <!-- Add all the Tuscany dependencies to the lib directory -->
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>lib</outputDirectory>
+ <unpack>false</unpack>
+ <excludes>
+ <exclude>org.apache.tuscany.sca:scatours*</exclude>
+ </excludes>
+ <scope>runtime</scope>
+ </dependencySet>
+ </dependencySets>
+
+</component>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-clients.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-clients.xml new file mode 100644 index 0000000000..98a3b2c345 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-clients.xml @@ -0,0 +1,54 @@ +<!--
+ * 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 name="scatours-distribution-clients">
+ <import file="../util/build-defs.xml"/>
+
+ <target name="run-currency-converter-corba">
+ <java classname="scatours.CurrencyConverterCORBAClient" fork="true" failonerror="true">
+ <classpath location="scatours-client-currency-converter-corba.jar"/>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-jms">
+ <java classname="scatours.CurrencyConverterJMSClient" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-client-currency-converter-jms.jar"/>
+ <!-- The following is used to bring in the ActiveMQ runtime. -->
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-rmi">
+ <java classname="scatours.CurrencyConverterRMIClient" fork="true" failonerror="true">
+ <classpath location="scatours-client-currency-converter-rmi.jar"/>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-ws-jaxws">
+ <java classname="scatours.CurrencyConverterWSClient" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-client-currency-converter-ws-jaxws.jar"/>
+ <!-- The following is used to bring in additional dependencies of the JAX-WS runtime. -->
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+</project>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-defs-selfcontained.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-defs-selfcontained.xml new file mode 100644 index 0000000000..f741f28a7b --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-defs-selfcontained.xml @@ -0,0 +1,30 @@ +<!--
+ * 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.
+-->
+
+<!-- The self-contained build does not need any libraries from the Tuscany SCA
+ binary distro. -->
+<project name="build-defs">
+
+ <path id="scatours.tuscany-manifest"/>
+
+ <path id="scatours.tuscany-node-launcher"/>
+
+ <path id="scatours.tuscany-openejb"/>
+
+</project>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-defs.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-defs.xml new file mode 100644 index 0000000000..f914208f52 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-defs.xml @@ -0,0 +1,46 @@ +<!--
+ * 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.
+-->
+
+<!-- The default build depends on libraries from the Tuscany SCA binary distro. -->
+<project name="build-defs">
+ <property environment="env"/>
+
+ <path id="scatours.tuscany-manifest">
+ <pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/>
+ </path>
+
+ <path id="scatours.tuscany-node-launcher">
+ <fileset dir="${env.TUSCANY_HOME}/modules" includes="tuscany-node-launcher-*.jar"/>
+ </path>
+
+ <path id="scatours.tuscany-openejb">
+ <fileset dir="${env.TUSCANY_HOME}/lib">
+ <!-- exclude some jars to prevent them being loaded by OpenEJB -->
+ <exclude name="tuscany-sca-manifest.jar"/>
+ <exclude name="ode-*.jar"/>
+ <exclude name="jaxb-xjc-*.jar"/>
+ <exclude name="jython-*.jar"/>
+ <exclude name="activemq-all-*.jar"/>
+ <exclude name="js-*.jar"/>
+ <exclude name="org.apache.felix.main-*.jar"/>
+ <exclude name="saxon-*.jar"/>
+ </fileset>
+ </path>
+
+</project>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-launchers.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-launchers.xml new file mode 100644 index 0000000000..eac25092b2 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-launchers.xml @@ -0,0 +1,328 @@ +<!--
+ * 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 name="scatours-distribution-launchers">
+ <import file="../util/build-defs.xml"/>
+
+ <target name="run-blog-feed">
+ <java classname="scatours.BlogFeedLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-blog-feed.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-buildingblocks">
+ <java classname="scatours.BuildingBlocksLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-buildingblocks.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter">
+ <java classname="scatours.CurrencyConverterLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-corba">
+ <java classname="scatours.CurrencyConverterCORBALauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter-corba.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-jms">
+ <java classname="scatours.CurrencyConverterJMSLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter-jms.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-rmi">
+ <java classname="scatours.CurrencyConverterRMILauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter-rmi.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-ws">
+ <java classname="scatours.CurrencyConverterWSLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter-ws.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-databinding">
+ <java classname="scatours.DatabindingLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-databinding.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-feed-logger">
+ <java classname="scatours.FeedLoggerLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-feed-logger.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-fullapp">
+ <java classname="scatours.FullAppLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-fullapp.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-fullapp-domain">
+ <java classname="org.apache.tuscany.sca.node.launcher.DomainManagerLauncher" fork="true" failonerror="true">
+ <arg value="../domainconfig/fullapp"/>
+ <classpath>
+ <path refid="scatours.tuscany-node-launcher"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-fullapp-nodes">
+ <java classname="scatours.FullAppNodesLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-fullapp-nodes.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-help-pages">
+ <java classname="scatours.HelpPagesLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-help-pages.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-interaction">
+ <java classname="scatours.InteractionLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-interaction.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing">
+ <java classname="scatours.IntroducingLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-introducing.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing-client">
+ <java classname="scatours.IntroducingClientLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-introducing-client.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing-domain">
+ <java classname="org.apache.tuscany.sca.node.launcher.DomainManagerLauncher" fork="true" failonerror="true">
+ <arg value="../domainconfig/introducing"/>
+ <classpath>
+ <path refid="scatours.tuscany-node-launcher"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing-tours">
+ <java classname="org.apache.tuscany.sca.node.launcher.NodeLauncher" fork="true" failonerror="true">
+ <arg value="http://localhost:9990/node-config/ToursNode"/>
+ <classpath>
+ <path refid="scatours.tuscany-node-launcher"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing-trips">
+ <java classname="org.apache.tuscany.sca.node.launcher.NodeLauncher" fork="true" failonerror="true">
+ <arg value="http://localhost:9990/node-config/TripsNode"/>
+ <classpath>
+ <path refid="scatours.tuscany-node-launcher"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-corba">
+ <java classname="scatours.NotificationCORBALauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-corba.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-ejb">
+ <java classname="scatours.NotificationEJBLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-ejb.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-jms">
+ <java classname="scatours.NotificationJMSLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-jms.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-rmi">
+ <java classname="scatours.NotificationRMILauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-rmi.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-ws">
+ <java classname="scatours.NotificationWSLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-ws.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-bpel">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-bpel.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-groovy">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-groovy.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-python">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-groovy.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-java">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-java.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-java-callback">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-java.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-java-policy">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-java-policy.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-java-reference-pass">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-java.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-spring">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-spring.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-spring-scatag">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-spring-scatag.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-using">
+ <java classname="scatours.UsingLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-using.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+</project>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-services.xml b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-services.xml new file mode 100644 index 0000000000..6154f0b451 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/binaries/src/main/resources/build-services.xml @@ -0,0 +1,64 @@ +<!--
+ * 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 name="scatours-distribution-services">
+ <import file="../util/build-defs.xml"/>
+
+ <target name="run-smsgateway-corba">
+ <java classname="scatours.smsgateway.SMSGatewayCORBAServiceBootstrap" fork="true" failonerror="true">
+ <classpath location="scatours-service-smsgateway-corba.jar"/>
+ </java>
+ </target>
+
+ <target name="run-smsgateway-ejb">
+ <java classname="com.tuscanyscatours.smsgateway.SMSGatewayEJBServiceBootstrap" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-service-smsgateway-ejb.jar"/>
+ <!-- The following is used to bring in additional dependencies of the OpenEJB runtime. -->
+ <path refid="scatours.tuscany-openejb"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-smsgateway-jaxws">
+ <java classname="com.tuscanyscatours.smsgateway.SMSGatewayServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="scatours-service-smsgateway-jaxws.jar"/>
+ <!-- The following is used to bring in additional dependencies of the JAX-WS runtime. -->
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-smsgateway-jms">
+ <java classname="scatours.smsgateway.SMSGatewayJMSServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="scatours-service-smsgateway-jms.jar"/>
+ <!-- The following is used to bring in the ActiveMQ runtime. -->
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-smsgateway-rmi">
+ <java classname="com.tuscanyscatours.smsgateway.SMSGatewayRMIServiceBootstrap" fork="true" failonerror="true">
+ <classpath location="scatours-service-smsgateway-rmi.jar"/>
+ </java>
+ </target>
+</project>
|