Re: Excute shell command

2009-07-15 Thread jhoomsharabi
Thanks for reply and detail explanation, I have soemthing else with shellscript How about this: ? I am ble to get the output what I want, like to know apart from becoming this code platform specific where else it can fail, because I am least bothered of platform as the things will always re

copy task and filename issue..

2009-07-15 Thread Manish.Shah
Hi, I am having this weird issue which has me stumped and don't know where to look further. It's the standard task and I have a fileset. What is happening is the java files when they get copied to the target directory lose the

Re: Excute shell command

2009-07-15 Thread David Weintraub
I just tested this: * Output = ${KAR}* The problem is you can't use "arg line" because arg line parses each word as a separate argument. You need to make the whole command a single argument. The is not going to work because the variables are defined in a subs

RE: copy task and file name case problem

2009-07-15 Thread mechlife
I had got that checked and went through the speel of restarting the box but it was still giving me problems. since you provided the same direction i tried again and it works..woot!! should have done this earlier but for the future if anyone runs into the same problem. Clearcase is hosted on a li

Re: copy task and file name case problem

2009-07-15 Thread Avlesh Singh
Sounds really weird and cannot be justified in context of the copy task. Try the copy with overwrite="true" parameter. My guess is that because of some old exercise your files exist in the target directory with lowercase names. The copy task, by default, does not copy a file to the target directory

RE: copy task and file name case problem

2009-07-15 Thread Moore, Kent
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 sele

Re: copy task and file name case problem

2009-07-15 Thread Scot P. Floess
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

Re: copy task and file name case problem

2009-07-15 Thread mechlife
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 cou

Re: copy task and file name case problem

2009-07-15 Thread Avlesh Singh
> > 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 ope

copy task and file name case problem

2009-07-15 Thread mechlife
Hi, I am having this weird issue which has me stumped and don’t know where to look further. It’s the standard task and I have a fileset. What is happening is the java files when they get copied to the target directory lose the

Re: Excute shell command

2009-07-15 Thread jhoomsharabi
I combined xmltask and ant-contrib's shellscript like this KAR=`echo ${act-dir} | awk -F. '{print $1}'` MAR=`echo ${act-dir} | awk -F. '{print $4}'` echo "KAR: $KAR" echo "MAR: $MAR" I am able to achieve

Re: Excute shell command

2009-07-15 Thread jhoomsharabi
I combined xmltask and ant-contrib's shellscript like this ? ?? ? ??? ??? KAR=`echo ${act-dir} | awk -F. '{print $1}'` ??? MAR=`echo ${act-dir} | awk -F. '{print $4}'` echo "KAR: $KAR" echo "MAR: $MAR" ??