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/06/24 21:58:54 UTC
[jira] Created: (MANTTASKS-155) Dependency fileset should set the
current ant project
Dependency fileset should set the current ant project
-----------------------------------------------------
Key: MANTTASKS-155
URL: http://jira.codehaus.org/browse/MANTTASKS-155
Project: Maven 2.x Ant Tasks
Issue Type: Bug
Components: dependencies task
Reporter: Paul Gier
If the fileset generated by the dependencies task is used within a <path> task, it could cause a NPE. For example, consider the following:
{code:xml}
<path id="compile.classpath">
<fileset refid="log4j:log4j:jar"/>
</path>
{code}
If the path is later used by the <javac> task, this could cause a NullPointerException because internally Ant access the project reference when building the path.
--
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: (MANTTASKS-155) Dependency fileset should set the
current ant project
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTTASKS-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier closed MANTTASKS-155.
-------------------------------
Resolution: Fixed
Fixed in [r788165|http://svn.apache.org/viewvc?view=rev&revision=788165]
> Dependency fileset should set the current ant project
> -----------------------------------------------------
>
> Key: MANTTASKS-155
> URL: http://jira.codehaus.org/browse/MANTTASKS-155
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Components: dependencies task
> Reporter: Paul Gier
> Assignee: Paul Gier
> Fix For: 2.1.0
>
>
> If the fileset generated by the dependencies task is used within a <path> task, it could cause a NPE. For example, consider the following:
> {code:xml}
> <path id="compile.classpath">
> <fileset refid="log4j:log4j:jar"/>
> </path>
> {code}
> If the path is later used by the <javac> task, this could cause a NullPointerException because internally Ant access the project reference when building the path.
--
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: (MANTTASKS-155) Dependency fileset should set the
current ant project
Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTTASKS-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier updated MANTTASKS-155:
--------------------------------
Assignee: Paul Gier
Fix Version/s: 2.1.0
> Dependency fileset should set the current ant project
> -----------------------------------------------------
>
> Key: MANTTASKS-155
> URL: http://jira.codehaus.org/browse/MANTTASKS-155
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Components: dependencies task
> Reporter: Paul Gier
> Assignee: Paul Gier
> Fix For: 2.1.0
>
>
> If the fileset generated by the dependencies task is used within a <path> task, it could cause a NPE. For example, consider the following:
> {code:xml}
> <path id="compile.classpath">
> <fileset refid="log4j:log4j:jar"/>
> </path>
> {code}
> If the path is later used by the <javac> task, this could cause a NullPointerException because internally Ant access the project reference when building the path.
--
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