Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.0-rc1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
I'm having trouble building the current CVS version of XJavadoc from source. The maven.xml file contains
<preGoal name="java:compile">
<attainGoal name="copysrc"/>
<attainGoal name="nodeparser"/>
<attainGoal name="simpleparser"/>
</preGoal>
<goal name="copysrc" description="Copies the source code to the target">
<mkdir dir="$
<copy todir="${pom.build.sourceDirectory}
">
<fileset dir="$
">
<include name="*/.java"/>
<include name="**/package.html"/>
</fileset>
</copy>
<mkdir dir="$
<copy todir="${pom.build.unitTestSourceDirectory}
">
<fileset dir="$
/junit"/>
</copy>
</goal>
and the project.xml contains
...
<build>
<nagEmailAddress>xdoclet-devel@lists.sourceforge.net</nagEmailAddress>
<sourceDirectory>$
<unitTestSourceDirectory>${maven.build.dir}
/junit</unitTestSourceDirectory>
</build>
</project>
However, running maven (rc1) just produces the output
BUILD FAILED
File...... file:/home/andy/xjavadoc-clean/
Element... mkdir
Line...... 44
Column.... 50
Directory /src creation was not successful for an unknown reason
Total time: 4 seconds
which looks like the "$
{maven.build.dir}" has been replaced with an empty string instead of "target". With beta 9 there is no problem.
this behaviour has been removed as of RC1 - only basedir and system properties get substituted into project.xml now.
Please contact the author of XJavadoc and get them to update their descriptors for RC1. The correct way for them to do this is to preGoal java:compile and add another sourceDirectory to maven.compile.src.set ala the antlr plugin.