Narya now builds using from dist/lib. Also, the weave taskdef reports a warning if it cannot find the retroweaver jars, instead of preventing ant from running. These changes will need to happen on the other rings as well.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4379 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jonathan Le Plastrier
2006-09-26 20:23:05 +00:00
parent 16689b51d4
commit cade4b6435
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -18,7 +18,7 @@
<!-- declare our classpath business -->
<path id="classpath">
<pathelement location="${classes.dir}"/>
<fileset dir="lib" includes="**/*.jar"/>
<fileset dir="${deploy.dir}/lib" includes="**/*.jar"/>
</path>
<!-- generates additional methods for distributed object classes -->
@@ -88,12 +88,16 @@
<!-- prepares the application directories -->
<target name="prepare">
<mkdir dir="${deploy.dir}"/>
<mkdir dir="${deploy.dir}/lib"/>
<mkdir dir="${classes.dir}"/>
<mkdir dir="${javadoc.home}"/>
<copy todir="${classes.dir}">
<fileset dir="src/java" includes="**/*.properties"/>
<fileset dir="src/java" includes="**/*.tmpl"/>
</copy>
<copy todir="${deploy.dir}/lib">
<fileset dir="lib" includes="**/*.jar"/>
</copy>
</target>
<!-- cleans out the installed application -->
@@ -173,7 +177,7 @@
</target>
<!-- various bits used by the retroweaver tasks -->
<taskdef name="weave" classpathref="classpath"
<taskdef name="weave" classpathref="classpath" onerror="report"
classname="com.rc.retroweaver.ant.RetroWeaverTask"/>
<property name="inpre" value="${deploy.dir}/${app.name}"/>
<property name="outpre" value="${deploy.dir}/retro/${app.name}"/>
+1 -1
View File
@@ -18,7 +18,7 @@
<path id="classpath">
<pathelement location="${classes.dir}"/>
<pathelement location="${narya.classes.dir}"/>
<fileset dir="../lib" includes="**/*.jar"/>
<fileset dir="../${deploy.dir}/lib" includes="**/*.jar"/>
</path>
<!-- generates additional methods for distributed object classes -->