Jas,

I have already made a bit of a start targeting GWT 2 and Gradle 0.9
snapshots.

Its lacking a lot of documentation and a more fully fledged example but is a
good starting point. Its currently being used in production for a number of
projects I'm working on.

You can grab/fork the code from GitHub if your interested
http://github.com/markuskobler/gwt-gradle-plugin

Thanks,
Markus

On 10 March 2010 06:02, jashatton <[email protected]> wrote:

>
> That worked!  It seems so simple now.
>
> Jas
>
>
> Peter Ledbrook wrote:
> >
> >> I am working on a GWT Plugin for Gradle and one of the things I trying
> to
> >> work through is how to override the Java Convention for the source
> >> directories.
> >> The GWT Eclipse plugin and the webAppCreator utility both follow the
> >> pattern
> >> of having a 'src' directory where the default package starts.  I have
> >> tried
> >> clearing the default 'src/main/java' from the convention but, haven't
> >> found
> >> a successful way to do this. This would make the plugin compatible with
> >> the
> >> tools already supporting GWT and easier to use the existing convention
> >> support in the tasks that will build the GWT source and run GWT's dev
> >> mode.
> >
> > I don't know about modifying the convention object, but one approach
> > you can take is to modify the sourceSets definition for the Java
> > plugin:
> >
> >   sourceSets {
> >       main {
> >           java {
> >               srcDirs = [ "src" ]
> >           }
> >       }
> >   }
> >
> > You can find out a bit more about source sets in the user guide.
> >
> > Cheers,
> >
> > Peter
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Question-related-to-source-directories-when-extending-Java-WarPlugin-tp27845533p27845920.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to