geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Delos Dai (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMODEVTOOLS-666) Error occurs when reading geronimo-web.xml
Date Mon, 23 Aug 2010 02:46:15 GMT

     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Delos Dai closed GERONIMODEVTOOLS-666.
--------------------------------------

    Resolution: Won't Fix

After "mvn eclipse:eclipse", the project you importing is considered as a normal java project.
None of the elements in geronimo-web.xml is replaced with real values.So it cause error when
you open the file.

GEP only support valid deployment plan containing real values. That's the reason why it works
well for imported WAR.

GEP works as design for this JIRA, so won't fix it.

> Error occurs when reading geronimo-web.xml
> ------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-666
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-666
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 3.0
>         Environment: OS: Windows XP SP3
> JDK: Sun JDK 1.6.0_20
> Eclipse: 3.6
>            Reporter: Wang Guang Zhe
>            Assignee: Delos Dai
>         Attachments: jsp2.2-test-3.0-SNAPSHOT.war, jsp2.2-test.zip
>
>
> When I open an geronimo-web.xml which belongs to an project imported after mvn -Dwtpversion=2.0
eclipse:eclipse command, error occurs.  But when reading the same file from war file imported,
it runs well.
> The error stack is as follows:
> org.eclipse.ui.PartInitException: Error in loading deployment plan
> 	at org.apache.geronimo.st.ui.editors.AbstractGeronimoDeploymentPlanEditor.init(AbstractGeronimoDeploymentPlanEditor.java:219)
> 	at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
> 	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
> 	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
> 	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
> 	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
> 	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
> 	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
> 	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
> 	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
> 	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
> 	at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:331)
> 	at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:179)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message