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=21494>. 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=21494 <property>: version of location to search parent dirs Summary: <property>: version of location to search parent dirs Product: Ant Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have found it would be very useful to have an version of property.location that searches for parent directories. For example, I would like to be able to write in a nested build.xml file: <property name="build" searchparents="build"/> <property name="global-properties" searchparents="global.properties"/> which would set build to the first build dir found in project's base dir or its parents and similarly for global-properties. If such file or directory does not exist, searchparents would work exactly as current location attribute. In this way I can safely invoke ant against build.xml in an arbitrary subdirectory and it will properly initialize itself without the need to specify absolute path names in the environment or on command line. I emulate this functionality by wrapping ant invocation into a shell script that does that for all properties that I need to search but it would be nice to have the option in the ant directly. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]