Re: Selectively delete files/folders on another server

2010-12-15 Thread Maureen Troendle
The idea behind this is that there is one deployment server that deploys code to multiple envs with various middleware components (Oracle, Websphere, Message Broker, Business Objects) stored on multiple lpars. So I need to drop files, run scripts, deliver middleware components to 3 lpars for

Re: Selectively delete files/folders on another server

2010-12-15 Thread Antoine Levy-Lambert
Hello Maureen, would it be possible to install ant on the target machines and move the logic to determine folders to be deleted there ? this might be a way to do this work more simply. What is the criteria according to which you know which directories/files to delete or to preserve ? Regard

Selectively delete files/folders on another server

2010-12-15 Thread Maureen Troendle
I'm using Ant to deploy various components to different servers and I'm looking for a way to enumerate files/folders on a remote server and then selectively delete them. So I don't know everything that will be there but I know the folders I want to leave undeleted. I'm looking for some kind o

RE: Fixed default target

2010-12-15 Thread Roos Tomas
I did this now according to Davids recommendation. This seem to be an ok workaround, though we are almost there, there is one thing missing.

RE: Fixed default target

2010-12-15 Thread Roos Tomas
Also forgot the notation for properties isn't that easy all the time ;-) -Original Message- From: Roos Tomas [mailto:tomas.r...@mpsbroadband.com] Sent: den 15 december 2010 09:59 To: Ant Users List; lt...@talk21.com Subject: RE: Fixed default target Yeah i thought of that too, though it

RE: Fixed default target

2010-12-15 Thread Roos Tomas
Yeah i thought of that too, though it isn't that clear for users that has been using ant earlier and got a list of targets. But I guess that's the last out come. Thanks! -Original Message- From: lt...@talk21.com [mailto:lt...@talk21.com] Sent: den 15 december 2010 09:55 To: Ant Users Li

Re: Fixed default target

2010-12-15 Thread ltsao
How about treating 'target' as command parameter, then do recursive ant call using param as target. Sent from my BlackBerry® wireless device -Original Message- From: "Roos Tomas" Date: Wed, 15 Dec 2010 09:48:31 To: Ant Users List Reply-To: "Ant Users List" Subject: RE: Fixed default ta

RE: Fixed default target

2010-12-15 Thread Roos Tomas
Well the thing is we have a multi build file system and in the root i just want to relay the targets that were chosen by the commandline down to root\module\build.xml. But the thing it is not possible to get the ${ant.project.invoked-targets} before entering a target, which you mentioned. Therefor