We have plugin.jar in the POM classpath.

This commit is contained in:
Michael Bayne
2011-10-07 17:52:17 +00:00
parent 2fc6dc4fe5
commit 748f6828b8
+3 -7
View File
@@ -23,16 +23,12 @@
<taskdef resource="org/apache/maven/artifact/ant/antlib.xml"
uri="urn:maven-artifact-ant" classpath="${maven-ant.jar}"/>
<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"/>
</target>
<target name="-prepare" depends="-init-maven-ant">
<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 refid="compile.classpath"/>
<pathelement location="${deploy.dir}/classes"/>
@@ -93,7 +89,7 @@
<javadoc sourcepath="${src.dir}" packagenames="com.threerings.getdown.*"
windowtitle="${ant.project.name} API" doctitle="${ant.project.name} API"
overview="${src.dir}/com/threerings/getdown/overview.html"
bottom="Copyright &#169; 2010 Three Rings Design, Inc. All Rights Reserved."
bottom="Copyright &#169; 2004-2011 Three Rings Design, Inc. All Rights Reserved."
destdir="${deploy.dir}/docs">
<classpath refid="compile.classpath"/>
<link href="http://java.sun.com/j2se/1.5/docs/api/"/>
@@ -130,7 +126,7 @@
<outjar path="${deploy.dir}/${ant.project.name}.jar"/>
<libraryjar name="${rt.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 name="com.threerings.getdown.**">