[armedbear-cvs] r13029 - trunk/abcl

Mark Evenson mevenson at common-lisp.net
Fri Nov 19 18:16:12 UTC 2010


Author: mevenson
Date: Fri Nov 19 13:16:09 2010
New Revision: 13029

Log:
Ensure that build process exits with error if abcl.contrib.compile fails.

Modified:
   trunk/abcl/build.xml

Modified: trunk/abcl/build.xml
==============================================================================
--- trunk/abcl/build.xml	(original)
+++ trunk/abcl/build.xml	Fri Nov 19 13:16:09 2010
@@ -379,15 +379,17 @@
     </target>
 
     <!-- XXX Generalize when (if?) we get more contribs --> 
-    <target name="abcl.contrib" depends="abcl.jar">
+    <target name="abcl.contrib.compile" depends="abcl.jar">
       <java fork="true"
-            failonerror="true"
+	    failonerror="true"
             classpathref="abcl.classpath.dist"
-            dir="${basedir}/contrib/asdf-install/"
-            inputstring="(require 'asdf) (asdf:operate 'asdf:compile-op :asdf-install)"
+            inputstring="(require 'asdf) (handler-case (progn (setf *default-pathname-defaults* "${basedir}/contrib/asdf-install/") (asdf:operate 'asdf:compile-op :asdf-install)) (t (x) (progn (format t "~A: ~A~%" (type-of x) x) (exit :status -1))))"
             classname="org.armedbear.lisp.Main">
         <arg value="--noinit"/>
       </java>
+    </target>
+    
+    <target name="abcl.contrib" depends="abcl.contrib.compile">
       <jar destfile="dist/abcl-contrib.jar"
            compress="true"
            basedir="contrib">




More information about the armedbear-cvs mailing list