You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sergey Pulyaev (JIRA)" <ji...@codehaus.org> on 2010/05/31 14:07:12 UTC
[jira] Created: (MANTRUN-140) project.build.outputDirectory
property is invalid
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
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
[jira] Issue Comment Edited: (MANTRUN-140)
project.build.outputDirectory property is invalid
Posted by "Dutrieux Olivier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223760#action_223760 ]
Dutrieux Olivier edited comment on MANTRUN-140 at 6/2/10 9:02 AM:
------------------------------------------------------------------
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}
was (Author: dutrieux):
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
[jira] Updated: (MANTRUN-140) project.build.outputDirectory
property is invalid
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier updated MANTRUN-140:
------------------------------
Priority: Critical (was: Major)
Fix Version/s: 1.5
Assignee: Paul Gier
> 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
[jira] Commented: (MANTRUN-140) project.build.outputDirectory
property is invalid
Posted by "Dutrieux Olivier (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Issue Comment Edited: (MANTRUN-140)
project.build.outputDirectory property is invalid
Posted by "Dutrieux Olivier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223760#action_223760 ]
Dutrieux Olivier edited comment on MANTRUN-140 at 6/2/10 9:02 AM:
------------------------------------------------------------------
A workaround is to add a property in your task like this :
{code:xml}
<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}
was (Author: dutrieux):
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
[jira] Commented: (MANTRUN-140) project.build.outputDirectory
property is invalid
Posted by "Sergey Pulyaev (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223204#action_223204 ]
Sergey Pulyaev commented on MANTRUN-140:
----------------------------------------
Sorry.
1.3 log is
[INFO] Executing tasks
[echo] project.build.outputDirectory =D:\work_pc2ws\try\target\classes
[echo] project.build.directory/project.build.finalName =D:\work_pc2ws\try\target/test
[echo] project.build.testOutputDirectory =D:\work_pc2ws\try\target\test-classes
> 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
> 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
[jira] Commented: (MANTRUN-140) project.build.outputDirectory
property is invalid
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MANTRUN-140) project.build.outputDirectory property
is invalid
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier closed MANTRUN-140.
-----------------------------
Resolution: Fixed
Fixed in [r949918|http://svn.apache.org/viewvc?view=revision&revision=949918]
> 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
[jira] Issue Comment Edited: (MANTRUN-140)
project.build.outputDirectory property is invalid
Posted by "Dutrieux Olivier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223760#action_223760 ]
Dutrieux Olivier edited comment on MANTRUN-140 at 6/2/10 9:03 AM:
------------------------------------------------------------------
A workaround is to add a property in your task like this :
{code:xml}
<tasks>
<property name="project.build.outputDirectory" value="${project.build.outputDirectory}"/>
<ant .../>
<.../>
</tasks>
{code}
or
{code:xml}
<tasks>
<ant ...>
<property name="project.build.outputDirectory" value="${project.build.outputDirectory}"/>
</ant>
<.../>
</tasks>
{code}
was (Author: dutrieux):
A workaround is to add a property in your task like this :
{code:xml}
<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