Here's what I have so far:

eclipseWtpComponent {
    enabled = false
}

eclipseWtpFacet {
    enabled = false
}

eclipseProject {
    whenConfigured { project ->
        project.natures = [
"org.eclipse.jdt.groovy.core.groovyNature",
"org.eclipse.jdt.core.javanature" ]
        project.buildCommands.retainAll({ bc -> bc.name ==
"org.eclipse.jdt.core.javabuilder"} )
    }
}

I believe this works.  Certainly, I'm getting the right content in my
.project file.

I would like to see a new attribute on the War task to prevent it from
contributing (is that the right term?) changes into the Eclipse task.
Thoughts on this before I add an issue?

On Wed, Apr 27, 2011 at 4:46 PM, Howard Lewis Ship <[email protected]> wrote:
> Tried this:
>
> eclipseWtpComponent {
>    enabled = false
> }
>
> eclipseWtpFacet {
>    enabled = false
> }
>
> Looked promising ... but those tasks appear to address files in
> .settings, not the natures and build commands inside .project
>
>
> On Wed, Apr 27, 2011 at 4:33 PM, Howard Lewis Ship <[email protected]> wrote:
>> I don't use the Eclipse web tooling ... in fact, it kind of gets in
>> the way.  Is there an easy way to disable that portion of the Eclipse
>> plugin?  I really just want my project to have the Java and Groovy
>> natures, not all the rest of the Eclipse crap.
>>
>> I saw in the Eclipse plugin docs that I could remove natures (I'm
>> giving that a try) but there's also the various .settings files.
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

    http://xircles.codehaus.org/manage_email


Reply via email to