Opps, wrong original address
--- Begin Message ---
Currently a number of objects in ant interpret / and \ as directory
characters on unix and on windows (and macos).

This makes writing cross-platform build scripts easy - and one
can also use build scripts written by windows people on unix.

This is not the case for the "glob" mapper and this has caused some
pain and some scripts to fail when moved from unix to windows and
visa-versa.

One can of course use ${file.separator}, but this does make the
scripts look ugly and one is not inclined to do this.

One could add an attribute to globmapper to tell it to do the
interpertation ("handledirchars" ?), but it may be nicer just
to always interpret the / and \ in the same as the "includes", and "include"
attributes and elements in fileset et. al.

I do not think there is any problem with BC if one does this.

See http://issues.apache.org/bugzilla/show_bug.cgi?id=32487
for some discussion on this subject.

Peter



--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to