Facets???

Can someone tell me what facets are? How do they work? How they make my work easier? I searched for some documentation, but could not find any.

0

Hi Norris,

Facets are a new way to configure 'sub-module' project structure. Currently available are GWT, Hibernate, JPA, JSF, Struts and Spring.

You can add this in your Settings | Project Settings dialog from the context menu on a module node.

HTH, Ruben

0

Exactly!

And also in 7.0 all our J2EE module types will be replaced by
corresponding facets. This change is important to be able to define
several technologies in one module. It also makes it easy to add web (or
any other) support later to the module.

0

Facets are how IDEA acknowledges the cleverness of Eclipse's project natures]]>

0

OK, i create a module and add a facet for say Struts. Is there any plan to allow it to use my existing declared libraries?

0

Yes, certainly.


0

OK, let's say I add a facet and I have a library defined that I want it to use (because I have multiple versions of Struts that I use), will it add all of the artifacts that are needed? Such as a struts-config.xml file a messageResources.properties, validation-rules.xml, validation.xml?

Basically, it would be great if it understand what goes into something like a struts-blank project and checked to see if those files were already there. If not, ask me if I want to add the.

Is there an ETA for facets to take advantage of declared libraries?

0

Hello Marcus,

Actually, there is nothing flameworthy about that. There are many good features
in Eclipse (many of them borrowed from us), so we do not hesitate to borrow
too :)

Vladislav Kaznacheev
Project Manager, IntelliJ IDEA
http://www.jetbrains.com
"Develop with Pleasure!"

<flamebait>Facets are how IDEA acknowledges the cleverness of
Eclipse's project natures</flamebait>



0

April is a good estimation i hope :)


0

OK. It seems like a pretty idea. I tried to use it a little, but it doesn't seem like it is ready. One issue I had was when I let it pull down a version of Struts, it grabbed v1.3. Then I wanted to use 1.2.9, but it still insisted on using the previously downloaded v1.3 libraries. I had no way to force it to reload. Maybe that will be fixed when it can use the existing libraries.

Is there a plan for it to be able to add missing config files, such as when starting a new project?

0

Yes. A bit of patience, please...
But I'm not sure that libraries removing/reinstalling will be available.
IMHO it is not a common use case.


0

Really? What about when a newer version of a library comes out? How would that be handled?

0

请先登录再写评论。