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 17240] New: - Log level of message 'Overriding previous definition of reference to'
Date Thu, 20 Feb 2003 10:11:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17240

Log level of message 'Overriding previous definition of reference to'

           Summary: Log level of message 'Overriding previous definition of
                    reference to'
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: ant-user@family-seidel.de


With following build.xml

<project name="Override" default="all">
        <target name="all">
                <path id="java.classpath">
                        <pathelement location="./first.jar"/>
                </path>
                <path id="java.classpath">
                        <pathelement location="./second.jar"/>
                </path>
        </target>
</project>

I get the message
Overriding previous definition of reference to java.classpath

This comes from org/apache/tools/ant/Project.java, line 1778 where the log level
 is set to MSG_WARN. IMHO this is inconsistent with line 434 where overriding of
properties is logged with MSG_VERBOSE. 

Suggestion: set both to MSG_VERBOSE and please also for 1.6 and above

Thanks a lot

Mime
View raw message