RE: Getting the process id of a process started by ANT

2007-02-27 Thread Tim Gordon
we basically have a peer server which all of the other servers register with by name. If you want to shut a server down you run a client which logs on to the peer and then tells the server via the peer to shut down. Tim Gordon Allustra Limited Paxton House 30 Artillery Lane London E1 7LS Tel +44 (

File URLs for different plaforms

2006-04-24 Thread Tim Gordon
s looking for a host call 'C'. The simplest way out seems to be to define my config.url propeties like config.url=file:///${file.system.path} instead, because *nix absorbs the superfluous forward-slash but this doesn't seem to be a very elegant solution. Tim Gordon Allustra Limited Pa

Ant Repository Down?

2006-03-17 Thread Tim Gordon
Is it just me, is the repository at cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login unavailable? Tim Gordon Allustra Limited Paxton House 30 Artillery Lane London E1 7LS Tel +44 (0)20 7539 5722 Fax +44 (0)20 7539 5710 http://www.allustra.com

Expanding properties

2006-01-27 Thread Tim Gordon
Hi Say I have a file, called contents.txt, which contains the text: contents.txt: The value is ${something} And I have a property file values.properties which reads values.propeties: something=somevalue How to I turn contents.txt into contents.txt: The value is somevalue I can do this with

C preprocessor driven from ANT?

2005-12-13 Thread Tim Gordon
Hi Does anyone know of a pure-Java pre-processor that can handle c-style multiple #include and nested #defines? Our DB build is preceded by the SQL being subject to some C-style pre-processing before the stored procs are run into the DB. Our DB build is done outside of ANT using make at the momen

RE: Console output for exec

2004-08-19 Thread Tim Gordon
de to do what you ask has been explicitly removed from Ant at some point in the past. HTH, Matt --- Tim Gordon <[EMAIL PROTECTED]> wrote: > Boys and Girls > > For those of you who think about these things, is > there any god reason why > the System.out and System.err of processe

RE: problem with the java task...

2003-09-03 Thread Tim Gordon
It sounds like it's crashed with no output but the forked JVM hasn't terminated - ANT will wait to join up with any forked JVM. Don't be fooled into thinking that ANT will spawn another long-lived JVM and then the ANT JVM will exit. Have you tried running in verbose and then executing the command

Slightly OT - getting the process ID of a process started by ANT

2003-07-09 Thread Tim Gordon
r. Thanks Tim Gordon Allustra Limited 1 Royal Exchange Avenue London EC3V 3LT Tel 020 7464 4190 Tel 020 7464 4194 http://www.allustra.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Repeating an ANT command for each entry in a FileSet

2003-03-26 Thread Tim Gordon
riginal Message- From: Tim Gordon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 9:55 AM To: Ant Users List Subject: Repeating a command for each entry in a FileSet Hello Is there any way to perform the same command or set of commands for each file in a FileSet? I want to be able to ge

RE: auto notification question...

2003-03-26 Thread Tim Gordon
If you're using either NT or unix scripts then why not kick off an ANT task at the end of the build that has a target which sends a mail. This option depends entirely on your non-ANT build scripts failing on error... -Original Message- From: Ciramella, EJ [mailto:[EMAIL PROTECTED] Sent: 26

Repeating a command for each entry in a FileSet

2003-03-26 Thread Tim Gordon
Hello Is there any way to perform the same command or set of commands for each file in a FileSet? I want to be able to get a FileSet, matching all files on a pattern, and then do a separate exec for each file. Any ideas? Thanks Tim Gordon Allustra Limited 1 Royal Exchange Avenue London EC3V

Passing a file list to ANT javac task

2003-03-21 Thread Tim Gordon
27;includesfile' attribute. If the number of files specified in 'includesfile' is large and the number of files under the root is large then this takes a long time. Obviously, I'm doing something wrong. Is there a way to pass a specific set of files the the 'javac'