For anyone else with this issue: http://issues.gradle.org/browse/GRADLE-1770
On 26 August 2011 10:00, <[email protected]> wrote: > I've been playing around with the eclipse-wtp plugin in combination with our > EARs and WARs to understand how much of the Eclipse files it will generate > for us. While doing that I noticed that even if you change the > webAppDirName property the WST file still sets it's deployment path to > src/main/webapp. Has anyone else noticed this? I assume I should just file > a bug on the Jira. > > Note: This is with 1.0-milestone-4 > > build.gradle > > apply plugin: 'war' > apply plugin: 'eclipse-wtp' > > sourceSets { > main { > java.srcDir 'JavaSource' > resources.srcDir 'JavaSource' > } > } > > webAppDirName = 'WebContent' > > .settings/org.eclipse.wst.common.component > > <?xml version="1.0" encoding="UTF-8"?> > <project-modules id="moduleCoreId" project-version="2.0"> > <wb-module deploy-name="war"> > <property name="context-root" value="war"/> > <wb-resource deploy-path="/WEB-INF/classes" > source-path="JavaSource"/> > <wb-resource deploy-path="/" > source-path="src/main/webapp"/> > </wb-module> > </project-modules> > > Here's a full test project: > > > > Andy Oberstar > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > -- Darrell (Daz) DeBoer Principal Engineer, Gradleware http://www.gradleware.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
