[fusion-commits] r1920 - trunk

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Sep 24 17:37:31 EDT 2009


Author: pagameba
Date: 2009-09-24 17:37:31 -0400 (Thu, 24 Sep 2009)
New Revision: 1920

Modified:
   trunk/build.xml
Log:
move static path to PHP into a parameter so it can be configured more easily per system or using -DPHP=/path/to/php when invoking ant

Modified: trunk/build.xml
===================================================================
--- trunk/build.xml	2009-09-24 20:58:07 UTC (rev 1919)
+++ trunk/build.xml	2009-09-24 21:37:31 UTC (rev 1920)
@@ -93,6 +93,7 @@
   <property name="buildOutput"  value="${build.home}/lib/${sfName}"/>
   <property name="cssOutput"  value="${build.home}/lib/${sfName}"/>
   <property name="cssFiles"  value=""/>
+  <property name="PHP" value="/usr/local/php5cgi/bin/php"/>
 
 
 <!-- ==================== Prepare Target ================================== -->
@@ -185,9 +186,9 @@
     <xmlproperty file="${build.home}/appDefFileset.xml"/>
 
     <!-- convert the application definition file to JSON -->
-    <exec executable="C:\ms4w\Apache\cgi-bin\php.exe" os="Windows Vista, Windows XP"
+    <exec executable="${PHP}" dir="${build.home}"
               output="${build.home}/appDef.json">
-        <arg line="common\php\Xml2JSON.php --file='${appDef}'"/>
+        <arg line="${build.home}\common\php\Xml2JSON.php --file='${appDef}'"/>
     </exec>
 
   </target>



More information about the fusion-commits mailing list