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.
so
<reflectdef name="x" language="beanshelldef">
import...
class MyTaskDefintion extends Task {
}
</reflectdef>
works!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]