Fix bad reactored location of doclet file

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114010 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-09-14 15:36:37 +00:00
parent 1eb943fe89
commit 77f3e80ffc

View File

@ -30,17 +30,7 @@
<ant:mkdir dir="${genDocs}"/>
<j:file name="${genDocs}/tags.xml">
<!-- the following should be way easier - j:include should support files -->
<j:new var="file" className="java.io.File">
<j:arg value="${plugin.resources}/${plugin.artifactId}.jelly"/>
</j:new>
<!--
<echo>About to include ${file.toURL()}</echo>
-->
<j:include uri="${file.toURL().toString()}"/>
<j:include file="${plugin.resources}/${plugin.artifactId}.jelly"/>
</j:file>
</goal>
@ -54,6 +44,7 @@
<ant:echo>Generating jellydoc for packages ${maven.jellydoc.packages}</ant:echo>
<!-- the doclet dumps taglib.xml into ${user.dir}/target -->
<ant:mkdir dir="target"/>
<ant:echo>Source directory is ${pom.build.sourceDirectory}</ant:echo>
@ -67,7 +58,8 @@
</ant:javadoc>
<!-- if ran inside the reactor then lets copy the generated file -->
<ant:copy tofile="${genDocs}/taglib.xml" file="${user.dir}/target/taglib.xml"/>
<!-- the doclet dumps taglib.xml into ${user.dir}/target -->
<ant:copy tofile="${maven.build.dir}/taglib.xml" file="${user.dir}/target/taglib.xml"/>
</goal>
<!-- runs the XML doclet -->