https://issues.apache.org/bugzilla/show_bug.cgi?id=49162
--- Comment #3 from Sky Ao <[email protected]> 2010-05-09 07:36:24 EDT --- I have verified this bug with new version 1.8.1, this warning doesn't appear now. Also I have checked the source code of class org.apache.tools.ant.helper ProjectHelper2, the code above in my bug report has been updated to add check for both context.getBuildFileURL() and context.getBuildFile(): if (MagicNames.ANT_FILE_TYPE_URL.equals(dupType)) { ... contextFile = context.getBuildFileURL(); } else { ... contextFile = context.getBuildFile(); } if (context.isIgnoringProjectTag() && !dupFile.equals(contextFile)) { project.log("Duplicated project name in import. Project " + context.getCurrentProjectName() + " defined first in " + dup + " and again in " + contextFile, Project.MSG_WARN); } I think this bug has been fix and this issue would be closed. Thanks to all. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
