users@jersey.java.net

Re: [Jersey] WADL + Ant

From: cquiroz <carlos.m.quiroz_at_gmail.com>
Date: Fri, 27 Feb 2009 00:53:25 -0800 (PST)

Hi

I just copied the build.xml snippet and it works for the most part except
adding the xml file generated using the ResourcedDoclet

        <generatewadl wadlFile="${build}/classes/wadl/application.wadl"
formatWadlFile="true" baseUri="<base_uri>">
            <wadlGenerators>
                <wadlGeneratorDescription
name="com.sun.jersey.server.wadl.generators.resourcedoc.WadlGeneratorResourceDocSupport">


                </wadlGeneratorDescription>
            </wadlGenerators>
        </generatewadl>

The task available in jersery 1.0.2 doesn't suppport the <wadlGenerators>
element

Carlos


On Fri, Feb 27, 2009 at 1:08 AM, Andrew Ochsner (via Nabble) <
ml-user+110154-694370125_at_n2.nabble.com<ml-user%2B110154-694370125_at_n2.nabble.com>
> wrote:

> I'm also happy to dive in and help as I created and have been using it for
> a bit now... While I totally know it's limited (does just enough for me but
> thought it was good enough that others might find it useful).
>
> So the example I gave is exactly what I have and it works fine using the
> extended javadoc tags.
>
> Not sure what you mean that it doesn't support hte sub component
> wadlGenerators...could you maybe post the snippet of your build.xml?
>
> Thanks
> Andy O
>
> On Thu, Feb 26, 2009 at 7:45 AM, Paul Sandoz <Paul.Sandoz@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2392773&i=0>
> > wrote:
>
>>
>> On Feb 26, 2009, at 12:15 PM, cquiroz wrote:
>>
>>
>>> Hi
>>>
>>> First of all thanks to all the jersey authors, this is one of the most
>>> enjoyable frameworks I have ever used, great design!
>>>
>>>
>> Thanks!
>>
>>
>> Now into my question, I tried to follow the ant task example as below
>>> since
>>> I want to create the REST documentation based on the code.
>>>
>>> However, the current code (jersey 1.0.2) doesn't work as indicated below.
>>> I
>>> can correctly create the docs but to use the extended javadoc tags I'd
>>> need
>>> to pass the resource.xml file as indicated in this example.
>>>
>>> It seems that the wadl task in 1.0.2 doesn't support the sub component
>>> wadlGenerators.
>>>
>>
>> Yes, the Ant task is rather limited.
>>
>>
>> Do you have any suggestions, is this coming in the next
>>> version?
>>>
>>>
>> Could you log an issue. We will try and fix it for the next release (end
>> of March start of April time-frame).
>>
>> Thanks,
>> Paul.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2392773&i=1>
>> For additional commands, e-mail: users-help@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2392773&i=2>
>>
>>
>
>
> ------------------------------
> View message @ http://n2.nabble.com/WADL-%2B-Ant-tp2240710p2392773.html
> To start a new topic under Jersey, email
> ml-node+576304-986253864_at_n2.nabble.com<ml-node%2B576304-986253864_at_n2.nabble.com>
> To unsubscribe from Jersey, click here< (link removed) ==>.
>
>
>

-- 
View this message in context: http://n2.nabble.com/WADL-%2B-Ant-tp2240710p2394539.html
Sent from the Jersey mailing list archive at Nabble.com.