> -----Original Message-----
> From: Dominique Devienne [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 01, 2005 2:47 PM
> To: Ant Users List
> Subject: RE: setLevel on echo task in JavaScript
> 
> > With that I get: ReferenceError: "EchoLevel" is not defined.
> 
> I guess it's because it's an inner class (even a static one).
> I find JavaScript quirky quiet often ;-)
> 
> Maybe importClass(...Echo);
> With info = new Echo.EchoLevel();
> 
> Would have worked better.
> 
> > So I used this instead:
> > 
> > info = Packages.org.apache.tools.ant.taskdefs.Echo.EchoLevel();
> > info.setValue("info");
> 
> Thanks for sharing. I didn't know you could skip the new!
> 
> Live and learn ;-) --DD
> 

That was a typo on my part. After I sent the response, I changed it to have
the 'new', since it is more readable.

Thanks for your help.

-- Larry

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to