DO NOT REPLY [Bug 42735] - New behavior of Ant-1.7.0 available task with fileset
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=42735. 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=42735 --- Additional Comments From [EMAIL PROTECTED] 2007-06-25 09:08 --- *** Bug 42734 has been marked as a duplicate of this bug. *** -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 42735] - New behavior of Ant-1.7.0 available task with fileset
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=42735. 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=42735 --- Additional Comments From [EMAIL PROTECTED] 2007-06-25 10:01 --- Thanks for the report and especially thanks for the build file. Available has changed in ant 1.7.0, in ant 1.6.5 and lower available would search all the parent directories for a file. This was not expected behavior, see: http://issues.apache.org/bugzilla/show_bug.cgi?id=39549 the question was raised on the dev list and it was decided to change the code. This however has introduced a bug, with the filelist. I have made a fix, however, exist9 will still not find a file. the dir layout is: ./subDir/list.xml the filepath is subDir/subsubDir since subDir/subsubDir/list.xml does not exist, the test will fail. One can use the (ant 1.7.0) attribute seachparents to get the old behavior: condition property=exist9 value=true available searchparents=yes file=list.xml filepath=subDir/subSubDir /available /condition - for example one may look for a file named etc -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 42735] - New behavior of Ant-1.7.0 available task with fileset
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=42735. 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=42735 [EMAIL PROTECTED] changed: What|Removed |Added Severity|normal |regression Status|NEW |RESOLVED OS/Version|Windows XP |All Resolution||FIXED Target Milestone|--- |1.7.1 --- Additional Comments From [EMAIL PROTECTED] 2007-06-25 10:38 --- I have made and committed the change. The following is now the output: Buildfile: /work/reilly/learning/a/available/build.xml prepare: available: Value of exist0: true Value of exist1: true Value of exist2: true Value of exist3: ${exist3} - no existence expected Value of exist4: true Value of exist5: ${exist5} - no existence expected Value of exist6: true Value of exist9: ${exist9} test: BUILD SUCCESSFUL Marking as fixed (with the explained change in behavior for the exist9 test). -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]