Hmmm, if eclipse complains about the default output directory you can
change it with something like that in your build.gradle:

eclipseClasspath {
  defaultOutputDir = file('some/nicer/place')
}

After that run gradle eclipse again and refresh/reopen your workspace.

See more at: 
http://gradle.org/current/docs/dsl/org.gradle.plugins.ide.eclipse.GenerateEclipseClasspath.html

Hope that helps!

On Thu, Jun 2, 2011 at 2:29 PM, dcracauer <[email protected]> wrote:
>
>  We are using Gradle to create the war (and subsequently ear).  I used the
> eclipse plugin to create the files.  I just noticed that it isn't WTP that
> is complaining, but the Google plugin (we're doing GWT).  The exact message
> is:
>
> The output directory for the project should be set to
> /gwt/src/main/webapp/WEB-INF/classes
>
> It seems like a conflict between what Gradle has set up and what the Google
> plugin wants.  Is there a way to somehow 'filter out' the duplicate classes
> if I have eclipse building to WEB-INF/classes?
>
>
>
> --
> View this message in context: 
> http://gradle.1045684.n5.nabble.com/War-task-and-WTP-Project-tp4445540p4447907.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
>
>
>



-- 
Szczepan Faber
Principal engineer@gradleware
Lead@mockito

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to