RE: ant exec task trouble parsing quotes

2008-12-22 Thread Harnack Frank
Hello, you should try the java-Task. Regards Frank -Original Message- From: Ben Tu [mailto:b...@adobe.com] Sent: Tuesday, December 23, 2008 1:43 AM To: Ant Users List Subject: ant exec task trouble parsing quotes Hi, I am trying to run a java command using exec task in ant. I ran int

AW: AW: Copying Folder

2008-12-22 Thread Jan.Materne
You could or . Jan >-Ursprüngliche Nachricht- >Von: blazingwolf7 [mailto:blazingwo...@gmail.com] >Gesendet: Dienstag, 23. Dezember 2008 02:37 >An: user@ant.apache.org >Betreff: RE: AW: Copying Folder > > >Yes..thank you this is a good solution. But now I have a >different thought. >Can

RE: AW: Copying Folder

2008-12-22 Thread blazingwolf7
Yes..thank you this is a good solution. But now I have a different thought. Can I for example prepare a list, then in the list I will specify what file I want to transfer from the root directory to the new folder. Then it will refer to the file to determine which file to copy and which file not t

ant exec task trouble parsing quotes

2008-12-22 Thread Ben Tu
Hi, I am trying to run a java command using exec task in ant. I ran into the error because one of the java command argument has space between. Any idea? Please help. Thanks, Here is my ant task in build.xml file:

RE: AW: Copying Folder

2008-12-22 Thread Rebhan, Gilbert
-Original Message- From: blazingwolf7 [mailto:blazingwo...@gmail.com] Sent: Monday, December 22, 2008 10:12 AM To: user@ant.apache.org Subject: Re: AW: Copying Folder /* Not really...I just want to copy the files from the root directory But the root directory will have folders as well. N

RE: AW: Copying Folder

2008-12-22 Thread Brown, Carlton
It seems to me that you need to use the type selector. http://ant.apache.org/manual/CoreTypes/selectors.html This will build a fileset that contains files in ${basedir} but no folders under basedir. -Original Message- From: blazin

AW: AW: Copying Folder

2008-12-22 Thread Rebhan, Gilbert
-Ursprüngliche Nachricht- Von: blazingwolf7 [mailto:blazingwo...@gmail.com] Gesendet: Montag, 22. Dezember 2008 10:12 An: user@ant.apache.org Betreff: Re: AW: Copying Folder /* Not really...I just want to copy the files from the root directory But the root directory will have folders as we

Re: AW: Copying Folder

2008-12-22 Thread blazingwolf7
Not really...I just want to copy the files from the root directory But the root directory will have folders as well. Now the problem I faced is how to filter out all the folders so that it only copy the files from the root directory Rebhan, Gilbert wrote: > > > > -Ursprüngliche Nachricht-

AW: Copying Folder

2008-12-22 Thread Jan.Materne
>/* >Hmm...there are .txt and other files inside there.. >There are folders as well. I want to ignore all folders and >copy the rest of >the files >But just keep failing to do that. It copy everything >*/ > >i think you want to recursive copy, but only the files without >preserving >the directory

AW: Copying Folder

2008-12-22 Thread Rebhan, Gilbert
-Ursprüngliche Nachricht- Von: blazingwolf7 [mailto:blazingwo...@gmail.com] Gesendet: Montag, 22. Dezember 2008 09:53 An: user@ant.apache.org Betreff: Re: Copying Folder /* Hmm...there are .txt and other files inside there.. There are folders as well. I want to ignore all folders and cop

Re: Copying Folder

2008-12-22 Thread blazingwolf7
Hmm...there are .txt and other files inside there.. There are folders as well. I want to ignore all folders and copy the rest of the files But just keep failing to do that. It copy everything Brett Ryan wrote: > > The problem is that your `include' clause is implicitly ignoring > folders, if yo

Re: Copying Folder

2008-12-22 Thread Brett Ryan
My apologies, I think I didn't read the question correctly, Jan is correct after I read again :) -Brett On Mon, Dec 22, 2008 at 7:38 PM, wrote: > includeEmptyDirs="false"> - To unsubscribe, e-mail: user-unsubscr...@ant.apache.

Re: Copying Folder

2008-12-22 Thread Brett Ryan
The problem is that your `include' clause is implicitly ignoring folders, if you wish to use the include clause add another with the value of '*/', otherwise remove On Mon, Dec 22, 2008 at 7:26 PM, blazingwolf7 wrote: > > Hi, > > I am trying to used ant to copy all files from one folder to anoth

AW: Copying Folder

2008-12-22 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: blazingwolf7 [mailto:blazingwo...@gmail.com] >Gesendet: Montag, 22. Dezember 2008 09:27 >An: user@ant.apache.org >Betreff: Copying Folder > > >Hi, > >I am trying to used ant to copy all files from one folder to >another. But >from the directory the

Copying Folder

2008-12-22 Thread blazingwolf7
Hi, I am trying to used ant to copy all files from one folder to another. But from the directory the files to be copy from contains some folders as well. I tried to copy all the files except for the folders but fail to do so. Can anyone advic