Re: Properties manipulation

2005-05-20 Thread Dave Bartmess
I haven't tried this, but have done similar things in the past. You should be able to use: On Thu, 2005-05-19 at 12:03 -0500, George Dibi wrote: > All, > > Can someone help figure this out? > > Xml file > value="build_stdapps.properties"/> > > -

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

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

Garbage collection question

2005-04-05 Thread Dave Bartmess
e at a time manually (through ant still, but "written out" instead of a single call to do all), it seems to work... Thanks -- Dave Bartmess Sr. Software Configuration Manager Health Language. Inc. Office: 303-307-4400 x274 Cell: 303-883-9117 --

Possible to "nest" variables?

2005-03-31 Thread Dave Bartmess
Just curious, in ant 1.6.2, is it possible to "nest" ant variables, such as in "${${os.name}.build.dir}" ?? -- Dave Bartmess Sr. Software Configuration Manager Health Language. Inc. Office: 303-307-4400 x274

Re: Errors in cvschangelog module???

2005-03-24 Thread Dave Bartmess
to be working now that I uninstalled the older version... Thanks a million! On Thu, 2005-03-24 at 08:16 +0100, Stefan Bodewig wrote: > On Wed, 23 Mar 2005, Dave Bartmess <[EMAIL PROTECTED]> wrote: > > > It looks like there's an error in the command line passed to cvs, > >

Errors in cvschangelog module???

2005-03-23 Thread Dave Bartmess
I'm getting an error from the cvschangelog task, as show below. I've confirmed that all the files exist, and that cvs is executable from the directory stated (I use MANY cvs commands in my ant build) Can someone help? This is holding up a major testing phase!!! Thanks! How to make imported targets always able to use "project.target"?
I want to be able to use the imports always as "project.target", as in: import "${basedir}/common.xml" Is this possible? It looks like (from viewing debug output of my scripts) that unless the imported target is already defined in the importing script, the project base isn't usable. This

RE: How to remotely copy files from remote server to remote server?

Scp only copies from a local to a remote directory, or from a remote to a local directory. It doesn't work for remote to remote directory transfers... On Mon, 2005-01-31 at 14:38 -0500, [EMAIL PROTECTED] wrote: > What happened w/ scp? From your problem description, it should be a > perfect fit.

How to remotely copy files from remote server to remote server?

I've tried several ways, but can't seem to find a way to copy a set of files from a directory on a remote server to another directory on the same or a different remote server. ftp and scp don't work, and we don't have the option of sshexec (security issues, supposedly). ftp and scp only copy from

Re: Last element of current directory name.

It might be simpler, and probably less problematic, to create a new ant task and use it instead of the javascript. I've had nothing but problems with using javascript, the least of which is getting all the dependencies correctly installed. Try this: * MyProperty.java package

Re: AW: How to copy from one remote directory to another remote direc tory?

Jan > > > -Ursprüngliche Nachricht- > > Von: Dave Bartmess [mailto:[EMAIL PROTECTED] > > Gesendet am: Donnerstag, 27. Januar 2005 15:24 > > An: user@ant.apache.org > > Betreff: How to copy from one remote directory to another remote > > directory? > > >

How to copy from one remote directory to another remote directory?

I see in the ant tasks that scp and ftp are available, but they only copy from a local source to a remote destination. I'm trying to copy files between two remote directories, and not finding any tasks to do that. I know I can use ssh, but I'm trying to avoid that one for security purposes. I c

Adding classpath dynamically inside a target?

Is there a way to dynamically add to the classpath within ant, for say a Perforce task? I need to add a specific version of a jar file depending on the project I am compiling. When I call p4label, it says "The ant script calls other ant scripts to create these projects, and the jar file is differen

Re: Properties getting unset with ?

The first thread shows EXACTLY what I wanted to do! Thanks for the info ahead of my message to ask about it! Gotta love it when I get answers BEFORE the questions! On Sat, 2004-12-04 at 23:50 -0600, Jacob Kjome wrote: > I disagree with your statement that is almost no better than > entity inclu

Re: copy

You should be able to use the include nested element to do this like: On Wed, 2004-11-17 at 19:09 +0100, Franz-Josef Herpers wrote: > Hi *, > > Is it possible with ant to copy or move files/dir from a directory which > name I don't know exactly. Something like: > >

RE: Trying to run CGI script on server after build

ript. If you want to validate what the script returns, you > might want to look into something like HttpUnit and friends. Very nice to validate > web sites. > > > -Original Message- > > From: Dave Bartmess [mailto:[EMAIL PROTECTED] > > Sent: Friday, November 05,

Trying to run CGI script on server after build

I've got a product I'm working on that needs a "validation" script run after the build is complete. The Ant script right now FTP's the built modules to the server, but I have to manually use the browser to run the script. Is there any Task out there that can handle this, and return the resulting p