ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <>
Subject Re: BeanShellDef - java.lang.LinkageError: duplicate class definition: AList
Date Thu, 29 Jan 2004 14:28:01 GMT
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.

I have just realized that one does not need to do this, if the last 
statement is
a class definition, this is returned as an object.
<reflectdef name="x" language="beanshelldef">
   class MyTaskDefintion  extends Task {

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message