[ http://jira.codehaus.org/browse/MECLIPSE-47?page=comments#action_55290 ] 

Michael Schnake commented on MECLIPSE-47:
-----------------------------------------

The cause for the project properties tab "Project facets" being empty and the 
need to kill the eclipse process after displaying the tab "J2EE module 
Dependencies" seems to be the same:

In org.eclipse.wst.common.project.facet.core.xml the "version" attribute of the 
"jst.java" facet *must* be "5.0" for JDK 5.0. Using either "1.5" or "5" will 
result in the errors named above.

Currently the value for the jst.java version is taken from either the "target" 
or the "source" attribute (in that order) configured for the compiler plugin, 
or "1.4" as default. Unfortunally simply setting them to "5.0" does not work, 
because javac only accepts "1.5" or "5" here.

So perhaps the eclipse plugin should do some version name mangling ("1.5" or 
"5" -> "5.0") in AbstractWtpResourceWriter.resolveJavaVersion()?

> Planning support for wtp 1.0
> ----------------------------
>
>          Key: MECLIPSE-47
>          URL: http://jira.codehaus.org/browse/MECLIPSE-47
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: fabrizio giustina
>     Priority: Minor
>  Attachments: MECLIPSE-47.patch
>
>
> while approaching the 1.0 release WTP changed completely the project 
> descriptors for modules.
> The eclipse plugin should let users choose the version of WTP and generate 
> different files (wtp will anyway automatically migrate 0.7 projects starting 
> from M9, according to eclipse plans)
> Changes tracked for wtp 1.0 (partially working in current WTP builds):
> - ".wtpmodules" is renamed to ".component" and moved to the .settings folder
> - the .wtpmodules format is unchanged, except for the module type which is 
> not there anymore (should be verified in M9)
> - a new .settings/org.eclipse.wst.common.project.facet.core.prefs file is 
> written (property file) with server/module type information (server is now 
> specified in containerClasspath, need to be fixed)

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to