netbeans-build.xml 752 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="antlib:org.apache.tools.ant"
    name="abcl" default="default" basedir=".">

<!-- XXX need way to autodetect NetBeans as installed, as this will
     probably fail otherwise.  -->
  <import file="nbproject/build-impl.xml"/>

  <target name="-post-compile">
    <echo>build.classes.dir: ${build.classes.dir}</echo>
      <copy todir="${build.classes.dir}">
	<fileset dir="${basedir}/src">
	  <patternset refid="abcl.source.lisp"/>
	</fileset>
      </copy>

      <java classpath="${build.classes.dir}"
	    fork="true"
	    classname="org.armedbear.lisp.Main">
	<arg value="--noinit"/>
	<arg value="--eval"/>
	<arg value="(compile-system :zip nil :quit t)"/>
      </java>
  </target>
</project>