Re: Ant support for daemon processes

2007-06-05 Thread Stefan Bodewig
On Tue, 5 Jun 2007, Vladimir Egorov <[EMAIL PROTECTED]> wrote: > The above example may look like this. > > >executable='ServerUnderTest.exe' > ... > > > > > > > > Unlike the WL example, we are not using a proprietary stop > mechanism. The task is a generic ta

Re: ant equivalent of bash -x

2007-06-05 Thread Stefan Bodewig
On Tue, 5 Jun 2007, Graham Leggett <[EMAIL PROTECTED]> wrote: > In my quest to hunt down the mysterious ant crash that causes it to > exit with return code 13 without error or warning, I would like to > trace the execution of the build script to see how far ant gets. I'm afraid this sounds like a

Re: Make a 'fake' attachment

2007-06-05 Thread Matt Benson
--- Kevin Jackson <[EMAIL PROTECTED]> wrote: > Hi Matt, > > > You've got to keep track of my sleight-of-hand on > the > > the dev list, Kev! ;) If you're able to use the > > trunk version, you should be able to use: > > > > > > Isn't truncate an odd name for creating something > from nothing

Re: Make a 'fake' attachment

2007-06-05 Thread Kevin Jackson
Hi Matt, You've got to keep track of my sleight-of-hand on the the dev list, Kev! ;) If you're able to use the trunk version, you should be able to use: Isn't truncate an odd name for creating something from nothing?! And yes I can use the current svn trunk so that's cool. I'm not even s

Problem with task

2007-06-05 Thread cknell
Consider this task: The result of this tidies all the .htm files in ${base-dir}/sub1 and places them in in "destdir". It ignores a .htm file in ${base-dir}. I have elminated the possibility that the problem is in by running this experimental target:

Logging and Listeners

2007-06-05 Thread Ditrick, Gregory
Hi all, Is there a task or ant option that can cause a flushing of I/O buffers using log4j frame work? I have tried using jware/antx emit logging but its documentation is very hard to follow for me. For performance issues, log4j with buffering I/O is the best solution; however, the huge trade-of

Ant support for daemon processes

2007-06-05 Thread Vladimir Egorov
Hi Ant Users, I am interested in Ant support for daemon processes, such as servers. For example, I would like to stop an Exec or Java process on demand - this is not possible with existing Exec and Java tasks. Ant manual for parallel task has the following example that "represents a typical patte

Re: Make a 'fake' attachment

2007-06-05 Thread Matt Benson
You've got to keep track of my sleight-of-hand on the the dev list, Kev! ;) If you're able to use the trunk version, you should be able to use: -Matt --- Kevin Jackson <[EMAIL PROTECTED]> wrote: > Hi all, > > I need to create a file of around 25mb during a > build for use as a > test attach

Re: Ant return code 13 - what does it mean?

2007-06-05 Thread Martin Gainty
Graham- I would suggest looking at setting up root permissions for your PDE build environment http://www.eclipse.org/pde/pde-build/doc/usage.html (and follow steve's suggestion) M-- This email message and any files transmitted with it contain confidential information intended only for the pers

Re: Ant return code 13 - what does it mean?

2007-06-05 Thread Steve Loughran
Graham Leggett wrote: Hi all, I have been trying to use the eclipse PDE ant build scripts, and these fail with a return code of "13", without indicating an error or a warning. The ant documentation doesn't list ant's return codes, so it's not clear whether ant is exiting / crashing / segfaultin

ant equivalent of bash -x

2007-06-05 Thread Graham Leggett
Hi all, In my quest to hunt down the mysterious ant crash that causes it to exit with return code 13 without error or warning, I would like to trace the execution of the build script to see how far ant gets. Does ant have the equivalent of bash's "-x" trace feature? Regards, Graham -- ---

Re: Make a 'fake' attachment

2007-06-05 Thread yitzle
On 6/5/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: Hi all, I need to create a file of around 25mb during a build for use as a test attachment for the task Is there a simple way to do this or do I have to consider something with extra dependencies (script, shell etc) Kev Maybe just have a f

Ant return code 13 - what does it mean?

2007-06-05 Thread Graham Leggett
Hi all, I have been trying to use the eclipse PDE ant build scripts, and these fail with a return code of "13", without indicating an error or a warning. The ant documentation doesn't list ant's return codes, so it's not clear whether ant is exiting / crashing / segfaulting with error code 13, or

Re: Strange property problem

2007-06-05 Thread Steve Loughran
Peter Reilly wrote: On 6/4/07, Steve Loughran <[EMAIL PROTECTED]> wrote: ith ant properties are immutable, so what the hell is happening? you are getting burned by the fact that the $ in the macro param is being double expanded. Once in passing to macrodef, and then when being passed to sshexe

Make a 'fake' attachment

2007-06-05 Thread Kevin Jackson
Hi all, I need to create a file of around 25mb during a build for use as a test attachment for the task Is there a simple way to do this or do I have to consider something with extra dependencies (script, shell etc) Kev - To