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: BeanShellDef - java.lang.LinkageError: duplicate class definition: AList

2004-01-29 Thread Peter Reilly
Peter Reilly wrote: Peter Reilly wrote: Opps sent by accident! I meant to send: 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

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

2004-01-29 Thread Peter Reilly
pers List Subject: Re: BeanShellDef - java.lang.LinkageError: duplicate class definition: AList Thanks, Yes I find it very usefull to write small tasks using beanshelldef. There is a problem with antcall and beanshelldef. The easiest work-around would be to place the definition in an init target that ge

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

2004-01-28 Thread Peter Reilly
comparision for override checking. Keep up the good work. I look forward to seeing future versions of ant. Cheers, Peter Michael -Original Message- From: Peter Reilly [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 4:08 AM To: Ant Developers List Subject: Re: BeanShellDef

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-23 Thread Michael Sunde
ons of ant. Michael > -Original Message- > From: Peter Reilly [mailto:[EMAIL PROTECTED] > Sent: Friday, January 23, 2004 4:08 AM > To: Ant Developers List > Subject: Re: BeanShellDef - java.lang.LinkageError: duplicate class > definition: AList > > > Thanks, &g

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 Peter Reilly
Michael Sunde wrote: Hi, Since we know the name of the task that is being created, is it possible to delay the compilation of the beanshelldef code until it is used, to improve startup performance? This sounds like a good idea, however one problem with beanshelldef is that if there is anything

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

2004-01-23 Thread Peter Reilly
Thanks, Yes I find it very usefull to write small tasks using beanshelldef. There is a problem with antcall and beanshelldef. The easiest work-around would be to place the definition in an init target that gets called only if a property is not defined: About the beanshelldef, I have foun