Am 03.09.10 18:01, schrieb Kenneth Kousen: > Bingo! That did it. If I run the wsgen task directly, it correctly > generates both the jaxws package and the WSDL file. Thanks a million. > > If I want to run this task as part of a normal build, and I need to wait > until after compileGroovy is finished to do it, how should I make that > happen? Is this as appropriate processResources step, or should I wait for > the "classes" phase? > > I'm thinking along the lines of > > processResources.dependsOn(wsgen) > > or maybe that should be > > compile.dependsOn(wsgen) > > or even later, like jar. What's the right way to do this?
Well the gradle documentation describes the classes task of the java plugin as follows: "Assembles the production classes directory." I think that fits best here. so classes should depend on your wsgen task. regards, René ------------------------------------ Rene Groeschke [email protected] http://www.breskeby.com http://twitter.com/breskeby ------------------------------------ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
