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
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
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
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
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
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
,
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
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
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