Dropping JDK 1.1 support

2003-03-13 Thread Conor MacNeill
We've started discussing on ant-dev at what point we could drop support for JDK 1.1 in Ant. Steve has suggested that we should ask the user community for opinions. I think that is a good idea so here goes. Currently the Ant core and many of the core tasks are required to compile under JDK 1.1.

using rsync with exec

2003-03-13 Thread Rajiv Karuthethil
I am trying to use rsync with exec task. But I am getting the following error: [exec] link_stat *.properties : No such file or directory [exec] building file list ... done Here is the exec task: Is there a better way to use rsync? Any help will be greatly appreciated. than

NullPointerException from XMLJUnitResultFormatter.endTestSuite

2003-03-13 Thread Adam Lancaster
Has anyone seen this error while using the xml formatter? java.lang.NullPointerException at java.io.Writer.write(Writer.java:126) at org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:150) at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFor

Exclude a patternset from a fileset

2003-03-13 Thread Craig Dickson
If I have a patternset defined, what is the easiest way to later define a fileset, that excludes everything that is included in the patternset?

Re: Junit and java.security.AccessControlException: access denied (file permission)

2003-03-13 Thread otisg
It turns out that setting java.security.manager system property to an empty value inside the task was the culprit: I am not sure why this is a problem, but taking this out seems to let junit task run without the false file permission error. Otis On Thu, 13 Mar 2003, otisg ([EMAIL PROT

?????Anyone written an Ant shell yet?

2003-03-13 Thread Ciramella, EJ
as far as calling the targets, you can call ant with multiple command line arguments like: and clean compile jar all on one line... -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 12:12 PM To: Ant Users List Subject: Re: AW: Anyone written

foreach directory copy question

2003-03-13 Thread Kiarna Boyd
Good afternoon, I'm trying to copy the contents of a master directory to several client directories as part of my build. The requirements include not to overwrite some of the existing client build sub dirs. I read the archieves and saw a section on the topic and Simon was kind enough to send m

Junit and java.security.AccessControlException: access denied (file permission)

2003-03-13 Thread otisg
Hello, I am using Ant 1.5.2 with JDK 1.4.1_02 on a Red Hat 7.3. Then running JUnit task I always get an error such as this one: [junit] Running net.wgen.amp.action.ExampleActionTest [junit] Exception in thread "main" java.security.AccessControlException: access denied (java.io.FilePermiss

RE: deleting directory by pattern?

2003-03-13 Thread Ken . Liu
That worked, thanks Dominique! -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:11 PM To: 'Ant Users List' Subject: RE: deleting directory by pattern? Check out the includeEmptyDirs and defaultExcludes attributes (or something close t

RE: Memory leaks with ant 1.5.x! Searching for a fix

2003-03-13 Thread Jim Allers
Which tasks are you using in your build? The Eclipse ant integration makes an attempt to isolate itself from memory leaks by invoking Ant in a new classloader every time. Unfortunately, classloaders aren't the magic bullet for isolating Eclipse from any memory leaks in an Ant task. In fact, sin