> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Peter Nabbefeld > > Dominique Devienne schrieb: > >>Ant 1.6.3 will add a new attribute to the regexp mapper: handledirchar > >> > >> <regexpmapper from="${basedir}/d/e/(.*)" to="\1" > >> handledirchar="yes"/> > > > > > > I missed the introduction of this one. cool! > > > > OTOH, its name sounds weird. How about simply calling it 'dirsep' to be > > consistent with <pathconvert>? In this context, it simply overrides the > > default platform's dirsep used when interpreting the regexp. No? --DD > > That's not an issue of consistency: While pathconvert creates an > os-specific path, regexpmapper analyses a path - handledirchar just > allows the mapper to treat file separators system-independently. That's > why dirsep is a character attribute, while handledirchar is boolean.
I still don't like the name much, but I see your point. And I don't have a better name to propose. Actually, I do. 'handledirsep' at least uses the same terminology as in <pathconvert>, for the same concept. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
