maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dutrieux Olivier (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MANTRUN-140) project.build.outputDirectory property is invalid
Date Wed, 02 Jun 2010 14:02:12 GMT

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

Dutrieux Olivier commented on MANTRUN-140:
------------------------------------------

A workaround is to add a property in your task like this :
{code:java}
<task><property name="project.build.outputDirectory" value="${project.build.outputDirectory}"/><ant
.../><.../></task>
{code}

or

{code:xml}
<task><ant ...><property name="project.build.outputDirectory" value="${project.build.outputDirectory}"/></ant><.../></task>
{code}

> 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

        

Mime
View raw message