Changeset 13029


Ignore:
Timestamp:
11/19/10 18:16:09 (10 years ago)
Author:
Mark Evenson
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r12988 r13029  
    380380
    381381    <!-- XXX Generalize when (if?) we get more contribs -->
    382     <target name="abcl.contrib" depends="abcl.jar">
     382    <target name="abcl.contrib.compile" depends="abcl.jar">
    383383      <java fork="true"
    384             failonerror="true"
     384      failonerror="true"
    385385            classpathref="abcl.classpath.dist"
    386             dir="${basedir}/contrib/asdf-install/"
    387             inputstring="(require 'asdf) (asdf:operate 'asdf:compile-op :asdf-install)"
     386            inputstring="(require 'asdf) (handler-case (progn (setf *default-pathname-defaults* &quot;${basedir}/contrib/asdf-install/&quot;) (asdf:operate 'asdf:compile-op :asdf-install)) (t (x) (progn (format t &quot;~A: ~A~%&quot; (type-of x) x) (exit :status -1))))"
    388387            classname="org.armedbear.lisp.Main">
    389388        <arg value="--noinit"/>
    390389      </java>
     390    </target>
     391   
     392    <target name="abcl.contrib" depends="abcl.contrib.compile">
    391393      <jar destfile="dist/abcl-contrib.jar"
    392394           compress="true"
Note: See TracChangeset for help on using the changeset viewer.