users@jaxb.java.net

Re: [Issue 115] Supports Method Chaining/ FluentAPI

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Fri, 27 Jan 2006 16:22:02 -0800

Hanson Char wrote:
>> <taskdef name="xjc"
>> classname="com.sun.tools.xjc.XJCTask">
>> <classpath>
>> <pathelement path="/path/to/jaxb-xjc.jar"/>
>> </classpath>
>> </taskdef>
>>
>> <xjc ...>
>> <arg value="-Xfluent-api" />
>> <classpath>
>> <pathelement path="/path/to/jaxb-2.0-fluent-api-snapshot.jar" />
>> </classpath>
>> ...
>> </xjc>
>>
>> instead of putting the plugins jar in the taskdef.
>
> Hmmm...I tried (several times) your proposed way of config but somehow
> it didn't work:

Must be a bug then. I have to admit that this area isn't tested very
well. So I'm not very surprised.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com