Re: JUnit task and the 'fork' attribute...

2007-01-29 Thread Peter Reilly
try with ant -verbose. This problem can happen with having old versions of ant in the classpath of the forked junit task. In this case the contents of lib.path should be looked at. (common causes would be jars that have embedded ant classes - fo example weblogic.jar and jrun.jar) In the current

JUnit task and the 'fork' attribute...

2007-01-29 Thread Andrew Close
hello all, i'm attempting to get the fork attribute to work with the optional JUnit task. when attempting a build on this machine we are getting JVM OutOfMemoryErrors during the JUnit task. so i figured i would use the fork command and then be able to up the JVM heap size for that particular ta

Re: Fileset issue (Ant 1.6, 1.7)

2007-01-29 Thread Alexey Solofnenko
I am surprised it ever worked. Please use instead. - Alexey. [EMAIL PROTECTED] wrote: Hello All, We recently migrated from Ant 1.5 to Ant 1.7 and found an issue related to filesets. Filesets for some reason are not handling indirect references, with ?..? in path. I tried the same case in 1.

Fileset issue (Ant 1.6, 1.7)

2007-01-29 Thread support
Hello All, We recently migrated from Ant 1.5 to Ant 1.7 and found an issue related to filesets. Filesets for some reason are not handling indirect references, with ?..? in path. I tried the same case in 1.5, and it works like a charm. It doesn?t work both in 1.6 and 1.7 versions of Ant !!

Re: Overriding filesets

2007-01-29 Thread Andre Dantas Rocha
Thanks Matt! > > --- Andre Dantas Rocha <[EMAIL PROTECTED]> > wrote: > > > Hello, > > > > Suppose I have this fileset: > > > > > > > > > > > > And I'd like to override it, including one more file > > (misc_${env}.jar): > > > > > > > > > > > > > > > > Is that a way to use the ol

Re: restrict and selector

2007-01-29 Thread Matt Benson
--- Mikael Sitruk <[EMAIL PROTECTED]> wrote: > > Hi > > > > I’ve tried to use selector into a restrict > resource collection, but ant does not allow it, > indicating that the element (the selector used) is > not supported. Any suggestion? Mikael: it looks like you are trying to use the

Re: Overriding filesets

2007-01-29 Thread Matt Benson
--- Andre Dantas Rocha <[EMAIL PROTECTED]> wrote: > Hello, > > Suppose I have this fileset: > > > > > > And I'd like to override it, including one more file > (misc_${env}.jar): > > > > > > > > Is that a way to use the old definition and include > only the new jar? someth

Re: Can Ant Parse a Property

2007-01-29 Thread Robert Pepersack
What I mean by "parse the property in the build file" is this: I have a property defined in a build file that I want to break into two or more pieces based on a delimiting character, and then use the pieces separately. I wrote a custom Ant task that gets the contents of the original property from

Overriding filesets

2007-01-29 Thread Andre Dantas Rocha
Hello, Suppose I have this fileset: And I'd like to override it, including one more file (misc_${env}.jar): Is that a way to use the old definition and include only the new jar? somethig like it: Thanks, Andre

RE: General Question on nested element of tasks

2007-01-29 Thread Mikael Sitruk
Thanks -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Monday, 29 January, 2007 01:54 To: Ant Users List Subject: Re: General Question on nested element of tasks On 1/28/07, Mikael Sitruk <[EMAIL PROTECTED]> wrote: > Is it possible to have a global declaratio