You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jo...@apache.org on 2006/03/14 12:24:42 UTC

svn commit: r385790 - /lenya/trunk/src/targets/test-build.xml

Author: josias
Date: Tue Mar 14 03:24:40 2006
New Revision: 385790

URL: http://svn.apache.org/viewcvs?rev=385790&view=rev
Log:
fixed classpath for the compile-xsp target (now includes endorsed libs) and added an option to fail on error, so this target could be used by a continous integration tool.

Modified:
    lenya/trunk/src/targets/test-build.xml

Modified: lenya/trunk/src/targets/test-build.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/test-build.xml?rev=385790&r1=385789&r2=385790&view=diff
==============================================================================
--- lenya/trunk/src/targets/test-build.xml (original)
+++ lenya/trunk/src/targets/test-build.xml Tue Mar 14 03:24:40 2006
@@ -252,13 +252,14 @@
   <target name="compile-xsp" depends="tests.prepare"
           description="Compile the XSP sources">
     <mkdir dir="${build.dir}/work"/>
-    <java classname="org.apache.cocoon.bean.XSPPrecompileWrapper">
+    <property name="compile-xsp.failonerror" value="false"/> <!-- may be overridden with -D -->
+    <java classname="org.apache.cocoon.bean.XSPPrecompileWrapper" failonerror="${compile-xsp.failonerror}">
       <arg value="-c${build.webapp}"/>
       <arg value="-w${build.dir}/work"/>
       <classpath>
          <pathelement path="${build.webapp}/WEB-INF/classes"/>
          <fileset dir="${build.webapp}/WEB-INF/lib">
-            <include name="*.jar"/>
+            <include name="**/*.jar"/>
          </fileset>
          <fileset dir="tools/jetty/lib">
           <include name="servlet-*.jar"/>



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