Build a narya-tools.jar with just the tools stuff, for projects that already
have Narya and her myriad dependencies in tow, and need to put narya-tools into their classpath. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6190 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -209,9 +209,18 @@
|
||||
<exclude name="**/*.html,**/*.png"/>
|
||||
</fileset>
|
||||
</jar>
|
||||
<jar destfile="${deploy.dir}/${lib.name}-tools.jar">
|
||||
<fileset dir="${classes.dir}">
|
||||
<include name="com/threerings/**/tools/**"/>
|
||||
</fileset>
|
||||
</jar>
|
||||
<jar destfile="${deploy.dir}/${lib.name}-tests.jar">
|
||||
<fileset dir="tests/${classes.dir}" includes="com/threerings/**"/>
|
||||
</jar>
|
||||
<!-- build a dependencies-included version of narya-tools -->
|
||||
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask"
|
||||
classpathref="classpath"/>
|
||||
<jarjar destfile="${deploy.dir}/${lib.name}-tools.jar">
|
||||
<jarjar destfile="${deploy.dir}/${lib.name}-tools-full.jar">
|
||||
<fileset dir="${classes.dir}">
|
||||
<include name="com/threerings/io/**"/>
|
||||
<include name="com/threerings/presents/**"/>
|
||||
@@ -229,9 +238,6 @@
|
||||
<rule pattern="com.samskivert.**" result="cs.@1"/>
|
||||
<rule pattern="javassist.**" result="ja.@1"/>
|
||||
</jarjar>
|
||||
<jar destfile="${deploy.dir}/${lib.name}-tests.jar">
|
||||
<fileset dir="tests/${classes.dir}" includes="com/threerings/**"/>
|
||||
</jar>
|
||||
<antcall target="dist-gwt"/>
|
||||
</target>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user