BeanShellDef - java.lang.LinkageError: duplicate class definition: AList

2004-01-23 Thread Michael Sunde
Hi, I have been playing with the beanshelldef class defined by Peter in thread: http://marc.theaimsgroup.com/?l=ant-dev &m=106577547220771&w=2 Occasionally, I get a duplicate class definition error when using a task defined by b

RE: BeanShellDef - java.lang.LinkageError: duplicate class definition: AList

2004-01-23 Thread Michael Sunde
, Michael > -Original Message- > From: Peter Reilly [mailto:[EMAIL PROTECTED] > Sent: Friday, January 23, 2004 4:27 AM > To: Ant Developers List > Subject: Re: BeanShellDef - java.lang.LinkageError: duplicate class > definition: AList > > > Mi

RE: BeanShellDef - java.lang.LinkageError: duplicate class definition: AList

2004-01-23 Thread Michael Sunde
Hi, Can't wait to see beanshelldef or something equivalent in a new version of ant. How about this for a task name: - inlinetypedef - scripttypedef or maybe merge the functionality into typedef. Looking at your example of reflectdef, the only thing I don't like is the line: hello.class;

RE: BeanShellDef - java.lang.LinkageError: duplicate class definition: AList

2004-01-23 Thread Michael Sunde
My attachement got removed so here it is: beanshelldef.java === import java.io.File; import java.util.Set; import java.util.HashSet; import bsh.EvalError; import bsh.Interpreter; import org.apache.tools.ant.AntTypeDefinition; import org.apache.tools.ant.BuildE

RE: BeanShellDef - java.lang.LinkageError: duplicate class definition: AList

2004-01-29 Thread Michael Sunde
Hi, > > Looking at your example of reflectdef, the only thing I > don't like is > > the line: > > hello.class; > > I prefer how it is done in beanshelldef with the classname > attribute. > > That is just my $0.02,so do what you think is best. > > > I have just realized that one does not

RE: Implicit element for macrodef

2004-05-25 Thread Michael Sunde
Hi, This is a feature that I have been waiting for. Thanks. There is one other issue with macrodef that has been bothering me a little. The issue comes up when I compare macrodef to scriptdef. Scriptdef has a type attribute on the elements which makes the usage of the script cleaner:

StreamPumper slow down with ant 1.8.2alpha?

2010-12-14 Thread Michael Sunde
Hi, I recently tested upgrading my build from ant 1.7.1 to ant 1.8.2alpha (1.8.1 broke build) and the build times doubled (2hrs vs 1hr). Has anyone else noticed this? https://issues.apache.org/bugzilla/show_bug.cgi?id=50229 Since StreamPumper is used extensively within ant, any chance this can