Re: How to set source from 1.4 to 1.5

2007-01-15 Thread wolverine my
Hi! Does it harm if we set ? The Ant manual highly recommend to always specify soruce and target attributes. On 1/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: First of all you have to install a Java5 Development Kit. Having that installed as first on the PATH, Ant should do the rest a

intra-element attribute property resolution issue

2007-01-15 Thread Jacob Kjome
seems to have a problem with resolution of attributes within the current element. It appears to resolve the attributes in alphabetical order. If an attribute refers to the value of another attribute in the same element, the one doing the referring must come later in the alphabet, otherwise the

Corrupted logfiles

2007-01-15 Thread Thomas Voigt
Hi, I had a curious problem that took me some time to figure out. The problem is fixed on my side, but you may want to check it out anyway. (I filed a bug in the bugzilla database, Bug 41368.) The setup is as follows: We compile a list of java projects, logging the output of each project. Here

Re: Delete the contents of a directory but not the directory itself

2007-01-15 Thread Wayne Cannon
I experienced the same problem and had the same question. However, I like the suggestions presented here and feel that they are more consistent with the behavior of operating systems and file-system libraries. For example, you don't expect "rm -r mydir" or "rmdir mydir" to provide a parameter

RE: Delete the contents of a directory but not the directory itself

2007-01-15 Thread Daffin, Miles \(IT\)
Folks, Does anyone think that this is a legitimate problem with the way delete functions (it is not consistent) or am I just missing 'the point'? Cordially, Miles > -Original Message- > From: Daffin, Miles (IT) > Sent: Friday 12 January 2007 22:46 > To: Ant Users List > Subject: RE:

Re: AW: How to set source from 1.4 to 1.5

2007-01-15 Thread joe P
Hi Jan, Thanks for quick reply. In fact I'm using jdk5 itself. After setting to 1.5 it is working fine now. Thank you once again... below is my jdk version: bash-3.00$ java -version java version "1.5.0_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08) Java HotSpot(TM) Serv

AW: How to set source from 1.4 to 1.5

2007-01-15 Thread Jan.Materne
First of all you have to install a Java5 Development Kit. Having that installed as first on the PATH, Ant should do the rest automatically - if not specified something else. These two attributes are responsible for using former versions Dont use them or set them to "1.5". Jan >-Ursprü

How to set source from 1.4 to 1.5

2007-01-15 Thread joe P
Hi , Can any one suggest me solution to set source from 1.4 to 1.5 . I'm trying to run ant script but it is failing with the below message. generics are not supported in -source 1.4 [javac] (try -source 1.5 to enable generics) Please let me know how can i fix this? Thanks, Joe _

Re: ConcurrentModificationException

2007-01-15 Thread Thomas Voigt
Original-Nachricht Datum: Thu, 11 Jan 2007 21:56:04 +0100 Von: "Thomas Voigt" <[EMAIL PROTECTED]> > Original-Nachricht > Datum: Thu, 11 Jan 2007 11:26:17 -0800 (PST) > Von: Matt Benson <[EMAIL PROTECTED]> > > > If you are > > the adventurous type who wants to

AW: On fail listener?

2007-01-15 Thread Jan.Materne
Ask the BuildEvent for further information ... Jan ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-< import org.apache.tools.ant.BuildListener; import org.apache.tools.ant.BuildEvent; import java.io.*; public class BuildFailedListener implements BuildListener {