if files have been copied physically, then execute some target

2009-05-08 Thread walki2
Hi, My ant code looks something like this: ... ... I would like the run target to be exectuted only if files have been copied. If I do not do a clean and files have not been modified, no files are actually copied but the run target is still executed. How can I d

RE: Problems with ANTLR

2009-05-08 Thread #
Hi, the ant-lib for the antlr3 task can be downloaded from here: http://antlr.org/share/1169924912745/antlr3-task.zip A short description of it's usage is enclosed in the zip-archive (antlr3-task.htm or antlr3-task.doc). Try the examples contained in the zip-archive. There is also an example on

Re: core Task 'exec' start Invalid switch - /B

2009-05-08 Thread Eric Fetzer
Regarding the redirect to a file, PSExec has problems with redirection.  What I ended up having to do is push a batch file to the machine, run the batch file using psexec, and then delete the batch file when it finished.  Check out the psexec forum, it's loaded with stuff about that: http://for

Re: hang up even inputstring=""

2009-05-08 Thread David Weintraub
I see this is on a Windows system. Windows doesn't do process forking. It throws off a thread using the CreateProcess call. It's very similar to forking, but not quite. If the created thread is waiting for input, and the CreateProcess call was told to wait for input, everything freezes, and the tim

RE: AntContrib: Who maintains it?

2009-05-08 Thread Martin Gainty
david..i *thought* you were the maintainer! Martin Gainty __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we as

AntContrib: Who maintains it?

2009-05-08 Thread David Weintraub
I've known a lot of people who like to use AntContrib, but I have a few questions about it: * Who maintains it? It apparently looks like no one is actively maintain it. * When was the last release? I believe AntContrib has been at the 1-b2 release for years. * Why aren't these tasks simply added t

Re: hang up even inputstring=""

2009-05-08 Thread coonay
D:\workspace\ClientAutomation>java -version java version "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing) D:\workspace\ClientAutomation>ant -version Apache Ant version 1.7.1 compiled on June 27 2008 coonay wrote: >

Re: AW: core Task 'exec' start Invalid switch - /B

2009-05-08 Thread coonay
i don't want start to create a new widnows,so i use the /B switch coonay wrote: > > without "/B" swith,start will create a new window , > > > > Jan.Materne wrote: >> >> Is "start" really an executable? Maybe it is only a shell command. Then >> you have to execute the shell itself (cmd.exe, s

Re: AW: core Task 'exec' start Invalid switch - /B

2009-05-08 Thread coonay
without "/B" swith,start will create a new window , Jan.Materne wrote: > > Is "start" really an executable? Maybe it is only a shell command. Then > you have to execute the shell itself (cmd.exe, sh, ...). > > Redirecting the output in Ant is not done via shell options (1>, 2>, >&1, > ...). Y

hang up even inputstring=""

2009-05-08 Thread coonay
the ant will be hang up even the inputstring="" and timeouted - http://coonay2010expo.blogspot.com/ http:coonay -- View this message in context: http://www.

Re: AW: AW: Comparison length for processing as a condition

2009-05-08 Thread coonay
Hi,Jan many thanks for you help Jan.Materne wrote: > > Again: > Where do you set ${HOST}? > Have you checked its value? > > > I tried an example and it works for me. > > > Jan > > > > > > > > HOST: ${HOST} > isValid : ${isValidHost} > > > > > > HO

Re: AW: core Task 'exec' start Invalid switch - /B

2009-05-08 Thread coonay
i think "start " is an executable,it runs normally without /B switch. PS:cmd>start /WAIT /B psexec \\myhost ipconfig it runs ok when it's eexcuted in dos command Jan.Materne wrote: > > Is "start" really an executable? Maybe it is only a shell command. Then > you have to execute the s