ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: copy task and file name case problem
Date Wed, 15 Jul 2009 17:06:28 GMT

What platform are you running this on?

On Wed, 15 Jul 2009, mechlife wrote:

>
> 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 <gaiamech@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-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@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-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

Mime
View raw message