How can I turn off the autodetection of Facets ???

Hi all,

Something strange just happend: a project, which I'm working on for quite a while now, just readded all the facets by itself. That's quite annoying, cause now all JSP validation is turned on again, which prevents me from building the project, unless I turn them all off again. I don't mind doing that once, but since I have around 20 modules, I'm a bit against doing it every week or so :-).

So, anybody knows how to turn this off?

Erik

7 comments
Comment actions Permalink

btw, what I see now is that I have double Facets:

I have a Web facet, and a Web2 facet.
I have a EJB facet, and a EJB2 facet.
I have a javaEEapplication facet, a javaEEapplication2 and a javaEEapplication3 facet (???)...

etc...

0
Comment actions Permalink

I see this happening a lot with my projects as well.. Facets created over
and over. I think it happens more often on those projects I converted from
IJ 6.0


"Erik Pragt" <no_reply@jetbrains.com> wrote in message
news:27299329.1189158359593.JavaMail.itn@is.intellij.net...

btw, what I see now is that I have double Facets:

>

I have a Web facet, and a Web2 facet.
I have a EJB facet, and a EJB2 facet.
I have a javaEEapplication facet, a javaEEapplication2 and a
javaEEapplication3 facet (???)...

>

etc...


0
Comment actions Permalink

We had Facets rediscovered again and again in the folloing scenario: the project files were generated from the pom.xml but not an *.iml files which is the default (I don't really agress with). Facets data is kept in *.iml files so when they were not created - IDEA was discoering all Facets again and again on every project restart:

http://www.intellij.net/forums/thread.jspa?messageID=5194156
http://www.intellij.net/forums/thread.jspa?messageID=5194079

0
Comment actions Permalink

i've seen the same when having modules created from maven2 poms

0
Comment actions Permalink

I do use the *.iml files, even though my project is based on an Eclipse project. I don't suffer from the facet detection on every project restart, it just happens 'now and then'. (Eg, for one module, I had 4 autodetected web facets, while others had 'only' 2...)

0
Comment actions Permalink

Hello Erik,

Please attach your iml-files.

I do use the *.iml files, even though my project is based on an
Eclipse project. I don't suffer from the facet detection on every
project restart, it just happens 'now and then'. (Eg, for one module,
I had 4 autodetected web facets, while others had 'only' 2...)



0
Comment actions Permalink

i've also noticed weird facet detection.

in one of my projects it is always adding a new facet that it finds in a directory that i've specifically excluded

0

Please sign in to leave a comment.