Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1025


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1025
    Summary: ${maven.build.dir} not being substituted
       Type: Bug

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Andrew Stevens

    Created: Tue, 11 Nov 2003 12:34 PM
    Updated: Tue, 11 Nov 2003 12:34 PM

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="${pom.build.sourceDirectory}"/>
      <copy todir="${pom.build.sourceDirectory}">
         <fileset dir="${maven.src.dir}">
            <include name="**/*.java"/>
            <include name="**/package.html"/>
         </fileset>
      </copy>
      <mkdir dir="${pom.build.unitTestSourceDirectory}"/>
      <copy todir="${pom.build.unitTestSourceDirectory}">
         <fileset dir="${basedir}/junit"/>
      </copy>
    </goal>

and the project.xml contains

...
    <build>
        <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
        <sourceDirectory>${maven.build.dir}/src</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.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to