Re: Copy task not working as expected

2005-05-13 Thread Dave Bartmess
On Fri, 2005-05-13 at 21:35 -0700, miten mehta wrote: > Hello, > > I am having problem getting ant task copy to work as > expected. Refer dir structure and task snippets > below. > > I would like to copy sys, scripts dir tree from > /home/mit/common to /home/mit/install. so sys and > script

Copy task not working as expected

2005-05-13 Thread miten mehta
Hello, I am having problem getting ant task copy to work as expected. Refer dir structure and task snippets below. I would like to copy sys, scripts dir tree from /home/mit/common to /home/mit/install. so sys and scripts tree should be available under install after tasks are executed. Als

Re: Problem with SSHEXEC and nohup

2005-05-13 Thread Alexey N. Solofnenko
The command does not work, because you need to redirect STDxxx file handles to /dev/null (or some file(s)) first. You may also need to run a script interpreter first, or create a separate script in order to be able to redirect STDxxx handles. - Alexey. Dave Bartmess wrote: I'm trying to do a fo

Re: Problem with SSHEXEC and nohup

2005-05-13 Thread Ninju Bohra
Rather than trying to get the task to return quickly, what about trying the task to invoke the four 's calls at once. Just my 2 cents, Ninju --- Dave Bartmess <[EMAIL PROTECTED]> wrote: > I'm trying to do a four-task parallel call, using > sshexec to call the > remote builds. Each build is a re

Problem with

2005-05-13 Thread Ninju Bohra
Hello all, First time having to use to open up a tar-file, that has been compressed with gzip, and getting the following errors: [untar] Expanding: cybere_sa-2005-May-05-19499-dmp.tar.gz into C:\DOCUME~1\nbohra\LOCALS~1\Temp \dbexport [untar] expanding DataExport.dmp to C:\DOCUME~1\

Problem with SSHEXEC and nohup

2005-05-13 Thread Dave Bartmess
I'm trying to do a four-task parallel call, using sshexec to call the remote builds. Each build is a replica of the calling build, just on a different platform. The build script portion is below. The problem is, when ant executes the sshexec task, despite what I put in the remotebuild.sh, such a

RE: How to get properties from an executable run with exec

2005-05-13 Thread Bill Rich
Why don't you just load the same configuration file in the Ant file. There are several tasks that are available in Ant that can do that. If the file is a Java PropertiesResourceBundle file will load the file and set the properties in Ant. will load a file into a property that can then be processe

Re: How to get properties from an executable run with exec

2005-05-13 Thread Ricky Clarkson
I'm underqualified to answer really, but you can use ant from within Java, so you could do all this in Java source code. On 09/05/05, ELASRI Patrice SOFRECOM <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm new to Ant and need to know how to get several properties as > environment variables for an exe