Bug 372669

Summary: impossible add Icefaces 3 facet in Eclipse 3.7?
Product: [Eclipse Project] Platform Reporter: Rafael Ruiz <rafaelruiztabares>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 4.2Keywords: accessibility, ui, usability
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Rafael Ruiz CLA 2012-02-27 13:09:13 EST
Build Identifier: 20120216-1857

I am trying add Icefaces 3 facet but it is not work correctly, I have created a maven project (WTP=2.0) by maven command, then I have add JSF2,Java 1.6 and Javascript by Eclipse project facet, but when I try to add ICefaces 3 facet then Eclipse not working.

Optionally,I add *.XHTML extension in JSP editor and it works fine if I create a ICefaces project.

When I try add ICefaces 3, Eclipse say me "further configuration requiered", I click in this link and then I press OK button and nothing happens, Icefaces 3 faces doesn´t add, and message "further configuration requiered" is present.

Otherwise, I download M2Eclipse and I have created a maven project, I followed the same steps above, and everything is fine until I try to add ICefaces 3 facet, with the same result for me.

I can write tag autocomplete UI bacause JSF2 nature add correctly, but I dont write autocomplete tags ICE/ACE

Finally with Icefaces plugin I can create a Icefaces project but this is not desired by me, because I need a Maven project within Icefaces 3 nature.

Kinds regards.


Reproducible: Always

Steps to Reproduce:
1. Create maven project
2. Add Project Facet
3. Add java 1.6 facet
4. Add JSF2 facet
5. Add Javascript 1 facet
6. Try to add Icefaces 3 facet.
Comment 1 Rafael Ruiz CLA 2012-02-27 13:12:16 EST
This is the error's image : http://www.flickr.com/photos/75492946@N02/6785053594/
Comment 2 Remy Suen CLA 2012-02-27 16:10:07 EST
What is ICEfaces? I have never heard of this project at Eclipse.org.
Comment 3 Rafael Ruiz CLA 2012-02-27 16:58:47 EST
Maybe I am wrong thread, in this I apologize.

Icefaces is a is an open source implementation of JavaServer Faces, I had problem for add Icefaces facet in eclipse, but now I find a solution:

It is a very easy solution but I had overlooked. When You need to add Dynamic Web Module facet you must set [Content directory: /src/main/webapp/] 

In this way the project preserver standard maven structure y then you could add JSF2 and Icefaces3 facet without problem.

Now, You creat *.xhtml file and autocomplete Icefaces,JSF" and facelets tags.



My problem is that I want to preserve maven structure y eclipse add Webcontent folder to my project. It is a very obvious solution but I didn´t thikn its.

But the problem persist if the folder chosen is "Webcontent".

Really, I think it is a bug, but in this moment I have been able to add Icefaces3 facet to my project.Thank to change default name to "/src/main/webapp".
Comment 4 Remy Suen CLA 2012-02-27 17:24:23 EST
Did you install a Icefaces plug-in from update site to get it to show up in Eclipse as an option?
Comment 5 Rafael Ruiz CLA 2012-02-27 17:29:58 EST
Yes, I added Icefaces plugin for Eclipse show in Project Facets -> Icefaces facet
Comment 6 Remy Suen CLA 2012-02-27 17:31:43 EST
(In reply to comment #5)
> Yes, I added Icefaces plugin for Eclipse show in Project Facets -> Icefaces
> facet

Open a bug with the developers of the Icefaces plug-in.
Comment 7 Rafael Ruiz CLA 2012-02-27 17:34:54 EST
Ok, thank you very much.