Call the Flash libraries {library}lib.swc to match the pattern of flexlib.swc

and also to make the Maven artifact not look like a meta-artifact that brings
in all Narya/Nenya/Vilya dependencies.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@562 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-02-18 19:12:37 +00:00
parent a286a0c4e7
commit 3868fb6661
+3 -2
View File
@@ -156,6 +156,7 @@
<delete dir="${deploy.dir}/classes"/> <delete dir="${deploy.dir}/classes"/>
<delete dir="${deploy.dir}/docs"/> <delete dir="${deploy.dir}/docs"/>
<delete failonerror="false"><fileset dir="${deploy.dir}" includes="*.jar"/></delete> <delete failonerror="false"><fileset dir="${deploy.dir}" includes="*.jar"/></delete>
<delete failonerror="false"><fileset dir="${deploy.dir}" includes="*.swc"/></delete>
</target> </target>
<!-- wipes the entire build directory clean --> <!-- wipes the entire build directory clean -->
@@ -187,7 +188,7 @@
<target name="checkaslib"> <target name="checkaslib">
<condition property="no_build_aslib"><or> <condition property="no_build_aslib"><or>
<not><available file="${flexsdk.dir}/lib/compc.jar"/></not> <not><available file="${flexsdk.dir}/lib/compc.jar"/></not>
<uptodate targetfile="${deploy.dir}/${lib.name}.swc"> <uptodate targetfile="${deploy.dir}/${lib.name}lib.swc">
<srcfiles dir="src/as" includes="**/*.as"/> <srcfiles dir="src/as" includes="**/*.as"/>
</uptodate> </uptodate>
</or></condition> </or></condition>
@@ -208,7 +209,7 @@
<arg value="-compiler.source-path=src/as/"/> <arg value="-compiler.source-path=src/as/"/>
<arg value="-include-sources=src/as/"/> <arg value="-include-sources=src/as/"/>
<arg value="-output"/> <arg value="-output"/>
<arg value="${deploy.dir}/${lib.name}.swc"/> <arg value="${deploy.dir}/${lib.name}lib.swc"/>
</java> </java>
<delete file="${deploy.dir}/aslib-config.xml"/> <delete file="${deploy.dir}/aslib-config.xml"/>
</target> </target>