Changeset 13265
- Timestamp:
- 04/09/11 15:48:48 (13 years ago)
- 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 18 18 </path> 19 19 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."> 22 26 <copy 23 27 todir="war/WEB-INF/lib" … … 26 30 <include name="**/*.jar" /> 27 31 </fileset> 28 <fileset dir=" ../..">32 <fileset dir="${abcl.dir}"> 29 33 <include name="dist/*.jar" /> 30 34 </fileset> … … 41 45 depends="compile.java,compile.lisp"/> 42 46 43 <target name="compile.java" depends=" copyjars,abcl.jar"47 <target name="compile.java" depends="resources.copy,abcl.jar" 44 48 description="Compiles Java source and copies other source files to the WAR."> 45 49 <mkdir dir="war/WEB-INF/classes" /> … … 56 60 </target> 57 61 58 <property name="abcl.jar" value="${ basedir}/../../dist/abcl.jar"/>62 <property name="abcl.jar" value="${abcl.dir}/dist/abcl.jar"/> 59 63 <target name="compile.lisp" depends="abcl.jar"> 60 64 <java fork="true" 61 65 classpath="${abcl.jar}" 62 66 classname="org.armedbear.lisp.Main" 63 inputstring="(compile-file "${basedir}/ war/WEB-INF/classes/first-servlet.lisp")">67 inputstring="(compile-file "${basedir}/src/first-servlet.lisp")"> 64 68 <arg value="--noinit"/> 65 69 </java> … … 68 72 <available file="${abcl.jar}" property="abcl.jar.p"/> 69 73 <target name="abcl.jar" unless="abcl.jar.p"> 70 <ant dir="${ basedir}/../.." target="abcl.jar"/>74 <ant dir="${abcl.dir}" target="abcl.jar"/> 71 75 </target> 72 76 73 <target name="clean" description="Cleans all the jars and fasls.">77 <target name="clean" description="Cleans all the jars, classes, and FASLs."> 74 78 <delete> 75 79 <fileset dir="${basedir}"> … … 82 86 83 87 <target name="runserver" 84 depends="compile "88 depends="compile,resources.copy" 85 89 description="Starts the development server."> 86 90 <dev_appserver war="war" /> 87 91 </target> 88 <target name="runserver-debug" depends="compile" 92 93 <target name="runserver-debug" depends="compile,resources.copy" 89 94 description="Starts the development server."> 90 95 <dev_appserver war="war" port="8888"/>
Note: See TracChangeset
for help on using the changeset viewer.