You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/05/11 18:19:17 UTC

DO NOT REPLY [Bug 42397] - Reference does not work for within a

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42397>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42397


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
            Summary|NPE when combining <files>  |Reference does not work for
                   |and <javac>/<classpath>     |<files> within a <path>




------- Additional Comments From peterreilly@apache.org  2007-05-11 09:19 -------
Thanks for the report.
I am reproduce this with a simpler build file,
and so am changing the 
title to reflect the root cause.

The follows build.xml file shows the problem:
<project>
  <files id="files">
    <include name="${basedir}/build.xml"/>
  </files>


  <path id="path">
    <files> <!-- this works fine -->
      <include name="${basedir}/build.xml"/>
    </files>
  </path>

  <path id="path">
    <files refid="files"/> <!-- this causes a null-pointer -->
  </path>

  
</project>



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org