Build file changes to make Nenya work with the new build world order.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@50 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2006-10-13 02:13:51 +00:00
parent fd06ed1481
commit 69277175c8
2 changed files with 11 additions and 8 deletions
+10 -7
View File
@@ -17,7 +17,7 @@
<!-- declare our classpath business --> <!-- declare our classpath business -->
<path id="classpath"> <path id="classpath">
<pathelement location="${classes.dir}"/> <pathelement location="${classes.dir}"/>
<fileset dir="lib" includes="**/*.jar"/> <fileset dir="${deploy.dir}/lib" includes="**/*.jar"/>
</path> </path>
<!-- checks the availability of certain libraries --> <!-- checks the availability of certain libraries -->
@@ -51,6 +51,7 @@
<!-- prepares the application directories --> <!-- prepares the application directories -->
<target name="prepare"> <target name="prepare">
<mkdir dir="${deploy.dir}"/> <mkdir dir="${deploy.dir}"/>
<mkdir dir="${deploy.dir}/lib"/>
<mkdir dir="${classes.dir}"/> <mkdir dir="${classes.dir}"/>
<mkdir dir="${classes.dir}/rsrc"/> <mkdir dir="${classes.dir}/rsrc"/>
<mkdir dir="${javadoc.home}"/> <mkdir dir="${javadoc.home}"/>
@@ -61,6 +62,9 @@
<copy todir="${classes.dir}/rsrc"> <copy todir="${classes.dir}/rsrc">
<fileset dir="rsrc" includes="**/*"/> <fileset dir="rsrc" includes="**/*"/>
</copy> </copy>
<copy todir="${deploy.dir}/lib">
<fileset dir="lib" includes="**/*.jar"/>
</copy>
</target> </target>
<!-- cleans out the installed application --> <!-- cleans out the installed application -->
@@ -160,14 +164,13 @@
</jar> </jar>
</target> </target>
<!-- various bits used by the retroweaver tasks -->
<taskdef name="weave" classpathref="classpath"
classname="com.rc.retroweaver.ant.RetroWeaverTask"/>
<property name="inpre" value="${deploy.dir}/${app.name}"/>
<property name="outpre" value="${deploy.dir}/retro/${app.name}"/>
<!-- a helper task for 'retro' --> <!-- a helper task for 'retro' -->
<target name="vweave"> <target name="vweave">
<!-- various bits used by the retroweaver tasks -->
<taskdef name="weave" classpathref="classpath"
classname="com.rc.retroweaver.ant.RetroWeaverTask"/>
<property name="inpre" value="${deploy.dir}/${app.name}"/>
<property name="outpre" value="${deploy.dir}/retro/${app.name}"/>
<path id="retrocp"> <path id="retrocp">
<pathelement location="/usr/local/jdk1.4/jre/lib/rt.jar"/> <pathelement location="/usr/local/jdk1.4/jre/lib/rt.jar"/>
<fileset dir="lib" includes="**/*.jar"/> <fileset dir="lib" includes="**/*.jar"/>
+1 -1
View File
@@ -18,7 +18,7 @@
<path id="classpath"> <path id="classpath">
<pathelement location="${classes.dir}"/> <pathelement location="${classes.dir}"/>
<pathelement location="${narya.classes.dir}"/> <pathelement location="${narya.classes.dir}"/>
<fileset dir="../lib" includes="**/*.jar"/> <fileset dir="../${deploy.dir}/lib" includes="**/*.jar"/>
</path> </path>
<!-- checks the availability of certain libraries --> <!-- checks the availability of certain libraries -->