If the source is coming from a ClearCase view on a Windows machine where the ClearCase server is hosted by UNIX, I think it is likely an inter-op issue which can be resolved with a ClearCase setting.
On the Windows ClearCase Client - Start -> Settings -> Control Panel -> ClearCase -> and select the MVFS tab. Make sure "Case preserving" is checked. IIRC that requires a reboot. SKent x8014 -----Original Message----- From: mechlife [mailto:gaiam...@gmail.com] Sent: Wednesday, July 15, 2009 1:00 PM To: user@ant.apache.org Subject: Re: copy task and file name case problem to take an example what is happening is if the file name is MyJavaClass.java when it gets copied it changes to myjavaclass.java. ty Avlesh Singh wrote: > >> >> What is happening is the java files when they get copied to the target >> directory lose the casesensitive filename ... > > > I could not understand this. Do you mean to say that *.java files are > getting copied but not the *.JAVA files? If yes, then that might happen > depending on your underlying operating system. On a windows platform it > would work as you expect it to but not on unix. > > Cheers > Avlesh > > On Wed, Jul 15, 2009 at 9:42 PM, mechlife <gaiam...@gmail.com> wrote: > >> >> Hi, >> >> I am having this weird issue which has me stumped and don’t know where to >> look further. >> >> It’s the standard <copy> task and I have a fileset. >> >> <copy todir="${build.src}" verbose="true" > >> <fileset dir="${basedir}/../src"> >> <include name="**/*.java" /> >> </fileset> >> >> >> What is happening is the java files when they get copied to the target >> directory lose the casesensitive filename and obviously the subsequent >> compile fails. >> >> >> Any suggestions will be greatly appreciated. >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/copy-task-and-file-name-case-problem-tp24501269p24501269.html >> Sent from the Ant - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org >> For additional commands, e-mail: user-h...@ant.apache.org >> >> > > -- View this message in context: http://www.nabble.com/copy-task-and-file-name-case-problem-tp24501269p24502077.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________