Hey,

There're 2 use cases when eclipseWtpComponent and eclipseWtpFacet
tasks are configured for a project:
1. the project has 'eclipse' and 'war' plugin applied
2. or the project has 'eclipse' plugin applied and is a dependency to
a project #1

I guess the project in question (or one of the subprojects) simply
don't satisfy the #1 or #2. You can check if task exist and if it
doesn't you don't have to disable it.

Hope that helps!
Szczepan

On Mon, May 2, 2011 at 6:41 PM, Juergen Donnerstag
<[email protected]> wrote:
> Hi,
>
> I'd like to disable eclipse wtp, and found some discussions suggesting to
>
> eclipseWtpComponent.enabled = false
> eclipseWtpFacet.enabled = false
>
> I did that in my multi project (subprojects only), but the build
> process fails with the following exception: Cause: Could not find
> property 'eclipseWtpComponent' on project
>
> I'm using 1.0M3 and my subproject definition looks like
>
> subprojects { prj ->
>        apply plugin: 'java'
>        apply plugin: 'maven'
>        apply plugin: 'eclipse'
>        apply plugin: 'idea'
>
>        eclipseWtpComponent.enabled = false
>        eclipseWtpFacet.enabled = false
> }
>
> I also tried prj.eclipseWtpComponent and
> prj.tasks['eclipseWtpComponent'] but it doesn't work. It seems as if
> the tasks are not yet defined. Any idea what I need to do?
>
> thanks for your help
>
> regards
> Juergen
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to