Re: with genericantfile changes basedir !

2005-11-22 Thread Gisbert Amm
I think the mentioned ant-contrib is http://ant-contrib.sourceforge.net/ Regards, Gisbert Amm Dan Finkelstein wrote: I'm afraid I don't know which contribution you're talking about. I don't see one that has to do with for-each !! Which do you mean? At 11:50 PM 11/16/2005, Antoine Levy-Lam

Re: Backup before deploy

2005-11-22 Thread Gisbert Amm
keith wong wrote: Here is steps I need to make: 1. SSH to remote. 2. su to our user. 3. tar all backup and save it to privielge restricted location allowed from that "su"ed user. 4. compress the tar to save space. You could pass your tar command to su with the -c option (-c, --commman

Re: Question on how to to debug mapper issues

2005-11-22 Thread Doug
I think. well give a try & pray. On November 21, 2005 06:44 pm, Brown, Carlton wrote: > As I'm learning Ant, one thing I miss bitterly is the ability to print, > echo, or otherwise inspect every piece of data in order to see where > things are going wrong. I'm having some trouble with a mapper

Re: with genericantfile changes basedir !

2005-11-22 Thread Antoine Levy-Lambert
Hello Dan, ant-contrib is a project on source forge : AntContrib The Ant-Contrib project is a collection of user supplied task (like an || task) and a development playground for experimental tasks like a C/C++ compilation task for different compilers. Compatibility: 1.4.1 and above URL

RE: Backup before deploy

2005-11-22 Thread Bozorgdadeh, Afshin
Rob, I have to learn to be more concise, as you where "that what I mean". I did not mean a sarcasms remark. I thought I have said the same thing in much more verbose manner. And yes I am glad people like you are out there which help others. And I want to sincerely Thank you for it Thank you Rob f

RE: Backup before deploy

2005-11-22 Thread Anderson, Rob (Global Trade)
I have no idea what you are trying to say, but I'm glad I could help. You're welcome. -Rob A > -Original Message- > From: Bozorgdadeh, Afshin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 22, 2005 9:57 AM > To: Anderson, Rob (Global Trade) > Subject: RE: Backup before deploy > > R

RE: Backup before deploy

2005-11-22 Thread Thomas, Lee E
I'll try this again... I don't believe my first reply made it. Lee -Original Message- From: Thomas, Lee E Sent: Tuesday, November 22, 2005 9:43 AM To: 'Ant Users List' Subject: RE: Backup before deploy How about using ant's telnet task and telneting in as the user who you are wanting t

RE: Backup before deploy

2005-11-22 Thread Anderson, Rob (Global Trade)
You should setup sudo on the remote side to allow you to execute the commands you need to run as the user you need to run them as. The command in the ant sshexec task would look something like this: Check out the sudo manual... http://www.courtesan.com/sudo/ -Rob Anderson > -Original Me

RE: Building ejb.jar file for webspher

2005-11-22 Thread Bozorgdadeh, Afshin
Hello Geoffrey, I can not thank you enough, You and your 4 line of code saved my back and eased my tormented brain. I ran it last night and it look like it's working. Thank you so much. Best Regards Afshin Bozorgzadeh Fidelity Investments Brokerage Company FBCT ClearCase Release Engineer

RE: Backup before deploy

2005-11-22 Thread Bozorgdadeh, Afshin
My last 2cents You could get the job done or you could just brain storm about it. When you are su to a different user you are creating a chilled process, so your script has to have a way to communicate with a child process. In the good old day there was a scripting language name "EXPECT" which coul

Re: Backup before deploy

2005-11-22 Thread Jakob Fix
Keith, On 22/11/05, keith wong <[EMAIL PROTECTED]> wrote: > Hello, > I need control remote host thru ssh to tar all backup > file, but I get into problem of "su - " command after > ant in. I not sure how to keep ssh session > and process two steps command to archive. Here is > steps I need to mak

AW: Fork problem in the task "Java" with long classpath, on Windows OS.

2005-11-22 Thread Jan.Materne
then indeed it's a classpath length issue, and you can >use tricks like create a Jar with an in-manifest Class-Path: >attribute interpreted by the VM directly to work around the issue. --DD Maybe a jar with only that manifest file? Jan --

Re: Fork problem in the task "Java" with long classpath, on Windows OS.

2005-11-22 Thread Dominique Devienne
> I wrote an Ant build.xml file and I'd like to use the Java task with a very > long classpath. I also need to use the "fork" property (fork="true") > for setting the amount of memory available for the new JVM. > > The task works fine on Linux and on Windows when I use the JRE 1.3.x, but > I get a

RE: Backup before deploy

2005-11-22 Thread Thomas, Lee E
How about using ant's telnet task and telneting in as the user who you are wanting to run the commands as. The telnet task can be used to run the backup commands. Thanks. Lee -Original Message- From: Bozorgdadeh, Afshin [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 9:32 A

RE: Backup before deploy

2005-11-22 Thread Bozorgdadeh, Afshin
Hi Keith, I am new to Ant, but as far as the UNIX goes, when you "su - " you will lose all your shell !!! So what could I do ??? The easy way out is to write a simple shell script with the privileged user does your entire grunt work for you on the specific server. At this point you want to pass the

Re: *****spam***** RE: Question on how to to debug mapper issues

2005-11-22 Thread Geoffrey Mitchell
Sure enough, you were correct. It seems that the "to" attribute does not handle literal relative paths very well. If I store the relative path as the location attribute of a property, no problem doing anything at all. What's up with this? Does anybody else find that buggy, or is it just me?

Fork problem in the task "Java" with long classpath, on Windows OS.

2005-11-22 Thread Nardelli, Luca
Hi, I wrote an Ant build.xml file and I'd like to use the Java task with a very long classpath. I also need to use the "fork" property (fork="true") for setting the amount of memory available for the new JVM. The task works fine on Linux and on Windows when I use the JRE 1.3.x, but I get an jav

Re: and '$' symbol on Solaris 8

2005-11-22 Thread Dominique Devienne
> FIXED!!! The point is the environment variable LANG. > > ProductIndexer connects to Oracle DB during its work. For right work of > oracle database connection it is necessary to indicate language. New > property shall be added: > > > > Hmmm, AFAIK a child proce

RE: and '$' symbol on Solaris 8

2005-11-22 Thread Nadejda Rylova
FIXED!!! The point is the environment variable LANG. ProductIndexer connects to Oracle DB during its work. For right work of oracle database connection it is necessary to indicate language. New property shall be added: Then: And it's all