ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32582] - Conversion from upper case to lower case and vice versa
Date Wed, 08 Dec 2004 12:35:24 GMT
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=32582>.
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=32582





------- Additional Comments From michael.gellner@finanzit.com  2004-12-08 13:35 -------
I did not understand the reply.
There are filesystems that differ between upper and lower case characters, 
some that show them but ignore the case and others that offer only one variant.
I want to construct a build but my ftp only delivers things like

c:\temp\downplace\FILEONE
c:\temp\downplace\FILETWO
c:\temp\downplace\FILEANY
...

I cannot compile this, I need:

c:\temp\downplace\fileone.java
c:\temp\downplace\filetwo.java
c:\temp\downplace\fileany.java
...

This depends from the contents in the source files. On the platform where that 
stuff comes from the upper case filenames are not any problem, but if the 
exisiting code shall be mirgrated trouble comes up. The known PC compilers and 
IDEs cannot handle this. 

If there is a way (and maybe with substituting 26 upper case letters with 
lower case letters via regular expressions or else but even this seems to be 
impossible) please give a sketch.

My approaches with globmapper and rexexpmapper did not lead to any success.

IMHO it is a really strong limitation if a build tool is not able to convert 
filenames, near to a bug. *I* would have expected that a broad used build tool 
is able to such a thing. Even if regular expressions are implemented. But 
something like [A-Z] -> [a-z] does not work. I cannot find any option to 
modify the placeholders (\1 \2 ...) output.
So I tend to a bug if ant cannot do this. You see that I 
selected "enhancement" since it is not the case that something available does 
not work (it is some unavailable functionality).

Consider I need the filenames to a compile, distribute, deploy or some similar 
processing. Did I understand right, that *this* question would be a criterion 
to legitimate a 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message