users@jersey.java.net

Re: [Jersey] WADL + Ant

From: Andrew Ochsner <aochsner_at_cs.stanford.edu>
Date: Fri, 30 Jan 2009 08:29:23 -0700

Just added:

You should also be able to use the ResourceDoclet provided by the
maven-wadl-plugin in some ant javadoc task. Something like this:

<javadoc access="public" classpathref="project.classpath">
        <fileset dir="${src.main}/java" defaultexcludes="yes">
                <include name="path/to/java/files" />
        </fileset>
        <doclet name="com.sun.jersey.wadl.resourcedoc.ResourceDoclet"
pathref="project.classpath">
                <param name="-output" value="${build}/resourcedoc.xml" />
        </doclet>
</javadoc>

 Make sure to include maven-wadl-plugin-<version>.jar, xerces-2.6.1.jar, and
jersey libs to the doclet pathref classpath.

But it probably needs to move down in the document so i'll fix that...
Pretty straightforward.

On Fri, Jan 30, 2009 at 1:09 AM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:

>
> On Jan 29, 2009, at 8:02 PM, Andrew Ochsner wrote:
>
> Hi everyone:
>>
>> Been perusing the WADL wiki pages as a start for generating some
>> documentation from our Rest implementation. Want to add the javadoc parsing
>> bits, but seems the only examples are for Maven (with comments that anyone
>> doing it Ant should contribute in).
>>
>> Just a quick check before I dive in, has anyone made any progress on this?
>>
>>
> No, unfortunately we only have maven examples. Be all means dive in!
>
> I see you made some changes to :
>
> http://wikis.sun.com/display/Jersey/HowToConfigureExtendedWADL
>
> but the changes notification does not tell me what has changed.
>
> Paul.
>
> Thanks
>> Andy O
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>