You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2009/11/18 18:10:55 UTC
[jira] Commented: (MANTTASKS-9) Properties and references created
by the pom and dependencies tasks don't persist across ant/subant task
invocations.
[ http://jira.codehaus.org/browse/MANTTASKS-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198634#action_198634 ]
Paul Gier commented on MANTTASKS-9:
-----------------------------------
The problem is that instead of setting the properties directly in the project, the Maven Ant Tasks register a property helper class to interpret the pom properties. The property helper is not included in new projects invoked by the "ant" task.
> Properties and references created by the pom and dependencies tasks don't persist across ant/subant task invocations.
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: MANTTASKS-9
> URL: http://jira.codehaus.org/browse/MANTTASKS-9
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Environment: Fedora Core 4
> Reporter: Xavier Toth
> Fix For: 3.0.0-beta-1
>
> Attachments: build.xml, taskDefs.xml, test-build.xml
>
>
> Properties and references created by the pom and dependencies tasks don't persist across ant/subant task invocations.
> I've included some ant scripts. If you create a test-build dir and put build.xml and taskDefs.xml in it and then run ant -f test-build.xml from the parent dir of test-build you will see the problem in the output.
--
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