diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 06:12:36 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 06:12:36 +0000 |
commit | 7c9f8b8af3dc7e192cea262e7a8e23c519fd0a50 (patch) | |
tree | 1bb1f5b917308dcc130044989861158ab87d6ef5 /cpp/sca/runtime | |
parent | 0eb1658ee76b0a849d12728744f7fa9d0b43a203 (diff) |
Cleaned up old out of sync build artifacts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814487 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/sca/runtime')
-rw-r--r-- | cpp/sca/runtime/core/build.xml | 360 | ||||
-rw-r--r-- | cpp/sca/runtime/core/test/build.xml | 110 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/build.xml | 171 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/cpp/build.xml | 270 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/php/VSExpress/tuscany_sca_php.vcproj | 273 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/php/build.xml | 190 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/python/build.xml | 184 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/rest/build.xml | 377 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/ruby/build.xml | 232 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/sca/build.xml | 252 | ||||
-rw-r--r-- | cpp/sca/runtime/extensions/ws/build.xml | 383 |
11 files changed, 0 insertions, 2802 deletions
diff --git a/cpp/sca/runtime/core/build.xml b/cpp/sca/runtime/core/build.xml deleted file mode 100644 index 5ce67e35b6..0000000000 --- a/cpp/sca/runtime/core/build.xml +++ /dev/null @@ -1,360 +0,0 @@ -<?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 name="TuscanyScaNative_core" default="all" basedir="../.."> - - <import file="${basedir}/antscripts/system.xml"/> - <import file="${basedir}/antscripts/compile-targets.xml"/> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="this.dir" location="${basedir}/runtime/core"/> - <property name="src.dir" location="${basedir}/runtime/core/src"/> - <property name="core.dir" value="tuscany/sca/core"/> - <property name="extension.dir" value="tuscany/sca/extension"/> - <property name="model.dir" value="tuscany/sca/model"/> - <property name="util.dir" value="tuscany/sca/util"/> - - <property name="core.abs.dir" location="${src.dir}/${core.dir}"/> - <property name="extension.abs.dir" location="${src.dir}/${extension.dir}"/> - <property name="model.abs.dir" location="${src.dir}/${model.dir}"/> - <property name="util.abs.dir" location="${src.dir}/${util.dir}"/> - <property name="xsd.abs.dir" location="${this.dir}/xsd"/> - <property name="lib.dir" location="${src.dir}/.libs"/> - <property name="tuscany.core.lib" value="tuscany_sca"/> - - <!-- - All the cpp and header files per subdirectory - New classes should be added to these properties - --> - - <property - name="core.cpp.files" - value="Exceptions.cpp - Operation.cpp - SCARuntime.cpp - ServiceProxy.cpp - ServiceWrapper.cpp"/> - <property - name="core.h.files" - value="Exceptions.h - Operation.h - SCARuntime.h - ServiceProxy.h - ServiceWrapper.h"/> - - <property - name="extension.cpp.files" - value="ImplementationExtension.cpp - InterfaceExtension.cpp - ReferenceBindingExtension.cpp - ServiceBindingExtension.cpp"/> - <property - name="extension.h.files" - value="ImplementationExtension.h - InterfaceExtension.h - ReferenceBindingExtension.h - ServiceBindingExtension.h"/> - - <property - name="model.cpp.files" - value="Binding.cpp - Component.cpp - ComponentType.cpp - Composite.cpp - CompositeReferenceBinding.cpp - CompositeReference.cpp - CompositeService.cpp - Contract.cpp - Interface.cpp - ModelLoader.cpp - ReferenceBinding.cpp - Reference.cpp - ReferenceType.cpp - ServiceBinding.cpp - Service.cpp - ServiceType.cpp - Wire.cpp - WSDLDefinition.cpp - WSDLInterface.cpp - WSDLMessagePart.cpp - WSDLOperation.cpp"/> - <property - name="model.h.files" - value="Binding.h - Component.h - ComponentType.h - Composite.h - CompositeReferenceBinding.h - CompositeReference.h - CompositeService.h - Contract.h - Interface.h - ModelLoader.h - ReferenceBinding.h - Reference.h - ReferenceType.h - ServiceBinding.h - Service.h - ServiceType.h - Wire.h - WSDLDefinition.h - WSDLInterface.h - WSDLMessagePart.h - WSDLOperation.h"/> - - <property - name="util.cpp.files" - value="DefaultLogWriter.cpp - File.cpp - FileLogWriter.cpp - Library.cpp - Logger.cpp - LogWriter.cpp - Mutex.cpp - Queue.cpp - SDOUtils.cpp - Thread.cpp - ThreadLocal.cpp - Utils.cpp"/> - - <property - name="util.h.files" - value="DefaultLogWriter.h - File.h - FileLogWriter.h - Library.h - Logger.h - Logging.h - LogWriter.h - Mutex.h - Queue.h - SDOUtils.h - Thread.h - ThreadLocal.h - Utils.h"/> - - <!-- - All the xsd schema files - New schema should be added to this property - --> - <property - name="xsd.files" - value="sca.xsd - sca-core.xsd - sca-implementation-composite.xsd - sca-implementation-java.xsd - sca-interface-java.xsd - sca-interface-wsdl.xsd - tuscany.xsd - wsdl_11_http.xsd - wsdl_11_mime.xsd - wsdl_11_soap12.xsd - wsdl_11_soap.xsd - wsdl_11.xsd"/> - - <!-- - Public targets - --> - <target name="all" description="compile, link, and install all TuscanyScaNative core source code"> - <antcall target="compile"/> - <antcall target="link"/> - <antcall target="install"/> - </target> - - <target name="build" description="compile and link all TuscanyScaNative core source code"> - <antcall target="compile"/> - <antcall target="link"/> - </target> - - <target name="compile" description="Compile all TuscanyScaNative core source code"> - <antcall target="compile.core"/> - <antcall target="compile.extension"/> - <antcall target="compile.model"/> - <antcall target="compile.util"/> - </target> - - <target name="link" description="Link all TuscanyScaNative core source code"> - <cpp-link-core - outfile="${tuscany.core.lib}" - outdir="${lib.dir}" - indir="${lib.dir}" - infiles="*${object.ext}"/> - </target> - - <target name="install" description="Install TuscanyScaNative core libraries and headers"> - <antcall target="install.core"/> - <antcall target="install.extension"/> - <antcall target="install.model"/> - <antcall target="install.util"/> - <antcall target="install.xsd"/> - <cpp-install-files - srcdir="${src.dir}/tuscany/sca" - files="export.h" - destdir="${tuscanySCA.install.dir}/include/tuscany/sca"/> - <cpp-install-lib - lib="${tuscany.core.lib}" - srcdir="${lib.dir}" - destrootdir="${tuscanySCA.install.dir}"/> - <cpp-symlink - linkdir="${tuscanySCA.install.dir}/lib" - link="${lib.prefix}${tuscany.core.lib}${lib.ext}" - resource="${lib.prefix}${tuscany.core.lib}${lib.ext}${tuscanySCA.library.version}"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative core compiled source code"> - <antcall target="clean.core"/> - <antcall target="clean.extension"/> - <antcall target="clean.model"/> - <antcall target="clean.util"/> - <antcall target="clean.xsd"/> - <delete dir="${lib.dir}" quiet="true"/> - <cpp-clean-files - dir="${tuscanySCA.install.dir}/include/tuscany/sca" - files="export.h" - rmdir="true"/> - <cpp-clean-lib - lib="${tuscany.core.lib}" - librootdir="${tuscanySCA.install.dir}"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - --> - - <!-- compile --> - - <target name="compile.core"> - <cpp-compile - srcdir="${core.abs.dir}" - objdir="${lib.dir}" - infiles="${core.cpp.files}"> - <custom-cc-elements> - <defineset if="windows" define="SCA_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.extension"> - <cpp-compile - srcdir="${extension.abs.dir}" - objdir="${lib.dir}" - infiles="${extension.cpp.files}"> - <custom-cc-elements> - <defineset if="windows" define="SCA_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.model"> - <cpp-compile - srcdir="${model.abs.dir}" - objdir="${lib.dir}" - infiles="${model.cpp.files}"> - <custom-cc-elements> - <defineset if="windows" define="SCA_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.util"> - <cpp-compile - srcdir="${util.abs.dir}" - objdir="${lib.dir}" - infiles="${util.cpp.files}"> - <custom-cc-elements> - <defineset if="windows" define="SCA_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <!-- install --> - - <target name="install.core"> - <cpp-install-files - srcdir="${core.abs.dir}" - files="${core.h.files}" - destdir="${tuscanySCA.install.dir}/include/${core.dir}"/> - </target> - - <target name="install.extension"> - <cpp-install-files - srcdir="${extension.abs.dir}" - files="${extension.h.files}" - destdir="${tuscanySCA.install.dir}/include/${extension.dir}"/> - </target> - - <target name="install.model"> - <cpp-install-files - srcdir="${model.abs.dir}" - files="${model.h.files}" - destdir="${tuscanySCA.install.dir}/include/${model.dir}"/> - </target> - - <target name="install.util"> - <cpp-install-files - srcdir="${util.abs.dir}" - files="${util.h.files}" - destdir="${tuscanySCA.install.dir}/include/${util.dir}"/> - </target> - - <target name="install.xsd"> - <cpp-install-files - srcdir="${xsd.abs.dir}" - files="${xsd.files}" - destdir="${tuscanySCA.install.dir}/xsd"/> - </target> - - <!-- clean --> - - <target name="clean.core"> - <cpp-clean-files - dir="${tuscanySCA.install.dir}/include/${core.dir}" - rmdir="true"/> - </target> - - <target name="clean.extension"> - <cpp-clean-files - dir="${tuscanySCA.install.dir}/include/${extension.dir}" - rmdir="true"/> - </target> - - <target name="clean.model"> - <cpp-clean-files - dir="${tuscanySCA.install.dir}/include/${model.dir}" - rmdir="true"/> - </target> - - <target name="clean.util"> - <cpp-clean-files - dir="${tuscanySCA.install.dir}/include/${util.dir}" - rmdir="true"/> - </target> - - <target name="clean.xsd"> - <cpp-clean-files - dir="${tuscanySCA.install.dir}/xsd" - rmdir="true"/> - </target> - -</project> diff --git a/cpp/sca/runtime/core/test/build.xml b/cpp/sca/runtime/core/test/build.xml deleted file mode 100644 index 5ceb05b623..0000000000 --- a/cpp/sca/runtime/core/test/build.xml +++ /dev/null @@ -1,110 +0,0 @@ -<?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 name="TuscanySdoNative_test" default="all" basedir="../../..">
-
- <import file="${basedir}/antscripts/system.xml"/>
- <import file="${basedir}/antscripts/compile-targets.xml"/>
-
- <!--
- Notice that the basedir for this project is set to the TuscanySDO root dir
- This makes path setting in system.xml much simpler, but we'll just have to
- set a property here to this directory.
- -->
- <property name="this.dir" location="${basedir}/runtime/core/test"/>
- <property name="sca.test.src.dir" location="${this.dir}"/>
- <property name="sca.test.build.dir" location="${this.dir}/build"/>
- <property name="sca.wsdl.test.src.dir" location="${this.dir}/wsdlTests"/>
- <property name="sca.composite.test.src.dir" location="${this.dir}/compositeTests"/>
- <property name="sca.test.app" value="sca_test"/>
-
- <property name="wsdl.test.files"
- value="BaseWsdlTest.cpp
- WSDLErrorsTest.cpp
- WSDLDefinitionTest.cpp"/>
- <!--
- Public targets
- -->
- <target name="all" description="compile, link, and run TuscanyScaNative test suite">
- <antcall target="build"/>
- <antcall target="run"/>
- </target>
-
- <target name="build" description="compile and link TuscanyScaNative test suite">
- <antcall target="build.wsdl.tests"/>
- <antcall target="build.composite.tests"/>
- <antcall target="build.main"/>
- </target>
-
- <target name="run" depends="build" description="Run TuscanyScaNative test suite">
- <exec executable="${this.dir}/${sca.test.app}${script.ext}" dir="${this.dir}"/>
- </target>
-
- <target name="clean" description="Clean TuscanyScaNative test suite">
- <delete dir="${sca.test.build.dir}" quiet="@{quiet}"/>
- <delete file="${this.dir}/${sca.test.app}${exe.ext}" quiet="@{quiet}"/>
- </target>
-
- <!--
- Internal targets
- They can still be called, they're just not described, so wont show up in "ant -p"
- -->
- <target name="build.wsdl.tests">
- <cpp-compile
- srcdir="${sca.wsdl.test.src.dir}"
- infiles="${wsdl.test.files}"
- objdir="${sca.test.build.dir}">
- <custom-cc-elements>
- <defineset if="windows" define="_MBCS"/>
- <includepath path="${sca.test.src.dir}"/>
- <includepath path="${sca.wsdl.test.src.dir}"/>
- </custom-cc-elements>
- </cpp-compile>
- </target>
-
- <target name="build.composite.tests">
- <!-- Not implemented yet -->
- </target>
-
- <target name="build.main">
- <!-- first compile the main.cpp -->
- <cpp-compile
- srcdir="${sca.test.src.dir}"
- infiles="main.cpp"
- objdir="${sca.test.build.dir}">
- <custom-cc-elements>
- <defineset if="windows" define="_MBCS"/>
- <includepath path="${sca.test.src.dir}"/>
- </custom-cc-elements>
- </cpp-compile>
-
- <cpp-link
- outfile="${sca.test.app}"
- outdir="${sca.test.build.dir}"
- indir="${sca.test.build.dir}"
- linktype="executable">
- </cpp-link>
-
- <cpp-install-file
- srcfile="${sca.test.app}${exe.ext}"
- srcdir="${sca.test.build.dir}"
- destdir="${this.dir}"/>
- </target>
-
-</project>
diff --git a/cpp/sca/runtime/extensions/build.xml b/cpp/sca/runtime/extensions/build.xml deleted file mode 100644 index 70d65faa71..0000000000 --- a/cpp/sca/runtime/extensions/build.xml +++ /dev/null @@ -1,171 +0,0 @@ -<?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 name="TuscanyScaNative_extensions" default="all" basedir="../.."> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="this.dir" location="${basedir}/runtime/extensions"/> - <property name="cpp.dir" location="${this.dir}/cpp"/> - <property name="php.dir" location="${this.dir}/php"/> - <property name="python.dir" location="${this.dir}/python"/> - <property name="rest.dir" location="${this.dir}/rest"/> - <property name="ruby.dir" location="${this.dir}/ruby"/> - <property name="sca.dir" location="${this.dir}/sca"/> - <property name="ws.dir" location="${this.dir}/ws"/> - - <!-- - Public targets - --> - <target name="all" - description="build and install all TuscanyScaNative extensions source code"> - <antcall target="build"/> - <antcall target="install"/> - </target> - - <target name="build" description="Build all TuscanyScaNative extensions source code"> - <antcall target="build.extension.cpp"/> - <antcall target="build.extension.php"/> - <antcall target="build.extension.python"/> - <antcall target="build.extension.rest"/> - <antcall target="build.extension.ruby"/> - <antcall target="build.extension.sca"/> - <antcall target="build.extension.ws"/> - </target> - - <target name="install" description="Install TuscanyScaNative extensions libraries and headers"> - <antcall target="install.extension.cpp"/> - <antcall target="install.extension.php"/> - <antcall target="install.extension.python"/> - <antcall target="install.extension.rest"/> - <antcall target="install.extension.ruby"/> - <antcall target="install.extension.sca"/> - <antcall target="install.extension.ws"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative extensions built source code"> - <antcall target="clean.extension.cpp"/> - <antcall target="clean.extension.php"/> - <antcall target="clean.extension.python"/> - <antcall target="clean.extension.rest"/> - <antcall target="clean.extension.ruby"/> - <antcall target="clean.extension.sca"/> - <antcall target="clean.extension.ws"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - Using antfile and inheritAll="false" to maintain the subdir build.xml basedir settings - --> - - <!-- build --> - - <target name="build.extension.cpp"> - <ant target="build" antfile="${cpp.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="build.extension.php"> - <ant target="build" antfile="${php.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="build.extension.python"> - <ant target="build" antfile="${python.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="build.extension.rest"> - <ant target="build" antfile="${rest.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="build.extension.ruby"> - <ant target="build" antfile="${ruby.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="build.extension.sca"> - <ant target="build" antfile="${sca.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="build.extension.ws"> - <ant target="build" antfile="${ws.dir}/build.xml" inheritAll="false"/> - </target> - - <!-- install --> - - <target name="install.extension.cpp"> - <ant target="install" antfile="${cpp.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="install.extension.php"> - <ant target="install" antfile="${php.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="install.extension.python"> - <ant target="install" antfile="${python.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="install.extension.rest"> - <ant target="install" antfile="${rest.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="install.extension.ruby"> - <ant target="install" antfile="${ruby.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="install.extension.sca"> - <ant target="install" antfile="${sca.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="install.extension.ws"> - <ant target="install" antfile="${ws.dir}/build.xml" inheritAll="false"/> - </target> - - <!-- clean --> - - <target name="clean.extension.cpp"> - <ant target="clean" antfile="${cpp.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="clean.extension.php"> - <ant target="clean" antfile="${php.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="clean.extension.python"> - <ant target="clean" antfile="${python.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="clean.extension.rest"> - <ant target="clean" antfile="${rest.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="clean.extension.ruby"> - <ant target="clean" antfile="${ruby.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="clean.extension.sca"> - <ant target="clean" antfile="${sca.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="clean.extension.ws"> - <ant target="clean" antfile="${ws.dir}/build.xml" inheritAll="false"/> - </target> - -</project> diff --git a/cpp/sca/runtime/extensions/cpp/build.xml b/cpp/sca/runtime/extensions/cpp/build.xml deleted file mode 100644 index b7eeb66855..0000000000 --- a/cpp/sca/runtime/extensions/cpp/build.xml +++ /dev/null @@ -1,270 +0,0 @@ -<?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 name="TuscanyScaNative_extension_cpp" default="all" basedir="../../.."> - - <import file="${basedir}/antscripts/system.xml"/> - <import file="${basedir}/antscripts/compile-targets.xml"/> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="osoa.dir" value="osoa/sca"/> - <property name="cpp.core.dir" value="tuscany/sca/cpp"/> - <property name="cpp.model.dir" value="tuscany/sca/cpp/model"/> - <property name="xsd.dir" value="xsd"/> - - <property name="this.dir" location="${basedir}/runtime/extensions/cpp"/> - <property name="this.src.dir" location="${this.dir}/src"/> - <property name="osoa.abs.dir" location="${this.src.dir}/${osoa.dir}"/> - <property name="cpp.core.abs.dir" location="${this.src.dir}/${cpp.core.dir}"/> - <property name="cpp.model.abs.dir" location="${this.src.dir}/${cpp.model.dir}"/> - <property name="lib.dir" location="${this.src.dir}/.libs"/> - <property name="xsd.abs.dir" location="${this.dir}/${xsd.dir}"/> - <property name="scagen.abs.dir" location="${this.dir}/tools/scagen"/> - - <property name="tuscany.cpp.extension.lib" value="tuscany_sca_cpp"/> - <property name="cpp.extension.install.dir" location="${tuscanySCA.install.dir}/extensions/cpp"/> - - <!-- - All the cpp and header files per subdirectory - New classes should be added to these properties - --> - - <property - name="osoa.cpp.files" - value="ComponentContext.cpp CompositeContext.cpp"/> - <property - name="osoa.h.files" - value="ComponentContext.h - CompositeContext.h - export.h - sca.h - ServiceRuntimeException.h"/> - - <property - name="cpp.core.cpp.files" - value="ComponentContextImpl.cpp - CompositeContextImpl.cpp - CPPExtension.cpp - CPPImplementationExtension.cpp - CPPInterfaceExtension.cpp - CPPServiceProxy.cpp - CPPServiceWrapper.cpp - TuscanyRuntime.cpp"/> - <property - name="cpp.core.h.files" - value="ComponentContextImpl.h - CompositeContextImpl.h - CPPExtension.h - CPPImplementationExtension.h - CPPInterfaceExtension.h - CPPServiceProxy.h - CPPServiceWrapper.h - TuscanyRuntime.h"/> - - <property - name="cpp.model.cpp.files" - value="CPPImplementation.cpp - CPPInterface.cpp - CPPReferenceBinding.cpp - CPPServiceBinding.cpp"/> - <property - name="cpp.model.h.files" - value="CPPImplementation.h - CPPInterface.h - CPPReferenceBinding.h - CPPServiceBinding.h"/> - - <property - name="xsd.files" - value="sca-implementation-cpp.xsd - sca-interface-cpp.xsd"/> - <!-- - Public targets - --> - <target name="all" description="Compile, link, and install all TuscanyScaNative cpp extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - <antcall target="install"/> - </target> - - <!-- TODO is tools/scagen included? I thought it moved to <root>/tools --> - - <target name="build" description="Compile and link all TuscanyScaNative cpp extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - </target> - - <target name="compile" description="Compile all TuscanyScaNative cpp extension source code"> - <antcall target="compile.cpp.osoa"/> - <antcall target="compile.cpp.core"/> - <antcall target="compile.cpp.model"/> - <ant target="scagen.jar" antfile="${scagen.abs.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="link" description="Link all TuscanyScaNative cpp extension source code"> - <cpp-link - outfile="${tuscany.cpp.extension.lib}" - outdir="${lib.dir}" - indir="${lib.dir}" - infiles="*${object.ext}"/> - </target> - - <target name="install" description="Install TuscanyScaNative cpp extension libraries and headers"> - <antcall target="install.cpp.osoa"/> - <antcall target="install.cpp.core"/> - <antcall target="install.cpp.model"/> - <antcall target="install.xsd"/> - <cpp-install-lib - lib="${tuscany.cpp.extension.lib}" - srcdir="${lib.dir}" - destrootdir="${cpp.extension.install.dir}"/> - <cpp-symlink - linkdir="${cpp.extension.install.dir}/lib" - link="${lib.prefix}${tuscany.cpp.extension.lib}${lib.ext}" - resource="${lib.prefix}${tuscany.cpp.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${cpp.extension.install.dir}/module" - link="${lib.prefix}${tuscany.cpp.extension.lib}${lib.ext}" - resourcedir="${cpp.extension.install.dir}/lib" - resource="${lib.prefix}${tuscany.cpp.extension.lib}${lib.ext}"/> - <ant target="install" antfile="${scagen.abs.dir}/build.xml" inheritAll="false"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative cpp extension compiled source code"> - <antcall target="clean.cpp.osoa"/> - <antcall target="clean.cpp.core"/> - <antcall target="clean.cpp.model"/> - <antcall target="clean.xsd"/> - <delete dir="${lib.dir}" quiet="true"/> - <cpp-clean-lib - lib="${tuscany.cpp.extension.lib}" - librootdir="${cpp.extension.install.dir}"/> - <cpp-clean-files - dir="${cpp.extension.install.dir}/module" - rmdir="true"/> - <cpp-clean-files - dir="${cpp.extension.install.dir}/include" - rmdir="true"/> - <ant target="clean" antfile="${scagen.abs.dir}/build.xml" inheritAll="false"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - --> - - <!-- compile --> - - <target name="compile.cpp.osoa"> - <cpp-compile - srcdir="${osoa.abs.dir}" - objdir="${lib.dir}" - infiles="${osoa.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.src.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_CPP_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.cpp.core"> - <cpp-compile - srcdir="${cpp.core.abs.dir}" - objdir="${lib.dir}" - infiles="${cpp.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.src.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_CPP_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.cpp.model"> - <cpp-compile - srcdir="${cpp.model.abs.dir}" - objdir="${lib.dir}" - infiles="${cpp.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.src.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_CPP_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <!-- install --> - - <target name="install.cpp.osoa"> - <cpp-install-files - srcdir="${osoa.abs.dir}" - files="${osoa.h.files}" - destdir="${cpp.extension.install.dir}/include/${osoa.dir}"/> - </target> - - <target name="install.cpp.core"> - <cpp-install-files - srcdir="${cpp.core.abs.dir}" - files="${cpp.core.h.files}" - destdir="${cpp.extension.install.dir}/include/${cpp.core.dir}"/> - </target> - - <target name="install.cpp.model"> - <cpp-install-files - srcdir="${cpp.model.abs.dir}" - files="${cpp.model.h.files}" - destdir="${cpp.extension.install.dir}/include/${cpp.model.dir}"/> - </target> - - <target name="install.xsd"> - <cpp-install-files - srcdir="${xsd.abs.dir}" - files="${xsd.files}" - destdir="${cpp.extension.install.dir}/${xsd.dir}"/> - </target> - - <!-- clean --> - - <target name="clean.cpp.osoa"> - <cpp-clean-files - dir="${cpp.extension.install.dir}/include/${osoa.dir}" - rmdir="true"/> - </target> - - <target name="clean.cpp.core"> - <cpp-clean-files - dir="${cpp.extension.install.dir}/include/${cpp.core.dir}" - rmdir="true"/> - </target> - - <target name="clean.cpp.model"> - <cpp-clean-files - dir="${cpp.extension.install.dir}/include/${cpp.model.dir}" - rmdir="true"/> - </target> - - <target name="clean.xsd"> - <cpp-clean-files - dir="${cpp.extension.install.dir}/${xsd.dir}" - rmdir="true"/> - </target> - -</project> diff --git a/cpp/sca/runtime/extensions/php/VSExpress/tuscany_sca_php.vcproj b/cpp/sca/runtime/extensions/php/VSExpress/tuscany_sca_php.vcproj deleted file mode 100644 index 1a8f668c19..0000000000 --- a/cpp/sca/runtime/extensions/php/VSExpress/tuscany_sca_php.vcproj +++ /dev/null @@ -1,273 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="tuscany_sca_php"
- ProjectGUID="{28E45334-1F59-45CB-93EE-FB787D81B6D2}"
- RootNamespace="tuscany_sca_php"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".\Debug"
- IntermediateDirectory=".\Debug"
- ConfigurationType="2"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="../../../runtime/extensions/php/src;../../../deploy/include;"$(TUSCANY_SDOCPP)/include";"$(PHP_HOME)/main";"$(PHP_HOME)/sapi/embed";"$(PHP_HOME)";"$(PHP_HOME)/zend";"$(PHP_HOME)/TSRM";"$(PHP_SCA_SDO_HOME)""
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;TUSCANY_SCA_PHP_EXPORTS;ZEND_WIN32;PHP_WIN32;ZTS;ZEND_DEBUG=0"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- DisableLanguageExtensions="false"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="false"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="tuscany_sca.lib tuscany_sdo.lib php5embed.lib php_sdo.lib"
- LinkIncremental="2"
- AdditionalLibraryDirectories="..\..\..\deploy\lib,$(TUSCANY_SDOCPP)\lib,$(PHP_HOME)\Debug_Ts"
- IgnoreDefaultLibraryNames="MSVCRT"
- GenerateDebugInformation="true"
- SubSystem="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- CommandLine="..\..\..\runtime\extensions\php\deploy.bat ..\..\..\ Debug"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;TUSCANY_SCA_PHP_EXPORTS"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="model"
- >
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\model\PHPImplementation.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\model\PHPImplementation.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\model\PHPInterface.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\model\PHPInterface.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\model\PHPReferenceBinding.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\model\PHPReferenceBinding.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\model\PHPServiceBinding.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\model\PHPServiceBinding.h"
- >
- </File>
- </Filter>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\export.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\php_sca.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPExtension.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPExtension.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPImplementationExtension.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPImplementationExtension.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPInterfaceExtension.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPInterfaceExtension.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPServiceProxy.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPServiceProxy.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPServiceWrapper.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\PHPServiceWrapper.h"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\sca.cpp"
- >
- </File>
- <File
- RelativePath="..\..\..\runtime\extensions\php\src\tuscany\sca\php\sca.h"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/cpp/sca/runtime/extensions/php/build.xml b/cpp/sca/runtime/extensions/php/build.xml deleted file mode 100644 index c16af17157..0000000000 --- a/cpp/sca/runtime/extensions/php/build.xml +++ /dev/null @@ -1,190 +0,0 @@ -<?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 name="TuscanyScaNative_extension_php" default="all" basedir="../../.."> - - <import file="${basedir}/antscripts/system.xml"/> - <import file="${basedir}/antscripts/compile-targets.xml"/> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="this.dir" location="${basedir}/runtime/extensions/php"/> - <property name="xsd.dir" location="${this.dir}/xsd"/> - <property name="php.core.dir" location="${this.dir}/src/tuscany/sca/php"/> - <property name="php.model.dir" location="${this.dir}/src/tuscany/sca/php/model"/> - <property name="lib.dir" location="${this.dir}/src/.libs"/> - - <property name="php.extension.lib" value="tuscany_sca_php"/> - <property name="php.extension.install.dir" location="${tuscanySCA.install.dir}/extensions/php"/> - - <!-- - All the cpp files per subdirectory - New classes should be added to these properties - --> - - <property - name="php.core.cpp.files" - value="PHPExtension.cpp - PHPImplementationExtension.cpp - PHPInterfaceExtension.cpp - PHPServiceProxy.cpp - PHPServiceWrapper.cpp - sca.cpp"/> - - <property - name="php.model.cpp.files" - value="PHPImplementation.cpp - PHPInterface.cpp - PHPReferenceBinding.cpp - PHPServiceBinding.cpp"/> - - <property - name="xsd.files" - value="sca-implementation-php.xsd"/> - - <!-- - Public targets - --> - <target name="all" description="Compile, link, and install all TuscanyScaNative php extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - <antcall target="install"/> - </target> - - <target name="build" description="Compile and link all TuscanyScaNative php extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - </target> - - <target name="compile" description="Compile all TuscanyScaNative php extension source code"> - <antcall target="compile.php.core"/> - <antcall target="compile.php.model"/> - </target> - - <target name="link" depends="check.php" if="enable_php" - description="Link all TuscanyScaNative php extension source code"> - <cpp-link - outfile="${php.extension.lib}" - outdir="${lib.dir}" - indir="${lib.dir}" - infiles="*${object.ext}"> - <custom-ld-elements> - <libset dir="${php.lib.dir}" libs="php5"/> - <libset dir="${php.sca.sdo.lib.dir}" libs="sdo"/> - </custom-ld-elements> - </cpp-link> - </target> - - <target name="install" description="Install TuscanyScaNative php extension libraries and headers"> - <antcall target="install.php.core"/> - <antcall target="install.php.xsd"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative php extension compiled source code"> - <antcall target="clean.php.core"/> - <antcall target="clean.php.xsd"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - --> - - <!-- compile --> - - <target name="compile.php.core" depends="check.php" if="enable_php"> - <cpp-compile - srcdir="${php.core.dir}" - objdir="${lib.dir}" - infiles="${php.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${sdo.include.dir}"/> - <includepath path="${this.dir}/src"/> - <includepath path="${php.include.dir}"/> - <includepath path="${php.include.dir}/main"/> - <includepath path="${php.include.dir}/sapi/embed"/> - <includepath path="${php.include.dir}/TSRM"/> - <includepath path="${php.include.dir}/Zend"/> - <includepath path="${php.sca.sdo.include.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_PHP_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.php.model" depends="check.php" if="enable_php"> - <cpp-compile - srcdir="${php.model.dir}" - objdir="${lib.dir}" - infiles="${php.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/src"/> - <includepath path="${php.include.dir}"/> - <includepath path="${php.include.dir}/TSRM"/> - <defineset if="windows" define="TUSCANY_SCA_PHP_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <!-- install --> - - <target name="install.php.core" depends="check.php" if="enable_php"> - <cpp-install-lib - lib="${php.extension.lib}" - srcdir="${lib.dir}" - destrootdir="${php.extension.install.dir}"/> - <cpp-symlink - linkdir="${php.extension.install.dir}/lib" - link="${lib.prefix}${php.extension.lib}${lib.ext}" - resource="${lib.prefix}${php.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${php.extension.install.dir}/module" - link="${lib.prefix}${php.extension.lib}${lib.ext}" - resourcedir="${php.extension.install.dir}/lib" - resource="${lib.prefix}${php.extension.lib}${lib.ext}"/> - </target> - - <target name="install.php.xsd" depends="check.php" if="enable_php"> - <cpp-install-files - files="${xsd.files}" - srcdir="${xsd.dir}" - destdir="${php.extension.install.dir}/xsd"/> - </target> - - <!-- clean --> - - <target name="clean.php.core"> - <cpp-clean-lib - lib="${php.extension.lib}" - librootdir="${php.extension.install.dir}"/> - <cpp-clean-files - dir="${php.extension.install.dir}/module" - rmdir="true"/> - <delete dir="${lib.dir}" quiet="true"/> - </target> - - <target name="clean.php.xsd"> - <cpp-clean-files - dir="${php.extension.install.dir}/xsd" - rmdir="true"/> - </target> - -</project> diff --git a/cpp/sca/runtime/extensions/python/build.xml b/cpp/sca/runtime/extensions/python/build.xml deleted file mode 100644 index 59598dada5..0000000000 --- a/cpp/sca/runtime/extensions/python/build.xml +++ /dev/null @@ -1,184 +0,0 @@ -<?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 name="TuscanyScaNative_extension_python" default="all" basedir="../../.."> - - <import file="${basedir}/antscripts/system.xml"/> - <import file="${basedir}/antscripts/compile-targets.xml"/> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="this.dir" location="${basedir}/runtime/extensions/python"/> - <property name="this.src.dir" location="${basedir}/runtime/extensions/python/src"/> - <property name="python.xsd.dir" location="${this.dir}/xsd"/> - <property name="python.core.dir" location="${this.src.dir}/tuscany/sca/python"/> - <property name="python.model.dir" location="${this.src.dir}/tuscany/sca/python/model"/> - <property name="lib.dir" location="${this.src.dir}/.libs"/> - <property name="python.extension.lib" value="tuscany_sca_python"/> - <property name="python.extension.install.dir" - location="${tuscanySCA.install.dir}/extensions/python"/> - - <!-- - All the cpp files per subdirectory - New classes should be added to these properties - --> - <property - name="python.core.cpp.files" - value="PythonExtension.cpp - PythonImplementationExtension.cpp - PythonInterfaceExtension.cpp - PythonServiceProxy.cpp - PythonServiceWrapper.cpp - sca_module.cpp"/> - - <property - name="python.model.cpp.files" - value="PythonImplementation.cpp - PythonInterface.cpp - PythonReferenceBinding.cpp - PythonServiceBinding.cpp"/> - - <property - name="python.xsd.files" - value="sca-implementation-python.xsd - sca-interface-python.xsd"/> - - <!-- - Public targets - --> - <target name="all" - description="Compile, link, and install all TuscanyScaNative python extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - <antcall target="install"/> - </target> - - <target name="build" description="Compile and link all TuscanyScaNative python extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - </target> - - <target name="compile" description="Compile all TuscanyScaNative python extension source code"> - <antcall target="compile.python.core"/> - <antcall target="compile.python.model"/> - </target> - - <target name="link" depends="check.python" if="enable_python" - description="Link all TuscanyScaNative python extension source code"> - <cpp-link - outfile="${python.extension.lib}" - outdir="${lib.dir}" - indir="${lib.dir}" - infiles="*${object.ext}"> - <custom-ld-elements> - <libset dir="${python.lib.dir}" libs="${python.version}"/> - </custom-ld-elements> - </cpp-link> - </target> - - <target name="install" description="Install TuscanyScaNative python extension libraries and headers"> - <antcall target="install.python.core"/> - <antcall target="install.python.xsd"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative python extension compiled source code"> - <antcall target="clean.python.core"/> - <antcall target="clean.python.xsd"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - --> - - <!-- compile --> - - <target name="compile.python.core" depends="check.python" if="enable_python"> - <cpp-compile - srcdir="${python.core.dir}" - objdir="${lib.dir}" - infiles="${python.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.src.dir}"/> - <includepath path="${python.include.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_PYTHON_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.python.model" depends="check.python" if="enable_python"> - <cpp-compile - srcdir="${python.model.dir}" - objdir="${lib.dir}" - infiles="${python.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.src.dir}"/> - <includepath path="${python.include.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_PYTHON_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <!-- install --> - - <target name="install.python.core" depends="check.python" if="enable_python"> - <cpp-install-lib - lib="${python.extension.lib}" - srcdir="${lib.dir}" - destrootdir="${python.extension.install.dir}"/> - <cpp-symlink - linkdir="${python.extension.install.dir}/lib" - link="${lib.prefix}${python.extension.lib}${lib.ext}" - resource="${lib.prefix}${python.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${python.extension.install.dir}/module" - link="${lib.prefix}${python.extension.lib}${lib.ext}" - resourcedir="${python.extension.install.dir}/lib" - resource="${lib.prefix}${python.extension.lib}${lib.ext}"/> - </target> - - <target name="install.python.xsd" depends="check.python" if="enable_python"> - <cpp-install-files - files="${python.xsd.files}" - srcdir="${python.xsd.dir}" - destdir="${python.extension.install.dir}/xsd"/> - </target> - - <!-- clean --> - - <target name="clean.python.core"> - <cpp-clean-lib - lib="${python.extension.lib}" - librootdir="${python.extension.install.dir}"/> - <cpp-clean-files - dir="${python.extension.install.dir}/module" - rmdir="true"/> - <delete dir="${lib.dir}" quiet="true"/> - </target> - - <target name="clean.python.xsd"> - <cpp-clean-files - dir="${python.extension.install.dir}/xsd" - rmdir="true"/> - </target> - -</project> diff --git a/cpp/sca/runtime/extensions/rest/build.xml b/cpp/sca/runtime/extensions/rest/build.xml deleted file mode 100644 index 277a1bcafd..0000000000 --- a/cpp/sca/runtime/extensions/rest/build.xml +++ /dev/null @@ -1,377 +0,0 @@ -<?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 name="TuscanyScaNative_extension_rest" default="all" basedir="../../.."> - - <import file="${basedir}/antscripts/system.xml"/> - <import file="${basedir}/antscripts/compile-targets.xml"/> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="this.dir" location="${basedir}/runtime/extensions/rest"/> - <property name="interface.dir" value="interface/src"/> - <property name="reference.dir" value="reference/curl/src"/> - <property name="service.dir" value="service/httpd/src"/> - <property name="rest.dir" value="tuscany/sca/rest"/> - <property name="xsd.dir" location="${this.dir}/xsd"/> - <property name="interface.core.dir" location="${this.dir}/${interface.dir}/${rest.dir}"/> - <property name="interface.model.dir" location="${this.dir}/${interface.dir}/${rest.dir}/model"/> - <property name="reference.core.dir" location="${this.dir}/${reference.dir}/${rest.dir}"/> - <property name="reference.model.dir" location="${this.dir}/${reference.dir}/${rest.dir}/model"/> - <property name="service.core.dir" location="${this.dir}/${service.dir}/${rest.dir}"/> - <property name="service.model.dir" location="${this.dir}/${service.dir}/${rest.dir}/model"/> - <property name="interface.lib.dir" location="${this.dir}/${interface.dir}/.libs"/> - <property name="reference.lib.dir" location="${this.dir}/${reference.dir}/.libs"/> - <property name="service.lib.dir" location="${this.dir}/${service.dir}/.libs"/> - - <property name="interface.extension.lib" value="tuscany_sca_rest_interface"/> - <property name="reference.extension.lib" value="tuscany_sca_rest_reference"/> - <property name="service.extension.lib" value="tuscany_sca_rest_service"/> - <property name="service.mod.lib" value="tuscany_sca_mod_rest"/> - <property name="rest.extension.install.dir" location="${tuscanySCA.install.dir}/extensions/rest"/> - - <!-- - All the cpp files per subdirectory - New classes should be added to these properties - --> - - <property - name="interface.core.cpp.files" - value="RESTInterfaceExtension.cpp"/> - - <property - name="interface.model.cpp.files" - value="RESTInterface.cpp"/> - - <property - name="reference.core.cpp.files" - value="RESTServiceBindingExtension.cpp - RESTServiceWrapper.cpp"/> - - <property - name="reference.model.cpp.files" - value="RESTServiceBinding.cpp"/> - - <property - name="service.core.cpp.files" - value="ModREST.cpp - RESTReferenceBindingExtension.cpp - RESTServiceProxy.cpp"/> - - <property - name="service.model.cpp.files" - value="RESTReferenceBinding.cpp"/> - - <property - name="service.core.object.files" - value="RESTReferenceBindingExtension${object.ext} - RESTReferenceBinding${object.ext} - RESTServiceProxy${object.ext}"/> - - <property - name="service.mod.object.files" - value="ModREST${object.ext}"/> - - <property - name="xsd.files" - value="sca-binding-rest.xsd - sca-interface-rest.xsd"/> - <!-- - Public targets - --> - <target name="all" description="Compile, link, and install all TuscanyScaNative rest extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - <antcall target="install"/> - </target> - - <target name="build" description="Compile and link all TuscanyScaNative rest extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - </target> - - <target name="compile" description="Compile all TuscanyScaNative rest extension source code"> - <antcall target="compile.rest.interface.core"/> - <antcall target="compile.rest.interface.model"/> - <antcall target="compile.rest.reference.core"/> - <antcall target="compile.rest.reference.model"/> - <antcall target="compile.rest.service.core"/> - <antcall target="compile.rest.service.model"/> - </target> - - <target name="link" description="Link all TuscanyScaNative rest extension source code"> - <antcall target="link.rest.interface"/> - <antcall target="link.rest.reference"/> - <antcall target="link.rest.service"/> - </target> - - <target name="install" description="Install TuscanyScaNative rest extension libraries and headers"> - <antcall target="install.rest.interface"/> - <antcall target="install.rest.reference"/> - <antcall target="install.rest.service"/> - <antcall target="install.rest.xsd"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative rest extension compiled source code"> - <antcall target="clean.rest.interface"/> - <antcall target="clean.rest.reference"/> - <antcall target="clean.rest.service"/> - <antcall target="clean.rest.xsd"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - --> - - <!-- compile --> - - <target name="compile.rest.interface.core" depends="check.rest" if="enable_rest"> - <cpp-compile - srcdir="${interface.core.dir}" - objdir="${interface.lib.dir}" - infiles="${interface.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${interface.dir}"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.rest.interface.model" depends="check.rest" if="enable_rest"> - <cpp-compile - srcdir="${interface.model.dir}" - objdir="${interface.lib.dir}" - infiles="${interface.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${interface.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_REST_INTERFACE_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.rest.reference.core" depends="check.rest" if="enable_rest"> - <cpp-compile - srcdir="${reference.core.dir}" - objdir="${reference.lib.dir}" - infiles="${reference.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${interface.dir}"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.rest.reference.model" depends="check.rest" if="enable_rest"> - <cpp-compile - srcdir="${reference.model.dir}" - objdir="${reference.lib.dir}" - infiles="${reference.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${reference.dir}"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.rest.service.core" depends="check.rest" if="enable_rest"> - <cpp-compile - srcdir="${service.core.dir}" - objdir="${service.lib.dir}" - infiles="${service.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${rest.httpd.include.dir}"/> - <includepath path="${this.dir}/${interface.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_REST_SERVICE_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.rest.service.model" depends="check.rest" if="enable_rest"> - <cpp-compile - srcdir="${service.model.dir}" - objdir="${service.lib.dir}" - infiles="${service.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${service.dir}"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <!-- link --> - - <target name="link.rest.interface" depends="check.rest" if="enable_rest"> - <cpp-link - outfile="${interface.extension.lib}" - outdir="${interface.lib.dir}" - indir="${interface.lib.dir}" - infiles="*${object.ext}"/> - </target> - - <target name="link.rest.reference" depends="check.rest" if="enable_rest"> - <cpp-link - outfile="${reference.extension.lib}" - outdir="${reference.lib.dir}" - indir="${reference.lib.dir}" - infiles="*${object.ext}"> - <custom-ld-elements> - <libset dir="${interface.lib.dir}" libs="${interface.extension.lib}"/> - <libset dir="${rest.curl.lib.dir}" libs="curl"/> - </custom-ld-elements> - </cpp-link> - </target> - - <target name="link.rest.service" depends="check.rest" if="enable_rest"> - <cpp-link - outfile="${service.extension.lib}" - outdir="${service.lib.dir}" - indir="${service.lib.dir}" - infiles="${service.core.object.files}"> - <custom-ld-elements> - <libset dir="${interface.lib.dir}" libs="${interface.extension.lib}"/> - </custom-ld-elements> - </cpp-link> - <cpp-link - outfile="${service.mod.lib}" - outdir="${service.lib.dir}" - indir="${service.lib.dir}" - infiles="${service.mod.object.files}"> - <custom-ld-elements> - <libset dir="${service.lib.dir}" libs="${service.extension.lib}"/> - <libset dir="${interface.lib.dir}" libs="${interface.extension.lib}"/> - </custom-ld-elements> - </cpp-link> - </target> - - <!-- install --> - - <target name="install.rest.interface" depends="check.rest" if="enable_rest"> - <cpp-install-lib - lib="${interface.extension.lib}" - srcdir="${interface.lib.dir}" - destrootdir="${rest.extension.install.dir}/interface"/> - <cpp-symlink - linkdir="${rest.extension.install.dir}/interface/lib" - link="${lib.prefix}${interface.extension.lib}${lib.ext}" - resource="${lib.prefix}${interface.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${rest.extension.install.dir}/interface/module" - link="${lib.prefix}${interface.extension.lib}${lib.ext}" - resourcedir="${rest.extension.install.dir}/interface/lib" - resource="${lib.prefix}${interface.extension.lib}${lib.ext}"/> - </target> - - <target name="install.rest.reference" depends="check.rest" if="enable_rest"> - <cpp-install-lib - lib="${reference.extension.lib}" - srcdir="${reference.lib.dir}" - destrootdir="${rest.extension.install.dir}/reference"/> - <cpp-symlink - linkdir="${rest.extension.install.dir}/reference/lib" - link="${lib.prefix}${reference.extension.lib}${lib.ext}" - resource="${lib.prefix}${reference.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${rest.extension.install.dir}/reference/module" - link="${lib.prefix}${reference.extension.lib}${lib.ext}" - resourcedir="${rest.extension.install.dir}/reference/lib" - resource="${lib.prefix}${reference.extension.lib}${lib.ext}"/> - </target> - - <target name="install.rest.service" depends="check.rest" if="enable_rest"> - <!-- install and link tuscany_sca_rest_service library --> - <cpp-install-lib - lib="${service.extension.lib}" - srcdir="${service.lib.dir}" - destrootdir="${rest.extension.install.dir}/service"/> - <cpp-symlink - linkdir="${rest.extension.install.dir}/service/lib" - link="${lib.prefix}${service.extension.lib}${lib.ext}" - resource="${lib.prefix}${service.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${rest.extension.install.dir}/service/module" - link="${lib.prefix}${service.extension.lib}${lib.ext}" - resourcedir="${rest.extension.install.dir}/service/lib" - resource="${lib.prefix}${service.extension.lib}${lib.ext}"/> - - <!-- install and link tuscany_sca_mod_rest library --> - <cpp-install-lib - lib="${service.mod.lib}" - srcdir="${service.lib.dir}" - destrootdir="${rest.extension.install.dir}/service"/> - <cpp-symlink - linkdir="${rest.extension.install.dir}/service/lib" - link="${lib.prefix}${service.mod.lib}${lib.ext}" - resource="${lib.prefix}${service.mod.lib}${lib.ext}${tuscanySCA.library.version}"/> - </target> - - <target name="install.rest.xsd" depends="check.rest" if="enable_rest"> - <cpp-install-files - files="${xsd.files}" - srcdir="${xsd.dir}" - destdir="${rest.extension.install.dir}/xsd"/> - </target> - - <!-- clean --> - - <target name="clean.rest.interface"> - <cpp-clean-lib - lib="${interface.extension.lib}" - librootdir="${rest.extension.install.dir}/interface"/> - <cpp-clean-files - dir="${rest.extension.install.dir}/interface/module" - rmdir="true"/> - <cpp-clean-files - dir="${rest.extension.install.dir}/interface" - rmdir="true"/> - <delete dir="${interface.lib.dir}" quiet="true"/> - </target> - - <target name="clean.rest.reference"> - <cpp-clean-lib - lib="${reference.extension.lib}" - librootdir="${rest.extension.install.dir}/reference"/> - <cpp-clean-files - dir="${rest.extension.install.dir}/reference/module" - rmdir="true"/> - <cpp-clean-files - dir="${rest.extension.install.dir}/reference" - rmdir="true"/> - <delete dir="${reference.lib.dir}" quiet="true"/> - </target> - - <target name="clean.rest.service"> - <cpp-clean-lib - lib="${service.extension.lib}" - librootdir="${rest.extension.install.dir}/service"/> - <cpp-clean-files - dir="${rest.extension.install.dir}/service/module" - rmdir="true"/> - <cpp-clean-lib - lib="${service.mod.lib}" - librootdir="${rest.extension.install.dir}/service"/> - <delete dir="${service.lib.dir}" quiet="true"/> - </target> - - <target name="clean.rest.xsd"> - <cpp-clean-files - dir="${rest.extension.install.dir}/xsd" - rmdir="true"/> - </target> - -</project> diff --git a/cpp/sca/runtime/extensions/ruby/build.xml b/cpp/sca/runtime/extensions/ruby/build.xml deleted file mode 100644 index 414ff9bbf8..0000000000 --- a/cpp/sca/runtime/extensions/ruby/build.xml +++ /dev/null @@ -1,232 +0,0 @@ -<?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 name="TuscanyScaNative_extension_ruby" default="all" basedir="../../.."> - - <import file="${basedir}/antscripts/system.xml"/> - <import file="${basedir}/antscripts/compile-targets.xml"/> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="this.dir" location="${basedir}/runtime/extensions/ruby"/> - <property name="this.src.dir" location="${basedir}/runtime/extensions/ruby/src"/> - <property name="ruby.xsd.dir" location="${this.dir}/xsd"/> - <property name="ruby.core.dir" location="${this.src.dir}/tuscany/sca/ruby"/> - <property name="ruby.model.dir" location="${this.src.dir}/tuscany/sca/ruby/model"/> - <property name="ruby.extension.dir" location="${this.dir}/extension/src"/> - <property name="lib.extension.dir" location="${this.dir}/extension/.libs"/> - <property name="lib.dir" location="${this.src.dir}/.libs"/> - <property name="ruby.core.lib" value="tuscany_sca_ruby_lang"/> - <property name="ruby.extension.lib" value="tuscany_sca_ruby"/> - <property name="ruby.install.dir" location="${tuscanySCA.install.dir}/extensions/ruby"/> - - <!-- - All the cpp files per subdirectory - New classes should be added to these properties - --> - <property - name="ruby.core.cpp.files" - value="RubyCompositeContext.cpp - RubyExtension.cpp - RubyImplementationExtension.cpp - RubyServiceProxy.cpp - RubyServiceWrapper.cpp"/> - - <property - name="ruby.model.cpp.files" - value="RubyImplementation.cpp - RubyReferenceBinding.cpp - RubyServiceBinding.cpp"/> - - <property - name="ruby.extension.cpp.files" - value="Extension.cpp"/> - - <property - name="ruby.xsd.files" - value="sca-implementation-ruby.xsd"/> - - <!-- - Public targets - --> - <target name="all" - description="Compile, link, and install all TuscanyScaNative ruby extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - <antcall target="install"/> - </target> - - <target name="build" description="Compile and link all TuscanyScaNative ruby extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - </target> - - <target name="compile" description="Compile all TuscanyScaNative ruby extension source code"> - <antcall target="compile.ruby.core"/> - <antcall target="compile.ruby.model"/> - <antcall target="compile.ruby.extension"/> - </target> - - <target name="link" description="Link all TuscanyScaNative ruby extension source code"> - <antcall target="link.ruby.core"/> - <antcall target="link.ruby.extension"/> - </target> - - <target name="install" description="Install TuscanyScaNative ruby extension libraries and headers"> - <antcall target="install.ruby.core"/> - <antcall target="install.ruby.extension"/> - <antcall target="install.ruby.xsd"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative ruby extension compiled source code"> - <antcall target="clean.ruby.core"/> - <antcall target="clean.ruby.extension"/> - <antcall target="clean.ruby.xsd"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - --> - - <!-- compile --> - - <target name="compile.ruby.core" depends="check.ruby" if="enable_ruby"> - <cpp-compile - srcdir="${ruby.core.dir}" - objdir="${lib.dir}" - infiles="${ruby.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.src.dir}"/> - <includepath path="${ruby.include.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_RUBY_LANG_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.ruby.model" depends="check.ruby" if="enable_ruby"> - <cpp-compile - srcdir="${ruby.model.dir}" - objdir="${lib.dir}" - infiles="${ruby.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.src.dir}"/> - <includepath path="${ruby.include.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_RUBY_LANG_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.ruby.extension" depends="check.ruby" if="enable_ruby"> - <cpp-compile - srcdir="${ruby.extension.dir}" - objdir="${lib.extension.dir}" - infiles="${ruby.extension.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.src.dir}"/> - <includepath path="${ruby.include.dir}"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <!-- link --> - - <target name="link.ruby.core" depends="check.ruby" if="enable_ruby"> - <cpp-link - outfile="${ruby.core.lib}" - outdir="${lib.dir}" - indir="${lib.dir}" - infiles="*${object.ext}"> - <custom-ld-elements> - <libset dir="${ruby.lib.dir}" libs="ruby"/> - </custom-ld-elements> - </cpp-link> - </target> - - <target name="link.ruby.extension" depends="check.ruby" if="enable_ruby"> - <cpp-link - outfile="${ruby.extension.lib}" - outdir="${lib.extension.dir}" - indir="${lib.extension.dir}" - infiles="*${object.ext}"/> - </target> - - <!-- install --> - - <target name="install.ruby.core" depends="check.ruby" if="enable_ruby"> - <cpp-install-lib - lib="${ruby.core.lib}" - srcdir="${lib.dir}" - destrootdir="${ruby.install.dir}"/> - <cpp-symlink - linkdir="${ruby.install.dir}/lib" - link="${lib.prefix}${ruby.core.lib}${lib.ext}" - resource="${lib.prefix}${ruby.core.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${ruby.install.dir}/module" - link="${lib.prefix}${ruby.core.lib}${lib.ext}" - resourcedir="${ruby.install.dir}/lib" - resource="${lib.prefix}${ruby.core.lib}${lib.ext}"/> - </target> - - <target name="install.ruby.extension" depends="check.ruby" if="enable_ruby"> - <cpp-install-file - srcfile="${lib.prefix}${ruby.extension.lib}${lib.ext}" - destfile="${ruby.extension.lib}${lib.ext}" - srcdir="${lib.extension.dir}" - destdir="${ruby.install.dir}/lib"/> - </target> - - <target name="install.ruby.xsd" depends="check.ruby" if="enable_ruby"> - <cpp-install-files - files="${ruby.xsd.files}" - srcdir="${ruby.xsd.dir}" - destdir="${ruby.install.dir}/xsd"/> - </target> - - <!-- clean --> - - <target name="clean.ruby.core"> - <cpp-clean-lib - lib="${ruby.core.lib}" - librootdir="${ruby.install.dir}"/> - <cpp-clean-files - dir="${ruby.install.dir}/module" - rmdir="true"/> - <delete dir="${lib.dir}" quiet="true"/> - </target> - - <target name="clean.ruby.extension"> - <cpp-clean-files - dir="${ruby.install.dir}/lib" - files="${ruby.extension.lib}${lib.ext}" - rmdir="true"/> - <delete dir="${lib.extension.dir}" quiet="true"/> - </target> - - <target name="clean.ruby.xsd"> - <cpp-clean-files - dir="${ruby.install.dir}/xsd" - rmdir="true"/> - </target> - -</project> diff --git a/cpp/sca/runtime/extensions/sca/build.xml b/cpp/sca/runtime/extensions/sca/build.xml deleted file mode 100644 index e83ba9c15c..0000000000 --- a/cpp/sca/runtime/extensions/sca/build.xml +++ /dev/null @@ -1,252 +0,0 @@ -<?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 name="TuscanyScaNative_extension_sca" default="all" basedir="../../.."> - - <import file="${basedir}/antscripts/system.xml"/> - <import file="${basedir}/antscripts/compile-targets.xml"/> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="this.dir" location="${basedir}/runtime/extensions/sca"/> - <property name="reference.dir" value="reference/src"/> - <property name="service.dir" value="service/src"/> - <property name="binding.dir" value="tuscany/sca/binding"/> - <property name="xsd.dir" location="${this.dir}/xsd"/> - <property name="reference.core.dir" location="${this.dir}/${reference.dir}/${binding.dir}"/> - <property name="reference.model.dir" location="${this.dir}/${reference.dir}/${binding.dir}/model"/> - <property name="service.core.dir" location="${this.dir}/${service.dir}/${binding.dir}"/> - <property name="service.model.dir" location="${this.dir}/${service.dir}/${binding.dir}/model"/> - <property name="reference.lib.dir" location="${this.dir}/${reference.dir}/.libs"/> - <property name="service.lib.dir" location="${this.dir}/${service.dir}/.libs"/> - - <property name="reference.extension.lib" value="tuscany_sca_binding_reference"/> - <property name="service.extension.lib" value="tuscany_sca_binding_service"/> - <property name="sca.extension.install.dir" location="${tuscanySCA.install.dir}/extensions/sca"/> - - <!-- - All the cpp files per subdirectory - New classes should be added to these properties - --> - - <property - name="reference.core.cpp.files" - value="SCAServiceBindingExtension.cpp"/> - - <property - name="reference.model.cpp.files" - value="SCAServiceBinding.cpp"/> - - <property - name="service.core.cpp.files" - value="SCAReferenceBindingExtension.cpp"/> - - <property - name="service.model.cpp.files" - value="SCAReferenceBinding.cpp"/> - - <property - name="xsd.files" - value="sca-binding-sca.xsd"/> - <!-- - Public targets - --> - <target name="all" description="Compile, link, and install all TuscanyScaNative sca extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - <antcall target="install"/> - </target> - - <target name="build" description="Compile and link all TuscanyScaNative sca extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - </target> - - <target name="compile" description="Compile all TuscanyScaNative sca extension source code"> - <antcall target="compile.sca.reference.core"/> - <antcall target="compile.sca.reference.model"/> - <antcall target="compile.sca.service.core"/> - <antcall target="compile.sca.service.model"/> - </target> - - <target name="link" description="Link all TuscanyScaNative sca extension source code"> - <antcall target="link.sca.reference"/> - <antcall target="link.sca.service"/> - </target> - - <target name="install" description="Install TuscanyScaNative sca extension libraries and headers"> - <antcall target="install.sca.reference"/> - <antcall target="install.sca.service"/> - <antcall target="install.sca.xsd"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative sca extension compiled source code"> - <antcall target="clean.sca.reference"/> - <antcall target="clean.sca.service"/> - <antcall target="clean.sca.xsd"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - --> - - <!-- compile --> - - <target name="compile.sca.reference.core" depends="check.ws" if="enable_ws"> - <cpp-compile - srcdir="${reference.core.dir}" - objdir="${reference.lib.dir}" - infiles="${reference.core.cpp.files}"/> - </target> - - <target name="compile.sca.reference.model" depends="check.ws" if="enable_ws"> - <cpp-compile - srcdir="${reference.model.dir}" - objdir="${reference.lib.dir}" - infiles="${reference.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${reference.dir}"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.sca.service.core" depends="check.ws" if="enable_ws"> - <cpp-compile - srcdir="${service.core.dir}" - objdir="${service.lib.dir}" - infiles="${service.core.cpp.files}"/> - </target> - - <target name="compile.sca.service.model" depends="check.ws" if="enable_ws"> - <cpp-compile - srcdir="${service.model.dir}" - objdir="${service.lib.dir}" - infiles="${service.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${service.dir}"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <!-- link --> - - <target name="link.sca.reference" depends="check.ws" if="enable_ws"> - <cpp-link - outfile="${reference.extension.lib}" - outdir="${reference.lib.dir}" - indir="${reference.lib.dir}" - infiles="*${object.ext}"> - <custom-ld-elements> - <libset dir="${sdo.lib.dir}" libs="tuscany_sdo_axiom"/> - </custom-ld-elements> - </cpp-link> - </target> - - <target name="link.sca.service" depends="check.ws" if="enable_ws"> - <cpp-link - outfile="${service.extension.lib}" - outdir="${service.lib.dir}" - indir="${service.lib.dir}" - infiles="*${object.ext}"> - <custom-ld-elements> - <libset dir="${sdo.lib.dir}" libs="tuscany_sdo_axiom"/> - </custom-ld-elements> - </cpp-link> - </target> - - <!-- install --> - - <target name="install.sca.reference" depends="check.ws" if="enable_ws"> - <cpp-install-lib - lib="${reference.extension.lib}" - srcdir="${reference.lib.dir}" - destrootdir="${sca.extension.install.dir}/reference"/> - <cpp-symlink - linkdir="${sca.extension.install.dir}/reference/lib" - link="${lib.prefix}${reference.extension.lib}${lib.ext}" - resource="${lib.prefix}${reference.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${sca.extension.install.dir}/reference/module" - link="${lib.prefix}${reference.extension.lib}${lib.ext}" - resourcedir="${sca.extension.install.dir}/reference/lib" - resource="${lib.prefix}${reference.extension.lib}${lib.ext}"/> - </target> - - <target name="install.sca.service" depends="check.ws" if="enable_ws"> - <cpp-install-lib - lib="${service.extension.lib}" - srcdir="${service.lib.dir}" - destrootdir="${sca.extension.install.dir}/service"/> - <cpp-symlink - linkdir="${sca.extension.install.dir}/service/lib" - link="${lib.prefix}${service.extension.lib}${lib.ext}" - resource="${lib.prefix}${service.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${sca.extension.install.dir}/service/module" - link="${lib.prefix}${service.extension.lib}${lib.ext}" - resourcedir="${sca.extension.install.dir}/service/lib" - resource="${lib.prefix}${service.extension.lib}${lib.ext}"/> - </target> - - <target name="install.sca.xsd" depends="check.ws" if="enable_ws"> - <cpp-install-files - files="${xsd.files}" - srcdir="${xsd.dir}" - destdir="${sca.extension.install.dir}/xsd"/> - </target> - - <!-- clean --> - - <target name="clean.sca.reference"> - <cpp-clean-lib - lib="${reference.extension.lib}" - librootdir="${sca.extension.install.dir}/reference"/> - <cpp-clean-files - dir="${sca.extension.install.dir}/reference/module" - rmdir="true"/> - <cpp-clean-files - dir="${sca.extension.install.dir}/reference" - rmdir="true"/> - <delete dir="${reference.lib.dir}" quiet="true"/> - </target> - - <target name="clean.sca.service"> - <cpp-clean-lib - lib="${service.extension.lib}" - librootdir="${sca.extension.install.dir}/service"/> - <cpp-clean-files - dir="${sca.extension.install.dir}/service/module" - rmdir="true"/> - <cpp-clean-files - dir="${sca.extension.install.dir}/service" - rmdir="true"/> - <delete dir="${service.lib.dir}" quiet="true"/> - </target> - - <target name="clean.sca.xsd"> - <cpp-clean-files - dir="${sca.extension.install.dir}/xsd" - rmdir="true"/> - </target> - -</project> diff --git a/cpp/sca/runtime/extensions/ws/build.xml b/cpp/sca/runtime/extensions/ws/build.xml deleted file mode 100644 index 2994ea5edb..0000000000 --- a/cpp/sca/runtime/extensions/ws/build.xml +++ /dev/null @@ -1,383 +0,0 @@ -<?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 name="TuscanyScaNative_extension_ws" default="all" basedir="../../.."> - - <import file="${basedir}/antscripts/system.xml"/> - <import file="${basedir}/antscripts/compile-targets.xml"/> - - <!-- - Notice that the basedir for this project is set to the TuscanySCA root dir - This makes path setting in system.xml much simpler, but we'll just have to - set a property here to this directory. - --> - <property name="this.dir" location="${basedir}/runtime/extensions/ws"/> - <property name="reference.dir" value="reference/axis2c/src"/> - <property name="service.dir" value="service/axis2c/src"/> - <property name="ws.dir" value="tuscany/sca/ws"/> - <property name="xsd.dir" location="${this.dir}/xsd"/> - <property name="reference.core.dir" location="${this.dir}/${reference.dir}/${ws.dir}"/> - <property name="reference.model.dir" location="${this.dir}/${reference.dir}/${ws.dir}/model"/> - <property name="service.core.dir" location="${this.dir}/${service.dir}/${ws.dir}"/> - <property name="service.model.dir" location="${this.dir}/${service.dir}/${ws.dir}/model"/> - <property name="reference.lib.dir" location="${this.dir}/${reference.dir}/.libs"/> - <property name="service.lib.dir" location="${this.dir}/${service.dir}/.libs"/> - - <property name="reference.extension.lib" value="tuscany_sca_ws_reference"/> - <property name="service.extension.lib" value="tuscany_sca_ws_service"/> - <property name="dispatcher.extension.lib" value="tuscany_sca_ws_dispatcher"/> - <property name="ws.extension.install.dir" location="${tuscanySCA.install.dir}/extensions/ws"/> - - <!-- - All the cpp files per subdirectory - New classes should be added to these properties - --> - - <property - name="reference.core.cpp.files" - value="Axis2Client.cpp - WSServiceBindingExtension.cpp - WSServiceWrapper.cpp"/> - - <property - name="reference.model.cpp.files" - value="WSServiceBinding.cpp"/> - - <property - name="service.core.cpp.files" - value="Axis2Dispatcher.cpp - Axis2DispatcherModule.cpp - Axis2Service.cpp - Axis2Utils.cpp - WSReferenceBindingExtension.cpp - WSServiceProxy.cpp"/> - - <property - name="service.model.cpp.files" - value="WSReferenceBinding.cpp"/> - - <property - name="service.core.obj.files" - value="Axis2Service${object.ext} - Axis2Utils${object.ext} - WSReferenceBindingExtension${object.ext} - WSReferenceBinding${object.ext} - WSServiceProxy${object.ext}"/> - - <property - name="service.core.dispatcher.obj.files" - value="Axis2Dispatcher${object.ext} - Axis2DispatcherModule${object.ext}"/> - - <property - name="xsd.files" - value="sca-binding-webservice.xsd"/> - - <!-- - Public targets - --> - <target name="all" description="Compile, link, and install all TuscanyScaNative ws extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - <antcall target="install"/> - </target> - - <target name="build" description="Compile and link all TuscanyScaNative ws extension source code"> - <antcall target="compile"/> - <antcall target="link"/> - </target> - - <target name="compile" description="Compile all TuscanyScaNative ws extension source code"> - <antcall target="compile.ws.reference.core"/> - <antcall target="compile.ws.reference.model"/> - <antcall target="compile.ws.service.core"/> - <antcall target="compile.ws.service.model"/> - </target> - - <target name="link" description="Link all TuscanyScaNative ws extension source code"> - <antcall target="link.ws.reference"/> - <antcall target="link.ws.service"/> - <antcall target="link.ws.service.dispatcher"/> - </target> - - <target name="install" description="Install TuscanyScaNative ws extension libraries and headers"> - <antcall target="install.ws.reference"/> - <antcall target="install.ws.service"/> - <antcall target="install.ws.xsd"/> - </target> - - <target name="clean" description="Clean all TuscanyScaNative ws extension compiled source code"> - <antcall target="clean.ws.reference"/> - <antcall target="clean.ws.service"/> - <antcall target="clean.ws.xsd"/> - </target> - - <!-- - Internal targets - They can still be called, they're just not described, so wont show up in "ant -p" - --> - - <!-- compile --> - - <target name="compile.ws.reference.core" depends="check.ws" if="enable_ws"> - <cpp-compile - srcdir="${reference.core.dir}" - objdir="${reference.lib.dir}" - infiles="${reference.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${reference.dir}"/> - <includepath path="${axis2c.home.dir}/include"/> - <defineset if="windows" define="TUSCANY_SCA_WS_REFERENCE_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.ws.reference.model" depends="check.ws" if="enable_ws"> - <cpp-compile - srcdir="${reference.model.dir}" - objdir="${reference.lib.dir}" - infiles="${reference.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${reference.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_WS_REFERENCE_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.ws.service.core" depends="check.ws" if="enable_ws"> - <cpp-compile - srcdir="${service.core.dir}" - objdir="${service.lib.dir}" - infiles="${service.core.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${service.dir}"/> - <includepath path="${axis2c.home.dir}/include"/> - <defineset if="windows" define="TUSCANY_SCA_WS_SERVICE_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <target name="compile.ws.service.model" depends="check.ws" if="enable_ws"> - <cpp-compile - srcdir="${service.model.dir}" - objdir="${service.lib.dir}" - infiles="${service.model.cpp.files}"> - <custom-cc-elements> - <includepath path="${this.dir}/${service.dir}"/> - <defineset if="windows" define="TUSCANY_SCA_WS_SERVICE_EXPORTS"/> - </custom-cc-elements> - </cpp-compile> - </target> - - <!-- link --> - - <target name="link.ws.reference" depends="check.ws" if="enable_ws"> - <cpp-link - outfile="${reference.extension.lib}" - outdir="${reference.lib.dir}" - indir="${reference.lib.dir}" - infiles="*${object.ext}"> - <custom-ld-elements> - <libset dir="${sdo.lib.dir}" libs="tuscany_sdo_axiom"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_axiom"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_engine"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_minizip"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_parser"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_http_receiver"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_http_sender"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_util"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_wsdl"/> - <libset dir="${axis2c.home.dir}/lib" libs="woden"/> - </custom-ld-elements> - </cpp-link> - </target> - - <target name="link.ws.service" depends="check.ws" if="enable_ws"> - <cpp-link - outfile="${service.extension.lib}" - outdir="${service.lib.dir}" - indir="${service.lib.dir}" - infiles="${service.core.obj.files}"> - <custom-ld-elements> - <libset dir="${sdo.lib.dir}" libs="tuscany_sdo_axiom"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_axiom"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_engine"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_minizip"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_parser"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_http_receiver"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_http_sender"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_util"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_wsdl"/> - <libset dir="${axis2c.home.dir}/lib" libs="woden"/> - </custom-ld-elements> - </cpp-link> - </target> - - <target name="link.ws.service.dispatcher" depends="check.ws" if="enable_ws"> - <cpp-link - outfile="${dispatcher.extension.lib}" - outdir="${service.lib.dir}" - indir="${service.lib.dir}" - infiles="${service.core.dispatcher.obj.files}"> - <custom-ld-elements> - <libset dir="${sdo.lib.dir}" libs="tuscany_sdo_axiom"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_axiom"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_engine"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_minizip"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_parser"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_http_receiver"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_http_sender"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_util"/> - <libset dir="${axis2c.home.dir}/lib" libs="axis2_wsdl"/> - <libset dir="${axis2c.home.dir}/lib" libs="woden"/> - </custom-ld-elements> - </cpp-link> - </target> - - <!-- install --> - - <target name="install.ws.reference" depends="check.ws" if="enable_ws"> - <cpp-install-lib - lib="${reference.extension.lib}" - srcdir="${reference.lib.dir}" - destrootdir="${ws.extension.install.dir}/reference"/> - <cpp-symlink - linkdir="${ws.extension.install.dir}/reference/lib" - link="${lib.prefix}${reference.extension.lib}${lib.ext}" - resource="${lib.prefix}${reference.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${ws.extension.install.dir}/reference/module" - link="${lib.prefix}${reference.extension.lib}${lib.ext}" - resourcedir="${ws.extension.install.dir}/reference/lib" - resource="${lib.prefix}${reference.extension.lib}${lib.ext}"/> - </target> - - <target name="install.ws.service" depends="check.ws" if="enable_ws"> - <!-- install files in the root service extension directory --> - <cpp-install-file - srcfile="axis2.xml" - srcdir="${this.dir}/${service.dir}" - destdir="${ws.extension.install.dir}/service" - executable="false"/> - <cpp-install-file - srcfile="deploy${script.ext}" - srcdir="${this.dir}/${service.dir}" - destdir="${ws.extension.install.dir}/service"/> - - <!-- install and link service extenstion lib --> - <cpp-install-lib - lib="${service.extension.lib}" - srcdir="${service.lib.dir}" - destrootdir="${ws.extension.install.dir}/service"/> - <cpp-symlink - linkdir="${ws.extension.install.dir}/service/lib" - link="${lib.prefix}${service.extension.lib}${lib.ext}" - resource="${lib.prefix}${service.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - <cpp-symlink - linkdir="${ws.extension.install.dir}/service/module" - link="${lib.prefix}${service.extension.lib}${lib.ext}" - resourcedir="${ws.extension.install.dir}/service/lib" - resource="${lib.prefix}${service.extension.lib}${lib.ext}"/> - - <!-- install and link service dispatcher extenstion lib --> - <cpp-install-lib - lib="${dispatcher.extension.lib}" - srcdir="${service.lib.dir}" - destrootdir="${ws.extension.install.dir}/service"/> - <cpp-symlink - linkdir="${ws.extension.install.dir}/service/lib" - link="${lib.prefix}${dispatcher.extension.lib}${lib.ext}" - resource="${lib.prefix}${dispatcher.extension.lib}${lib.ext}${tuscanySCA.library.version}"/> - - <!-- create and setup the service/modules/tuscany directory --> - <cpp-symlink - linkdir="${ws.extension.install.dir}/service/modules/tuscany" - link="${lib.prefix}${dispatcher.extension.lib}${lib.ext}" - resourcedir="${ws.extension.install.dir}/service/lib" - resource="${lib.prefix}${dispatcher.extension.lib}${lib.ext}"/> - <cpp-install-file - srcfile="module.xml" - srcdir="${this.dir}/${service.dir}" - destdir="${ws.extension.install.dir}/service/modules/tuscany" - executable="false"/> - - <!-- create and setup the service/services/tuscany directory --> - <cpp-symlink - linkdir="${ws.extension.install.dir}/service/services/tuscany" - link="${lib.prefix}${service.extension.lib}${lib.ext}" - resourcedir="${ws.extension.install.dir}/service/lib" - resource="${lib.prefix}${service.extension.lib}${lib.ext}"/> - <cpp-install-file - srcfile="services.xml" - srcdir="${this.dir}/${service.dir}" - destdir="${ws.extension.install.dir}/service/services/tuscany" - executable="false"/> - </target> - - <target name="install.ws.xsd" depends="check.ws" if="enable_ws"> - <cpp-install-files - files="${xsd.files}" - srcdir="${xsd.dir}" - destdir="${ws.extension.install.dir}/xsd"/> - </target> - - <!-- clean --> - - <target name="clean.ws.reference"> - <cpp-clean-lib - lib="${reference.extension.lib}" - librootdir="${ws.extension.install.dir}/reference"/> - <cpp-clean-files - dir="${ws.extension.install.dir}/reference/module" - rmdir="true"/> - <cpp-clean-files - dir="${ws.extension.install.dir}/reference" - rmdir="true"/> - <delete dir="${reference.lib.dir}" quiet="true"/> - </target> - - <target name="clean.ws.service"> - <cpp-clean-lib - lib="${service.extension.lib}" - librootdir="${ws.extension.install.dir}/service"/> - <cpp-clean-lib - lib="${dispatcher.extension.lib}" - librootdir="${ws.extension.install.dir}/service"/> - <cpp-clean-files - dir="${ws.extension.install.dir}/service/module" - rmdir="true"/> - <cpp-clean-files - dir="${ws.extension.install.dir}/service/modules/tuscany" - rmdir="true"/> - <cpp-clean-files - dir="${ws.extension.install.dir}/service/services/tuscany" - rmdir="true"/> - <cpp-clean-files - dir="${ws.extension.install.dir}/service" - rmdir="true"/> - <delete dir="${service.lib.dir}" quiet="true"/> - </target> - - <target name="clean.ws.xsd"> - <cpp-clean-files - dir="${ws.extension.install.dir}/xsd" - rmdir="true"/> - </target> - -</project> |