Ignore:
Timestamp:
04/09/11 15:48:48 (12 years ago)
Author:
Mark Evenson
Message:

Further corrections to GAE example.

Location:
trunk/abcl/examples/google-app-engine
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/examples/google-app-engine/build.xml

    r13264 r13265  
    1818  </path>
    1919
    20   <target name="copyjars"
    21     description="Copies the App Engine and ABCL JARs to the WAR.">
     20  <property name="abcl.dir"
     21            location="${basedir}/../.."/>
     22
     23  <target name="resources.copy"
     24          depends="compile.lisp,abcl.jar"
     25    description="Copies the necessary resources to the WAR.">
    2226    <copy
    2327        todir="war/WEB-INF/lib"
     
    2630        <include name="**/*.jar" />
    2731      </fileset>
    28       <fileset dir="../..">
     32      <fileset dir="${abcl.dir}">
    2933        <include name="dist/*.jar" />
    3034      </fileset>
     
    4145          depends="compile.java,compile.lisp"/>
    4246
    43   <target name="compile.java" depends="copyjars,abcl.jar"
     47  <target name="compile.java" depends="resources.copy,abcl.jar"
    4448    description="Compiles Java source and copies other source files to the WAR.">
    4549    <mkdir dir="war/WEB-INF/classes" />
     
    5660  </target>
    5761 
    58   <property name="abcl.jar" value="${basedir}/../../dist/abcl.jar"/>
     62  <property name="abcl.jar" value="${abcl.dir}/dist/abcl.jar"/>
    5963  <target name="compile.lisp" depends="abcl.jar">
    6064    <java fork="true"
    6165          classpath="${abcl.jar}"
    6266          classname="org.armedbear.lisp.Main"
    63           inputstring="(compile-file &quot;${basedir}/war/WEB-INF/classes/first-servlet.lisp&quot;)">
     67          inputstring="(compile-file &quot;${basedir}/src/first-servlet.lisp&quot;)">
    6468      <arg value="--noinit"/>
    6569    </java>
     
    6872  <available file="${abcl.jar}" property="abcl.jar.p"/>
    6973  <target name="abcl.jar" unless="abcl.jar.p">
    70     <ant dir="${basedir}/../.." target="abcl.jar"/>
     74    <ant dir="${abcl.dir}" target="abcl.jar"/>
    7175  </target>
    7276
    73   <target name="clean" description="Cleans all the jars and fasls.">
     77  <target name="clean" description="Cleans all the jars, classes, and FASLs.">
    7478    <delete>
    7579      <fileset dir="${basedir}">
     
    8286
    8387  <target name="runserver"
    84           depends="compile"
     88          depends="compile,resources.copy"
    8589    description="Starts the development server.">
    8690    <dev_appserver war="war" />
    8791  </target>
    88   <target name="runserver-debug" depends="compile"
     92
     93  <target name="runserver-debug" depends="compile,resources.copy"
    8994    description="Starts the development server.">
    9095    <dev_appserver war="war" port="8888"/>
Note: See TracChangeset for help on using the changeset viewer.