https://issues.apache.org/bugzilla/show_bug.cgi?id=50953

--- Comment #1 from Dekel Cohen <[email protected]> ---
The reason for the bug is a change in ImportTask.java:
ImportTask.getFileAttributeResource was added:
* if (buildFile.exists()) - incorrectly added in ant 1.8.x 
   ) This is the bug: buildFile extensions.xml is within a jar (so special !jar
path) --> FS api.exist() fails to find it --> import to properties.xml (the
importedFile) fails
* In 1.7.1 there is no check that buildfile exist, but rather a check that
importedFile exist:
  File buildFileParent = new File(buildFile.getParent());
  File importedFile = FILE_UTILS.resolveFile(buildFileParent, file);
  ...
  if (!importedFile.exists()) {

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to