[ 
http://jira.codehaus.org/browse/MECLIPSE-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102110
 ] 

Srepfler Srgjan commented on MECLIPSE-266:
------------------------------------------

You are right when you say that it's the concern of the eclipse plugin to 
generate eclipse project files.
The eclipse always was able to generate a project configuration, what I'm 
reporting is a bug, when generating a project for a EAR artifact it's applying 
also a Java project facet which is incompatible with WTP. In WTP a EAR project 
must not have a Java facet.
That said I think it's not a good choice to apply dependencies to a EAR because 
it's not a Java project. 
Again why is the plugin using these strange dependency analysis on the project 
if it's enough to either look at the ear configuration of the ear module or 
eventually the schema version for the application.xml file.

> plugin applies java facet to ear project
> ----------------------------------------
>
>                 Key: MECLIPSE-266
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-266
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: WTP support
>    Affects Versions: 2.3
>         Environment: Windows XP
>            Reporter: Srepfler Srgjan
>
> In .settings/org.eclipse.wst.common.project.facet.core.xml of the EAR module 
> I'm getting this:
> <faceted-project>
>   <fixed facet="jst.java"/>
>   <fixed facet="jst.ear"/>
>   <installed facet="jst.ear" version="1.3"/>
>   <installed facet="jst.java" version="1.4"/>
> </faceted-project>
> This is a wrong facet on a EAR module and I can't compile if I don't edit 
> this file manually (I can't do it from the project properties - facets dialog)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to