users@jersey.java.net

Re: [Jersey] WADL + Ant

From: Martin Grotzke <martin.grotzke_at_freiheit.com>
Date: Fri, 30 Jan 2009 23:21:11 +0100

Hi Andrew,

thanx for adding the part that shows how to use the ResourceDoclet with
ant in the wiki!

I suppose you're using the wadl from your running webapp and that you do
not want/need to have the wadl generated at build time, right?

My hint in the wadl-wiki page ([1]) referring to the maven-wadl-plugin
and ant was also related to the part of the plugin, that generates the
wadl at build time (the main purpose of the plugin, demonstrated by the
generate-wadl sample). This part (the GenerateWadlMojo) should be more
or less easily be ported to ant.

The maven-wadl-plugin still contains the ResourceDoclet, which should be
extracted as a separate artifact/project (see also my next mail on this
topic).

Cheers,
Martin


[1] http://wikis.sun.com/display/Jersey/WADL


On Thu, 2009-01-29 at 12:02 -0700, 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?
>
> Thanks
> Andy O
-- 
Martin Grotzke
http://www.javakaffee.de/blog/