users@jersey.java.net

Re: [Jersey] WADL + Ant

From: Martin Grotzke <martin.grotzke_at_freiheit.com>
Date: Sun, 01 Feb 2009 03:43:35 +0100

On Sat, 2009-01-31 at 12:59 -0700, Andrew Ochsner wrote:
> Yeah I'm actually at the point now that I want to generate the wadl
> at build time I think because 1) i don't want to have to do a whole
> deploy cycle to test out small changes in the docs and 2) i'd like to
> apply a stylesheet to it (the wadl -> html one).
Exactly the same reasons as for me at that time *g*

>
> Started down the path of doing the Ant task creation, but then the
> weekend came. Think I'll pick it up on Monday. Shouldn't be too
> difficult.
Great! Do you want to contribute the ant task to jersey?

If I can help with s.th. let me know.

Cheers,
Martin


>
> On Fri, Jan 30, 2009 at 3:21 PM, Martin Grotzke
> <martin.grotzke_at_freiheit.com> wrote:
> 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/

-- 
Martin Grotzke
http://www.javakaffee.de/blog/