Re: Redirecting compile errors

2008-01-16 Thread Peter Reilly
On Jan 17, 2008 12:37 AM, James Abley <[EMAIL PROTECTED]> wrote: > On 16/01/2008, Steve Loughran <[EMAIL PROTECTED]> wrote: > > Toomey, Kevin H (ATS, IT) wrote: > > > It looks like support for JSR199 (java compiler API) would give me what > > > I'm looking for, but I couldn't tell for sure if/when

AW: Mail Task

2008-01-16 Thread Knuplesch , Jürgen
Thanks to Kevin and malleswararaosn, That helped a lot. The rest are questions of the configuration of our mailserver. Greetings Jürgen -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbHTel. +49 711 806098-275 Sophienstraße 40 D-7

Re: failonerror=false behavior for targets?

2008-01-16 Thread David Weintraub
Take a look at the "-k" command line option: http://ant.apache.org/manual/running.html#options On Jan 16, 2008 9:46 PM, weiji <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there a way to cause Ant to not quit if a target fails? For instance, > several targets may execute, and if the first one fails w

failonerror=false behavior for targets?

2008-01-16 Thread weiji
Hi, Is there a way to cause Ant to not quit if a target fails? For instance, several targets may execute, and if the first one fails we still have the others continue. I know that many tasks have a failonerror attribute, but we are looking at something that would apply to the entire target. Th

Re: Redirecting compile errors

2008-01-16 Thread James Abley
On 16/01/2008, Steve Loughran <[EMAIL PROTECTED]> wrote: > Toomey, Kevin H (ATS, IT) wrote: > > It looks like support for JSR199 (java compiler API) would give me what I'm > > looking for, but I couldn't tell for sure if/when that support would be > > available with Ant. > > > The open source sto

RE: where to get the jar file for ANT ForTask

2008-01-16 Thread Anderson, Rob (Global Trade)
Google ant-contrib. -Rob Anderson -Original Message- From: Nagender Kumar Mallik [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 9:20 PM To: user@ant.apache.org Subject: FW: where to get the jar file for ANT ForTask Hi, PLease tell me how to get the .jar file containing For ta

RE: java.net.UnknownHostException with sshexec

2008-01-16 Thread Anderson, Rob (Global Trade)
It looks like it cannot resolve the host address. Try using the ip address instead. -Rob Anderson -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 3:45 PM To: Ant Users List Subject: java.net.UnknownHostException with sshexec Hi I have a_hostna

IVYDE - what are the alternatives?

2008-01-16 Thread Loehr, Ruel
First, I'm a big fan of ivy. When we use it through command line, it is flawless. The eclipse integration is starting to become painful to the point that we are investigating alternatives. The first issue I ran into was when dealing with snapshots: http://www.nabble.com/IVY-DE-and-use-or

Re: Redirecting compile errors

2008-01-16 Thread Steve Loughran
Toomey, Kevin H (ATS, IT) wrote: I agree, if I really need it, I really need to write it (and share). I have a great deal of appreciation and respect for the work done by others to make Ant what it is and am not asking for anything more. I apologize if my statement gave a different impression.

RE: Redirecting compile errors

2008-01-16 Thread Toomey, Kevin H (ATS, IT)
I agree, if I really need it, I really need to write it (and share). I have a great deal of appreciation and respect for the work done by others to make Ant what it is and am not asking for anything more. I apologize if my statement gave a different impression. -Original Message- From:

Re: Redirecting compile errors

2008-01-16 Thread Steve Loughran
Toomey, Kevin H (ATS, IT) wrote: It looks like support for JSR199 (java compiler API) would give me what I'm looking for, but I couldn't tell for sure if/when that support would be available with Ant. The open source story with ant is: if you need a feature, you get to implement it. If you

RE: Redirecting compile errors

2008-01-16 Thread Toomey, Kevin H (ATS, IT)
Using the command line or sending System.err to logger both work as expected (javac errors logged to the log file). The issue is that this is for an application which among things, manages several builds simultaneously, so getting the correct output to the correct log becomes problematic with th

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-16 Thread Steve Loughran
Gilbert Rebhan wrote: Hariharasudhan R schrieb: Hi Gilbert, Since it is undocumented is there any chance that it will be removed in future versions of Ant ? I am asking since my project will be having a long support life time and newer versions of Ant may be used at a later point of time. tha

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-16 Thread Steve Loughran
Gilbert Rebhan wrote: Hariharasudhan R schrieb: Hi Gilbert, That worked. Many Thanks! The doc for fileset ( http://ant.apache.org/manual/CoreTypes/fileset.html ) does not list id as one of the attributes. Is it an undocumented feature ? btw, I am using JDK 5.0u14 and Ant 1.6.5 on windows xp.

Re: Condition check Question

2008-01-16 Thread Steve Loughran
David Weintraub wrote: Isn't there a "failsonerror" parameter to make the build fail if the ssh command called fails? Would that do what you want? Unlike "exec" task, the sshexec task doesn't have a "resultsproperty" that can contain the exit code if the task fails. So, you can't check for that.