You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ro...@apache.org on 2004/12/03 20:09:56 UTC

svn commit: r109717 - /lenya/branches/BRANCH_1_2_X/src/targets/kupu-build.xml

Author: roku
Date: Fri Dec  3 11:09:55 2004
New Revision: 109717

URL: http://svn.apache.org/viewcvs?view=rev&rev=109717
Log:
- Print out error and fail if xsltproc is not available
- Removed redundant call of make on windows
Modified:
   lenya/branches/BRANCH_1_2_X/src/targets/kupu-build.xml

Modified: lenya/branches/BRANCH_1_2_X/src/targets/kupu-build.xml
Url: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/targets/kupu-build.xml?view=diff&rev=109717&p1=lenya/branches/BRANCH_1_2_X/src/targets/kupu-build.xml&r1=109716&p2=lenya/branches/BRANCH_1_2_X/src/targets/kupu-build.xml&r2=109717
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/targets/kupu-build.xml	(original)
+++ lenya/branches/BRANCH_1_2_X/src/targets/kupu-build.xml	Fri Dec  3 11:09:55 2004
@@ -22,12 +22,30 @@
 
   <target name="kupu" depends="webapp" description="Build Kupu">
 
-    <echo message="Build Kupu"/>
-
-    <exec dir="${build.webapp}/lenya/resources/kupu" executable="make" failonerror="true" failifexecutionfails="false"/>
-    <exec dir="${build.webapp}/lenya/resources/kupu" executable="make.bat" failonerror="true" failifexecutionfails="false"/>
+    <echo>
+      ********************************************
+      *               Build Kupu.                *
+      ********************************************
+    </echo>
+    
+    <exec 
+      dir="${build.webapp}/lenya/resources/kupu" 
+      executable="xsltproc" 
+      failonerror="false" 
+      failifexecutionfails="false" 
+      outputproperty="xsltproc.output"/>
     
-    <echo message="NOTE: Do not bother if you got an 'execution failed' error above."/>
+    <fail unless="xsltproc.output">:            
+      ********************************************
+      * Please install "xsltproc" to build Kupu. *
+      ********************************************
+      
+    </fail>
     
+    <exec dir="${build.webapp}/lenya/resources/kupu" 
+      executable="make" 
+      failonerror="true" 
+      failifexecutionfails="false"/>
+
   </target>
 </project>

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