Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315614 - Helios and 1.5 build
Summary: Helios and 1.5 build
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: VE Bugzilla inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 11:36 EDT by Yves YANG CLA
Modified: 2013-01-13 17:07 EST (History)
4 users (show)

See Also:


Attachments
patch ve helios (41.58 KB, patch)
2010-07-14 14:35 EDT, Erik Hecht CLA
yves.yang: iplog+
Details | Diff
project set (2.76 KB, application/octet-stream)
2010-07-14 14:36 EDT, Erik Hecht CLA
no flags Details
possible patch for correct webtools repository on hudson (1.01 KB, patch)
2010-08-11 19:43 EDT, Erik Hecht CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yves YANG CLA 2010-06-03 11:36:54 EDT
I think it is important that VE comes back in the eclipse Helios release train. Hence, we need a build again Helios.
Comment 1 Enrico R. CLA 2010-06-24 22:21:11 EDT
Right, i vote for that too.
Wanna use VE(P) on Helios, but can't install it, unfortunately.
Comment 2 Erik Hecht CLA 2010-07-14 14:35:37 EDT
Created attachment 174325 [details]
patch ve helios
Comment 3 Erik Hecht CLA 2010-07-14 14:36:37 EDT
Created attachment 174328 [details]
project set
Comment 4 Erik Hecht CLA 2010-07-14 14:40:45 EDT
Hello i attached my patchset.

The only thing i couldn't fix is the Palette. Its only showing the rootPalette.

Greetngs
Erik
Comment 5 Yves YANG CLA 2010-07-15 04:13:11 EDT
(In reply to comment #4)
> Hello i attached my patchset.
> The only thing i couldn't fix is the Palette. Its only showing the rootPalette.
> Greetngs
> Erik

The patch is integrated and the probleme of Palette is fixed as well.
Comment 6 Yves YANG CLA 2010-07-15 05:04:23 EDT
Hi Nick,

We need a new bundle "org.eclipse.wst.common.core", which is used by org.eclipse.jem.util. I have updated the vs-project.psf file based on the attachment.
Comment 7 Erik Hecht CLA 2010-07-15 13:28:21 EDT
(In reply to comment #5)
> (In reply to comment #4)
> > Hello i attached my patchset.
> > The only thing i couldn't fix is the Palette. Its only showing the rootPalette.
> > Greetngs
> > Erik
> 
> The patch is integrated and the probleme of Palette is fixed as well.

Hello Yves,

i got this this error and have just the same broken palette.

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IndexOutOfBoundsException: Index: 1, Size: 1)
	at org.eclipse.swt.SWT.error(SWT.java:4083)
	at org.eclipse.swt.SWT.error(SWT.java:3998)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
	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)
Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart$15.activeToolChanged(JavaVisualEditorPart.java:937)
	at org.eclipse.gef.ui.palette.PaletteViewer.fireModeChanged(PaletteViewer.java:178)
	at org.eclipse.gef.ui.palette.PaletteViewer.setActiveTool(PaletteViewer.java:409)
	at org.eclipse.gef.EditDomain.loadDefaultTool(EditDomain.java:212)
	at org.eclipse.gef.EditDomain.setPaletteRoot(EditDomain.java:401)
	at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart.rebuildPalette(JavaVisualEditorPart.java:977)
	at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart$Setup$4.run(JavaVisualEditorPart.java:2131)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	... 23 more
Comment 8 Nick Boldt CLA 2010-08-04 17:50:07 EDT
(In reply to comment #6)
> Hi Nick,
> 
> We need a new bundle "org.eclipse.wst.common.core", which is used by
> org.eclipse.jem.util. I have updated the vs-project.psf file based on the
> attachment.

If you're building with Athena, PDE, or Buckminster, you need to update the .map file to include this new plugin, then add it to a feature.xml so that PDE will know to fetch and compile it.

If you're building with Tycho, make sure the plugin's pom.xml exists and is aggregated by another pom, be it in plugins/ or the project's root, however you're set up. Tycho has to know to build the module or it'll ignore it.

If you're using some other build mechanism, all bets are off and YMMV.
Comment 9 Erik Hecht CLA 2010-08-11 19:42:03 EDT
Hello,

i tested a little bit with releng builder on my linux box.

and changed the build.properties to a correct webtools repository.
perhaps it does work also on hudson.

Greetings
Erik
Comment 10 Erik Hecht CLA 2010-08-11 19:43:32 EDT
Created attachment 176425 [details]
possible patch for correct webtools repository on hudson
Comment 11 Yves YANG CLA 2010-11-15 09:27:57 EST
The build is successful. Next step is to publish it and to update Wiki/Web.
Comment 12 Yves YANG CLA 2013-01-13 17:07:41 EST
The project gets archived