RE: help! how to send multiple files to remote machine? ant-jsch

2007-04-11 Thread Anil Philip
Thank you for replying. Is there an example I can look at for transferring multiple files? I did a google search but was unable. thanks, Anil --- "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> wrote: > The wildcard is not resolved in ant. This is a > common mistake as people > expect Ant to r

RE: help! how to send multiple files to remote machine? ant-jsch

2007-04-11 Thread Anderson, Rob (Global Trade)
The wildcard is not resolved in ant. This is a common mistake as people expect Ant to resolve wildcards as a shell would. You would need to use a fileset. -Rob Anderson > -Original Message- > From: Anil Philip [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 11, 2007 12:13 PM > To: us

Re: javadoc

2007-04-11 Thread Res Pons
Thank you for all your help. I will just do it in Ant, why reinvent the whee? Original Message Follows From: "Scot P. Floess" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Ant Users List Subject: Re: javadoc Date: Tue, 10 Apr 2007 17:31:55 -0400 Res: Yeah you do...that's why I

dynamically reading a property file

2007-04-11 Thread pradhan
Hi there, Using ant, how can I dynamically read a property file? e.g. so now to reference a property in that file foo=bar All I have to do is ${myprop.foo} // prints bar however, I don't know how to do something like this envAll=abc,def abc=abhay def=pradhan now, say I pass in -Denv=

help! how to send multiple files to remote machine? ant-jsch

2007-04-11 Thread Anil Philip
Have you used scp to send the files from an entire folder? Is there *another* way besides using wildcards? I was sending it one file at a time and it would send two and then stop. I am trying to get it to send all the files at once. But when I specify D:\outbound\* then I get java.io.FileNotFou

Re: [Axis2] wsdl2java overriding my files

2007-04-11 Thread Martin Gainty
Anil- you should be managing the outDir attribute to reflect whatever outDir specification you have set from a (possibly set from environment) property e.g. you can now you use the OUTDIR environment variable set in the environment outdir = "${env.OUTDIR}" documentation is available at ht

RE: Problem with condition selection property; Help needed

2007-04-11 Thread Shailesh Sharma
I think, iam going to live with this problem for the time being. :) bill <[EMAIL PROTECTED]> wrote: Sorry abut that last empty post. You might want to look at AntForm, http://antforms.sourceforge.net/ . With it you can show a UI window where the user can pick the component to deploy by

Re: Exclude files in tarfileset

2007-04-11 Thread Peter Reilly
fileset excludes are relative and not absolute. the ${src} is accually /home/me/somedir/someapps/src and thus not in the fileset. Peter On 4/11/07, wolverine my <[EMAIL PROTECTED]> wrote: Hi! I want to do a backup of all my project files except the JARs in project/src/main/webapps/WEB-INF/lib

Exclude files in tarfileset

2007-04-11 Thread wolverine my
Hi! I want to do a backup of all my project files except the JARs in project/src/main/webapps/WEB-INF/lib directory. However, the following Ant task (using the src property) will include all the JARs in the backup.tar.gz: but, the following Ant task (WITHOUT

RE: Re: To change directory in ANT

2007-04-11 Thread Rebhan, Gilbert
Hi, -Original Message- From: query [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 2:36 PM To: Ant Users List Cc: Trevor Harmon Subject: Re: Re: To change directory in ANT /*  In my ANT script, there are a few tasks which have to be executed in some different directory. Aft

Re: Re: To change directory in ANT

2007-04-11 Thread query
 In my ANT script, there are a few tasks which have to be executed in some different directory. After executing those tasks, ANT script should return back to previous directory. So I want to change directory temporarily. How can I do it? On Wed, 11 Apr 2007 Trevor Harmon wrote : >On Apr 11, 20

RE: Extracting values from a line of a file

2007-04-11 Thread Rebhan, Gilbert
Hi, -Original Message- From: Maninder Singh (GR/EIL) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 1:11 PM To: Ant Users List Subject: RE: Extracting values from a line of a file /* Hi Gilbert / All, Thanks for the quick response. But I was guessing, is there any

Re: Re: To change directory in ANT

2007-04-11 Thread query
Hi, I want to run part of my ANT build script in a different directory and then revert back to my curent directory. There are a few commands whose output should be placed in a different directory. Can you please help me as to how I can proceed for this? On Wed, 11 Apr 2007 Trevor Harmon wrote

RE: Extracting values from a line of a file

2007-04-11 Thread Maninder Singh \(GR/EIL\)
Hi Gilbert / All, Thanks for the quick response. But I was guessing, is there any other way to do this. I mean is there any way to do this only using Ant; since I'm not comfortable with RUBY? Thanks again for the help. >Regards, >Maninder Singh -Original Message- From: Rebhan,

Re: To change directory in ANT

2007-04-11 Thread Trevor Harmon
On Apr 11, 2007, at 12:29 AM, query wrote: I want to use change directory in ANT scripts. But it is not changing directory.It will revert back to its original setting as soon as it comes out of shell prompt. Yes, that is the expected behavior. creates a new shell environment every time i

To change directory in ANT

2007-04-11 Thread query
  Hi, I want to use change directory in ANT scripts. But it is not changing directory.It will revert back to its original setting as soon as it comes out of shell prompt.I tried using Is there any met