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

        

Reply via email to