ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42397] - Reference does not work for <files> within a <path>
Date Fri, 11 May 2007 16:19:17 GMT
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


Mime
View raw message