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

Stéphane Toussaint commented on MECLIPSE-47:
--------------------------------------------

1) According to WTP 1.0 package, defaults builders to set in .project differ 
from R7 revision.  There is no more 
org.eclipse.wst.common.modulecore.ComponentStructuralBuilder nor 
org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver 
builder.

If that can be confirm by someone else, I can submit a patch.

2) After updating my .project with mvn eclipse:eclipse -Dwtpversion=1.0, I can 
see some problems when looking at my project properties.

- The tab "Project Facets" display nothing.
- The tab "J2EE module Dependencies" throw an error :

!SESSION 2006-01-03 11:33:45.681 -----------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 4 2 2006-01-03 11:56:07.00
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
        at 
org.eclipse.jst.j2ee.internal.J2EEDependenciesPage.setVisible(J2EEDependenciesPage.java:172)
        at 
org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1196)
        at 
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:351)
        at 
org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:638)
        at 
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
        at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
        at 
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
        at 
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1042)
        at 
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1062)
        at 
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)
        at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)
        at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
        at org.eclipse.jface.window.Window.open(Window.java:787)
        at 
org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
        at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
        at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at 
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)

This is a fatal crash because I can't do anything else than kill my eclipse 
process.

> 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