You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2007/07/31 09:52:16 UTC

svn commit: r561255 - in /incubator/tuscany/cpp/sca: antscripts/system.xml build.xml

Author: robbinspg
Date: Tue Jul 31 00:52:16 2007
New Revision: 561255

URL: http://svn.apache.org/viewvc?view=rev&rev=561255
Log:
TUSCANY-1438 apply Brady's displau target patch
also changed the name of the property "core.dir" to "runtime.core.dir"

Modified:
    incubator/tuscany/cpp/sca/antscripts/system.xml
    incubator/tuscany/cpp/sca/build.xml

Modified: incubator/tuscany/cpp/sca/antscripts/system.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/antscripts/system.xml?view=diff&rev=561255&r1=561254&r2=561255
==============================================================================
--- incubator/tuscany/cpp/sca/antscripts/system.xml (original)
+++ incubator/tuscany/cpp/sca/antscripts/system.xml Tue Jul 31 00:52:16 2007
@@ -458,6 +458,91 @@
     </else>
   </if>
 
+  <target name="display.system" depends="check.ws,check.python,check.php,check.ruby,check.rest">
+
+    <!-- Tuscany paths, etc -->
+    <echo message=" "/>
+    <echo message="TuscanySCA paths"/>
+    <echo message="  tuscanySDO.install.dir=      ${tuscanySDO.install.dir}"/>
+    <echo message="  tuscanySCA.root.dir=         ${tuscanySCA.root.dir}"/>
+    <echo message="  tuscanySCA.root.src.dir=     ${tuscanySCA.root.src.dir}"/>
+    <echo message="  tuscanySCA.install.dir=      ${tuscanySCA.install.dir}"/>
+    <echo message="  tuscanySCA.library.version=  '${tuscanySCA.library.version}'"/>
+
+    <!-- compilers, libs, etc -->
+    <echo message=" "/>
+    <echo message="TuscanySCA compiler configuration"/>
+    <echo message="  compiler.name=               '${compiler.name}'"/>
+    <echo message="  lib.ext=                     '${lib.ext}'"/>
+    <echo message="  dll.ext=                     '${dll.ext}'"/>
+    <echo message="  lib.prefix=                  '${lib.prefix}'"/>
+    <echo message="  object.ext=                  '${object.ext}'"/>
+    <echo message="  exe.ext=                     '${exe.ext}'"/>
+    <echo message="  script.ext=                  '${script.ext}'"/>
+
+    <!-- ws extention -->
+    <if>
+      <isset property="enable_ws"/>
+      <then>
+        <echo message=" "/>
+        <echo message="TuscanySCA ws extension enabled"/>
+        <echo message="  axis2c.home.dir=          ${axis2c.home.dir}"/>
+      </then>
+    </if>
+
+    <!-- php extention -->
+    <if>
+      <isset property="enable_php"/>
+      <then>
+        <echo message=" "/>
+        <echo message="TuscanySCA php extension enabled"/>
+        <echo message="  php.lib.dir=              ${php.lib.dir}"/>
+        <echo message="  php.include.dir=          ${php.include.dir}"/>
+        <echo message="  php.sca.sdo.lib.dir=      ${php.sca.sdo.lib.dir}"/>
+        <echo message="  php.sca.sdo.include.dir=  ${php.sca.sdo.include.dir}"/>
+      </then>
+    </if>
+
+    <!-- python extention -->
+    <if>
+      <isset property="enable_python"/>
+      <then>
+        <echo message=" "/>
+        <echo message="TuscanySCA python extension enabled"/>
+        <echo message="  python.lib.dir=           ${python.lib.dir}"/>
+        <echo message="  python.include.dir=       ${python.include.dir}"/>
+        <echo message="  python.version=           ${python.version}"/>
+      </then>
+    </if>
+
+    <!-- rest extention -->
+    <if>
+      <isset property="enable_rest"/>
+      <then>
+        <echo message=" "/>
+        <echo message="TuscanySCA rest extension enabled"/>
+        <echo message="  rest.curl.lib.dir=        ${rest.curl.lib.dir}"/>
+        <echo message="  rest.curl.include.dir=    ${rest.curl.include.dir}"/>
+        <echo message="  rest.httpd.include.dir=   ${rest.httpd.include.dir}"/>
+        <echo message="  rest.apr.include.dir=     ${rest.apr.include.dir}"/>
+      </then>
+    </if>
+
+    <!-- ruby extention -->
+    <if>
+      <isset property="enable_ruby"/>
+      <then>
+        <echo message=" "/>
+        <echo message="TuscanySCA ruby extension enabled"/>
+        <echo message="  ruby.lib.dir=             ${ruby.lib.dir}"/>
+        <echo message="  ruby.include.dir=         ${ruby.include.dir}"/>
+      </then>
+    </if>
+
+    <echo message=" "/>
+
+  </target>
+
 
   <condition property="windows" value="true">
     <os family="windows"/>

Modified: incubator/tuscany/cpp/sca/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/build.xml?view=diff&rev=561255&r1=561254&r2=561255
==============================================================================
--- incubator/tuscany/cpp/sca/build.xml (original)
+++ incubator/tuscany/cpp/sca/build.xml Tue Jul 31 00:52:16 2007
@@ -25,9 +25,11 @@
     Nothing is actually performed here, it just delegates to subdirectory
     build.xml files. Common scripts used by all ant build files can be
     found in the ant subdirectory.
-  -->
+  --> 
+    
+  <import file="antscripts/system.xml"/>
 
-  <property name="core.dir" value="runtime/core"/>
+  <property name="runtime.core.dir" value="runtime/core"/>
   <property name="extensions.dir" value="runtime/extensions"/>
  	
   <!--
@@ -63,7 +65,7 @@
   -->
 
   <target name="build.core">
-    <ant target="build" antfile="${core.dir}/build.xml" inheritAll="false"/>
+    <ant target="build" antfile="${runtime.core.dir}/build.xml" inheritAll="false"/>
   </target>
 
   <target name="build.extensions">
@@ -71,7 +73,7 @@
   </target>
 
   <target name="install.core">
-    <ant target="install" antfile="${core.dir}/build.xml" inheritAll="false"/>
+    <ant target="install" antfile="${runtime.core.dir}/build.xml" inheritAll="false"/>
   </target>
 
   <target name="install.extensions">
@@ -79,7 +81,7 @@
   </target>
 
   <target name="clean.core">
-    <ant target="clean" antfile="${core.dir}/build.xml" inheritAll="false"/>
+    <ant target="clean" antfile="${runtime.core.dir}/build.xml" inheritAll="false"/>
   </target>
 
   <target name="clean.extensions">



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org