The <java> task used to use args, but now uses nested <arg>'s -- if you
look at Java.java, you'll see the setArgs() (and setJvmargs()) with their
"deprecated" message, followed by (what I'm assuming is) the new way,
using nested <args> -- Commandline.Argument. (Keeping in mind that I only
"know" Java insofar as I can try and read through it and see if I can
catch what it looks like it's maybe trying to do -- so I could be wrong :)

Hope this helps,
Diane

--- Ken Wood <[EMAIL PROTECTED]> wrote:
> Unless I've missed it, there doesn't appear to be
> an 'Ant Developers Guide' that gives info
> about how to write Ant tasks. There is just
> the user manual.
> 
> I'm trying to transform the Ant 1.2 Weblogic jsp compiler
> task into a Jrun jsp compiler task, which is giving
> me the long desired chance to learn the insides
> of 'ant'.
> 
> However, the existing weblogic jsp compiler task
> is calling setArgs(arg), which cause messages
> about that functionality being deprecated, use
> nested arguments. Well, I'd love to.... if I could
> figure out what API to use instead of setArgs(arg).
> 
> So, lacking a developer's guide, what existing task
> in Ant release 1.2 (core or optional) would be a
> good example to look at to understand how to
> change the code????
> 
> Thanks!!!
> 
> 
> 


=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Reply via email to