We have plugin.jar in the POM classpath.
This commit is contained in:
@@ -23,16 +23,12 @@
|
|||||||
<taskdef resource="org/apache/maven/artifact/ant/antlib.xml"
|
<taskdef resource="org/apache/maven/artifact/ant/antlib.xml"
|
||||||
uri="urn:maven-artifact-ant" classpath="${maven-ant.jar}"/>
|
uri="urn:maven-artifact-ant" classpath="${maven-ant.jar}"/>
|
||||||
<artifact:pom id="pom" file="pom.xml"/>
|
<artifact:pom id="pom" file="pom.xml"/>
|
||||||
<artifact:dependencies pathId="pom-compile.classpath" pomRefId="pom" useScope="compile"/>
|
<artifact:dependencies pathId="compile.classpath" pomRefId="pom" useScope="compile"/>
|
||||||
<artifact:dependencies pathId="testlibs.classpath" pomRefId="pom" useScope="test"/>
|
<artifact:dependencies pathId="testlibs.classpath" pomRefId="pom" useScope="test"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="-prepare" depends="-init-maven-ant">
|
<target name="-prepare" depends="-init-maven-ant">
|
||||||
<mkdir dir="${deploy.dir}"/>
|
<mkdir dir="${deploy.dir}"/>
|
||||||
<path id="compile.classpath">
|
|
||||||
<path refid="pom-compile.classpath"/>
|
|
||||||
<pathelement location="${java.home}/lib/plugin.jar"/>
|
|
||||||
</path>
|
|
||||||
<path id="built.classpath">
|
<path id="built.classpath">
|
||||||
<path refid="compile.classpath"/>
|
<path refid="compile.classpath"/>
|
||||||
<pathelement location="${deploy.dir}/classes"/>
|
<pathelement location="${deploy.dir}/classes"/>
|
||||||
@@ -93,7 +89,7 @@
|
|||||||
<javadoc sourcepath="${src.dir}" packagenames="com.threerings.getdown.*"
|
<javadoc sourcepath="${src.dir}" packagenames="com.threerings.getdown.*"
|
||||||
windowtitle="${ant.project.name} API" doctitle="${ant.project.name} API"
|
windowtitle="${ant.project.name} API" doctitle="${ant.project.name} API"
|
||||||
overview="${src.dir}/com/threerings/getdown/overview.html"
|
overview="${src.dir}/com/threerings/getdown/overview.html"
|
||||||
bottom="Copyright © 2010 Three Rings Design, Inc. All Rights Reserved."
|
bottom="Copyright © 2004-2011 Three Rings Design, Inc. All Rights Reserved."
|
||||||
destdir="${deploy.dir}/docs">
|
destdir="${deploy.dir}/docs">
|
||||||
<classpath refid="compile.classpath"/>
|
<classpath refid="compile.classpath"/>
|
||||||
<link href="http://java.sun.com/j2se/1.5/docs/api/"/>
|
<link href="http://java.sun.com/j2se/1.5/docs/api/"/>
|
||||||
@@ -130,7 +126,7 @@
|
|||||||
<outjar path="${deploy.dir}/${ant.project.name}.jar"/>
|
<outjar path="${deploy.dir}/${ant.project.name}.jar"/>
|
||||||
<libraryjar name="${rt.jar}"/>
|
<libraryjar name="${rt.jar}"/>
|
||||||
<libraryjar name="${org.apache.ant:ant:jar}"/>
|
<libraryjar name="${org.apache.ant:ant:jar}"/>
|
||||||
<libraryjar name="${java.home}/lib/plugin.jar"/>
|
<libraryjar name="${java:plugin:jar}"/>
|
||||||
|
|
||||||
<!-- keep the whole nine yards, just trim/obfuscate our depends -->
|
<!-- keep the whole nine yards, just trim/obfuscate our depends -->
|
||||||
<keep name="com.threerings.getdown.**">
|
<keep name="com.threerings.getdown.**">
|
||||||
|
|||||||
Reference in New Issue
Block a user