On 14/10/2010, at 2:15 PM, rbolkey wrote: > > Hi, > > I have GWT output compiled to my build directory that I would like to expose > when running the jettyRun task. Any hints on how to do this? I'm guessing > by somehow adding the output as an extra webAppSourceDirectory, but I > haven't found any good examples of how to do so.
I don't think there's an easy way to do this. Could you add a JIRA issue for this? One option is to copy the web app source and the GWT output into a temporary directory and configure the jettyRun task to use that directory. But then, you lose the benefit of using jettyRun, and you may as well just use jettyRunWar. Another option is to subclass the JettyRun class and override configureWebApplication() to mess with the WebAppContext. -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz
