[ 
http://jira.codehaus.org/browse/MANTRUN-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223761#action_223761
 ] 

Paul Gier commented on MANTRUN-140:
-----------------------------------

It looks like this only affects external Ant build files.  If the property is 
in-line in the POM, Maven translates it before the antrun plugin starts running.

> project.build.outputDirectory property is invalid
> -------------------------------------------------
>
>                 Key: MANTRUN-140
>                 URL: http://jira.codehaus.org/browse/MANTRUN-140
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_18
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
>            Reporter: Sergey Pulyaev
>            Assignee: Paul Gier
>            Priority: Critical
>             Fix For: 1.5
>
>         Attachments: try-1.3.zip, try-1.4.zip
>
>
> While running version 1.3 of plugin - 
> [INFO] Executing tasks
>      [echo] project.build.outputDirectory                   
> =D:\work_pc2ws\try\target\test-classes
>      [echo] project.build.directory/project.build.finalName 
> =D:\work_pc2ws\try\target/test
>      [echo] project.build.testOutputDirectory               
> =${project.build.testOutputDirectory}
> but version 1.4 return invalid info:
> [INFO] Executing tasks
>      [echo] project.build.outputDirectory                   
> =D:\work_pc2ws\try\target\test-classes
>      [echo] project.build.directory/project.build.finalName 
> =D:\work_pc2ws\try\target/test
>      [echo] project.build.testOutputDirectory               
> =${project.build.testOutputDirectory}
> Seems like testOutputDirectory is not defined at all, and outputDirectory is 
> set to value of testOutputDirectory
> See attached projects for test cases and logs

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to