RE: SCP and SSHExec tasks

2008-11-28 Thread Rez
Thanks everyone.> Date: Wed, 26 Nov 2008 11:16:00 -0800> From: [EMAIL PROTECTED]> To: user@ant.apache.org> Subject: Re: SCP and SSHExec tasks> > The scp task will not create remote directories. Also, there is no recursive> option. Yes, you can specify a fileset, but the directory structure will

Re: call another program with ant

2008-11-28 Thread Kate McCole
Great help!! Thank you very much -- View this message in context: http://www.nabble.com/call-another-program-with-ant-tp20740395p20741008.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-

Re: call another program with ant

2008-11-28 Thread Gilbert Rebhan
Kate McCole schrieb: > Is there any task for ant to call other scripts or files? > Thanks call other scripts, programs ... with task, see= http://ant.apache.org/manual/CoreTasks/exec.html call other ant scripts with task, see= http://ant.apache.org/manual/CoreTasks/ant.html also subant, see= h

call another program with ant

2008-11-28 Thread Kate McCole
Is there any task for ant to call other scripts or files? Thanks -- View this message in context: http://www.nabble.com/call-another-program-with-ant-tp20740395p20740395.html Sent from the Ant - Users mailing list archive at Nabble.com. -

Re: differenet ant script for different plateform?

2008-11-28 Thread Kate McCole
Thank you very much :clap: Patrick Waugh wrote: > > You can check to see which platform you are compiling on by looking at > some default properties, and then run the proper exec task based on > that with ac:if (ant contrib:if) > > > On 11/28/08, Kate McCole <[EMAIL PROTECTED]> wrote: >> >> H

Re: differenet ant script for different plateform?

2008-11-28 Thread Patrick Waugh
You can check to see which platform you are compiling on by looking at some default properties, and then run the proper exec task based on that with ac:if (ant contrib:if) On 11/28/08, Kate McCole <[EMAIL PROTECTED]> wrote: > > Hi, I'm new to ant and I have to write an ant build. > I saw some tas

Target overriding inside imported files.

2008-11-28 Thread Alfredo Perez
Hi everybody. I'm working with Eclipse and I have auto generated the build.xml file. There is a way to automatically import your own buildfiles by adding on the top. My question: ¿Is it possible to override the definition of a target in order to specify the dependencies? Let's say for example:

differenet ant script for different plateform?

2008-11-28 Thread Kate McCole
Hi, I'm new to ant and I have to write an ant build. I saw some tasks requires os and are very specific such as . Does it mean I have to write one script for each plateform?? -- View this message in context: http://www.nabble.com/differenet-ant-script-for-different-plateform--tp20737822p20737822

Re: How to create remote directory without using ftp?

2008-11-28 Thread Reinhardt Christiansen
Raffaele wrote: Hi all, I'm running ANT from Maven, and I would like to create some directory on a server. I have seen scp task which helped me to do remote file copy, very well. Now, I'm not understanding how to create a directory on my server, scp doesn't do this, is it right? I've tried al

How to create remote directory without using ftp?

2008-11-28 Thread Raffaele
Hi all, I'm running ANT from Maven, and I would like to create some directory on a server. I have seen scp task which helped me to do remote file copy, very well. Now, I'm not understanding how to create a directory on my server, scp doesn't do this, is it right? I've tried also with this: But

How to output a list of all folder and files in ant?

2008-11-28 Thread minifish
Hello, I'm try to output a list of all folder and files under a folder. Right now I have a program print out current directories, how I can make a loop and print out folders and files under each folder? I also want to distinguish the path difference for folder and files. Any help would be greatl