Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to add additional steps to a projects build?
How to add additional steps to a projects build? [message #330596] Mon, 04 August 2008 23:08 Go to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
I would like to add two steps to the normal build process of a java
project:

1.) it should create a jar file from the code generated. For this I have
defined a .jardesc file - how do I include that into the build?
2.) it should sign the .jar file. For this I worte myself a little .cmd
file the calls jarsigner with all the right parameters. How do I include
the call to an external file into the normal build?

I assume one can use ant to do this, but how can I generate an ant file
(i.e. a build.xml file) that does the same as the default build in a
Java project so that I can start from there?

Michael
Re: How to add additional steps to a projects build? [message #330608 is a reply to message #330596] Tue, 05 August 2008 13:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Michael Moser wrote:
> I would like to add two steps to the normal build process of a java
> project:
>
> 1.) it should create a jar file from the code generated. For this I have
> defined a .jardesc file - how do I include that into the build?
> 2.) it should sign the .jar file. For this I worte myself a little .cmd
> file the calls jarsigner with all the right parameters. How do I include
> the call to an external file into the normal build?
>
> I assume one can use ant to do this, but how can I generate an ant file
> (i.e. a build.xml file) that does the same as the default build in a
> Java project so that I can start from there?

It's pretty easy to do this kind of thing. See here:
http://bewarethepenguin.blogspot.com/2008/08/customizing-bui lds-for-your-eclipse.html

Hope this helps,
Eric
Re: How to add additional steps to a projects build? [message #330610 is a reply to message #330608] Tue, 05 August 2008 14:18 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_005D_01C8F716.DB768D20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Eric,

Eric Rizzo wrote:
> Michael Moser wrote:
>> ...
> It's pretty easy to do this kind of thing. See here:
> =
http://bewarethepenguin.blogspot.com/2008/08/customizing-bui lds-for-your-=
eclipse.html
>=20
> Hope this helps,
> Eric

that was indeed very interesting reading!

I ran into an odd thing though:

I added ant as another builder and defined the targets for manual build =
and as part of "clean".
However, apparently every time when that builder is triggered I get an =
odd popup:

+----------------------------------------------+
| Multiple problems have occured |
+----------------------------------------------+
| (X) Error |
+----------------------------------------------+
| Show Console View |
| Show Console View |
| Show Console View |
| |
+----------------------------------------------+
| [ OK ] [ << Details ] |
+----------------------------------------------+
| Error |
| |
| |
+----------------------------------------------+

I.e. multiple errors "Show Console View" with "details" that just read =
"Error".

Any idea, what might be derailing here?


Michael

------=_NextPart_000_005D_01C8F716.DB768D20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><LINK href=3D"C:\Program Files\OE-QuoteFix\styles.css" =
rel=3Dstylesheet>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16674" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2>Hi =
Eric,</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2>Eric Rizzo=20
wrote:<BR></FONT></SPAN><FONT face=3DArial><FONT size=3D2><SPAN =
class=3Dq1>&gt;=20
Michael Moser wrote:<BR></SPAN><SPAN class=3Dq2>&gt;&gt;=20
....</SPAN></FONT></FONT><SPAN class=3Dq1><BR><FONT face=3DArial =
size=3D2>&gt; It's=20
pretty easy to do this kind of thing. See here:<BR>&gt;=20
http://bewarethepenguin.blogspot.com/2008/08/customizing-bui lds-for-your-=
eclipse.html<BR>&gt;=20
<BR>&gt; Hope this helps,<BR>&gt; Eric</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq1><FONT face=3DArial color=3D#000000 size=3D2>that =
was indeed very=20
interesting reading!</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq1><FONT face=3DArial color=3D#000000 size=3D2>I ran =
into an odd=20
thing though:</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DArial color=3D#000000=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq1><FONT face=3DArial color=3D#000000 size=3D2>I =
added ant as another=20
builder and defined the&nbsp;targets for manual build and as part of=20
"clean".</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DArial color=3D#000000 =
size=3D2>However, apparently=20
every time when&nbsp;that builder is triggered I get an odd=20
popup:</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier color=3D#000000=20
size=3D2>+----------------------------------------------+</FONT ></SPAN></=
DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier color=3D#000000 size=3D2>| =
Multiple problems=20
have=20
occured&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&am p;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;|</FONT></SPAN></DIV >
<DIV><SPAN class=3Dq1><FONT face=3DCourier color=3D#000000=20
size=3D2>+----------------------------------------------+</FONT ></SPAN></=
DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier color=3D#000000 size=3D2>| =
(X)=20
Error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb s=
p;|</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT size=3D2>
<DIV><SPAN class=3Dq1><FONT face=3DCourier color=3D#000000=20
size=3D2>+----------------------------------------------+</FONT ></SPAN></=
DIV></FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier size=3D2>
<DIV><SPAN class=3Dq1><FONT face=3DCourier size=3D2><FONT =
color=3D#000000>| Show Console=20
View&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb s=
p;&nbsp;&nbsp;&nbsp;&nbsp;|</FONT>
<DIV><SPAN class=3Dq1><FONT face=3DCourier size=3D2><FONT =
color=3D#000000>| Show Console=20
View&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb s=
p;&nbsp;&nbsp;&nbsp;&nbsp;|</FONT>
<DIV><SPAN class=3Dq1><FONT face=3DCourier color=3D#000000 size=3D2>| =
Show Console=20
View&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb s=
p;&nbsp;&nbsp;&nbsp;&nbsp;|</FONT></SPAN></DIV >
<DIV><SPAN class=3Dq1>
<DIV><SPAN class=3Dq1><FONT face=3DCourier=20
color=3D#000000> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb s=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p=
;|</FONT></SPAN></DIV></SPAN></DIV></FONT></SPAN></DIV ></FONT></SPAN></DI=
V></FONT></SPAN><SPAN=20
class=3Dq1><FONT face=3DArial size=3D2><SPAN class=3Dq1><FONT =
face=3DCourier color=3D#000000=20
size=3D2>+----------------------------------------------+</FONT ></SPAN></=
DIV>
<DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier=20
color=3D#000000> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;=20
[ OK ]&nbsp;&nbsp;[ &lt;&lt; Details&nbsp;]&nbsp;|</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier>
<DIV><SPAN class=3Dq1><FONT face=3DCourier color=3D#000000=20
size=3D2>+----------------------------------------------+</FONT ></SPAN></=
DIV></FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier><SPAN class=3Dq1><FONT =
face=3DCourier size=3D2>
<DIV><SPAN class=3Dq1><FONT face=3DCourier color=3D#000000>| Error&nbsp; =

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;&nbsp;|</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier=20
color=3D#000000> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb s=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p=
;|</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq1><FONT face=3DCourier=20
color=3D#000000> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n b=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb s=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p=
;|</FONT></SPAN></DIV>
<DIV><FONT=20
color=3D#000000>+----------------------------------------------+ </FONT></=
DIV>
<DIV><FONT color=3D#000000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#000000>I.e. multiple errors "Show =
Console View"=20
with "details" that just read "Error".</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#000000>Any idea, what might be=20
derailing&nbsp;here?</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#000000></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#000000>Michael</FONT></DIV>
<DIV><FONT face=3DArial=20
color=3D#000000></FONT></FONT></SPAN>&nbsp;</DIV></FONT ></SPAN></DIV></FO=
NT></SPAN></DIV></BODY></HTML>

------=_NextPart_000_005D_01C8F716.DB768D20--
Re: How to add additional steps to a projects build? [message #330611 is a reply to message #330610] Tue, 05 August 2008 14:45 Go to previous message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0077_01C8F71A.BBC269F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Traced this further down. There are tons of EventLoopExceptions in the =
log that stem from these builder calls:

They all read either:
------------------------------------------------------------ -----------
org.eclipse.swt.SWTException: Failed to execute runnable =
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at =
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
36)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at =
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:2=
88)
at =
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:48=
8)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at =
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplicati=
on.java:113)
at =
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.ja=
va:193)
at =
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplicati=
on(EclipseAppLauncher.java:110)
at =
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Eclips=
eAppLauncher.java:79)
at =
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:3=
82)
at =
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1=
79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java=
:59)
at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorI=
mpl.java:39)
at java.lang.reflect.Method.invoke(Method.java:612)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
at org.eclipse.ui.part.PageBookView.showPageRec(PageBookView.ja va:942)
at =
org.eclipse.ui.internal.console.ConsoleView.showPageRec(Cons oleView.java:=
158)
at =
org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:746)
at =
org.eclipse.ui.internal.console.ConsoleView.display(ConsoleV iew.java:476)=

at =
org.eclipse.ui.internal.console.ConsoleManager$ShowConsoleVi ewJob.runInUI=
Thread(ConsoleManager.java:309)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at =
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
33)
... 23 more
------------------------------------------------------------ -----------

or:

------------------------------------------------------------ -----------
Problems occurred when invoking code from plug-in: =
"org.eclipse.ui.workbench".

java.lang.NullPointerException
at =
org.eclipse.ui.internal.console.ConsoleView.partDeactivated( ConsoleView.j=
ava:655)
at =
org.eclipse.ui.internal.PartListenerList2$4.run(PartListener List2.java:11=
3)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at =
org.eclipse.ui.internal.PartListenerList2.fireEvent(PartList enerList2.jav=
a:53)
at =
org.eclipse.ui.internal.PartListenerList2.firePartDeactivate d(PartListene=
rList2.java:111)
at =
org.eclipse.ui.internal.PartService.firePartDeactivated(Part Service.java:=
241)
at =
org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:299)
at =
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(Workb=
enchPagePartList.java:56)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java :126)
at =
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:34=
91)
at =
org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage .java:610)
at =
org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPa ge.java:1228)=

at =
org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPa ge.java:837)
at org.eclipse.ui.internal.views.log.LogView$25.run(LogView.jav a:1046)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at =
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
33)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at =
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:2=
88)
at =
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:48=
8)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at =
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplicati=
on.java:113)
at =
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.ja=
va:193)
at =
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplicati=
on(EclipseAppLauncher.java:110)
at =
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Eclips=
eAppLauncher.java:79)
at =
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:3=
82)
at =
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1=
79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java=
:59)
at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorI=
mpl.java:39)
at java.lang.reflect.Method.invoke(Method.java:612)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
------------------------------------------------------------ -----------

Not fully baken, these additional builders, I suppose...

Michael

------=_NextPart_000_0077_01C8F71A.BBC269F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><LINK href=3D"C:\Program Files\OE-QuoteFix\styles.css"=20
rel=3Dstylesheet><LINK href=3D"C:\Program Files\OE-QuoteFix\styles.css"=20
rel=3Dstylesheet>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16674" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2>Traced this further =
down. There are=20
tons of EventLoopExceptions in the log that stem from these builder=20
calls:</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2>They all read=20
either:</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial=20
size=3D2> ------------------------------------------------------------ ----=
-------</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial =
size=3D2>org.eclipse.swt.SWTException: Failed=20
to execute runnable (java.lang.NullPointerException)<BR>&nbsp;at=20
org.eclipse.swt.SWT.error(SWT.java:3777)<BR>&nbsp;at=20
org.eclipse.swt.SWT.error(SWT.java:3695)<BR>&nbsp;at=20
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
36)<BR>&nbsp;at=20
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800) <BR>&n=
bsp;at=20
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425) <BR>&nb=
sp;at=20
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382) <BR>&n=
bsp;at=20
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) <BR>&nbsp;at =

org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98) <BR>&nbsp;=
at=20
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)<BR >&nbsp;at=20
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:2=
88)<BR>&nbsp;at=20
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:48=
8)<BR>&nbsp;at=20
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149) <BR>&=
nbsp;at=20
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplicati=
on.java:113)<BR>&nbsp;at=20
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.ja=
va:193)<BR>&nbsp;at=20
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplicati=
on(EclipseAppLauncher.java:110)<BR>&nbsp;at=20
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Eclips=
eAppLauncher.java:79)<BR>&nbsp;at=20
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:3=
82)<BR>&nbsp;at=20
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1=
79)<BR>&nbsp;at=20
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR>&nbsp;at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java=
:59)<BR>&nbsp;at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorI=
mpl.java:39)<BR>&nbsp;at=20
java.lang.reflect.Method.invoke(Method.java:612)<BR>&nbsp;at=20
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549) <BR>&nbsp=
;at=20
org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)<BR >&nbsp;at=20
org.eclipse.equinox.launcher.Main.run(Main.java:1236)<BR>&nbsp;at=20
org.eclipse.equinox.launcher.Main.main(Main.java:1212)<BR>Caused by:=20
java.lang.NullPointerException<BR>&nbsp;at=20
org.eclipse.ui.part.PageBookView.showPageRec(PageBookView.ja va:942) <BR>&n=
bsp;at=20
org.eclipse.ui.internal.console.ConsoleView.showPageRec(Cons oleView.java:=
158)<BR>&nbsp;at=20
org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:746) <BR>=
&nbsp;at=20
org.eclipse.ui.internal.console.ConsoleView.display(ConsoleV iew.java:476)=
<BR>&nbsp;at=20
org.eclipse.ui.internal.console.ConsoleManager$ShowConsoleVi ewJob.runInUI=
Thread(ConsoleManager.java:309)<BR>&nbsp;at=20
org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)<BR>&nbsp;at=20
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) <BR>&nbsp;a=
t=20
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
33)<BR>&nbsp;...=20
23 more<BR><SPAN class=3Dq0><FONT face=3DArial=20
size=3D2> ------------------------------------------------------------ ----=
-------</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial =
size=3D2>or:</FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2><SPAN class=3Dq0><FONT =
face=3DArial=20
size=3D2> ------------------------------------------------------------ ----=
-------</FONT></SPAN></FONT></SPAN></DIV><FONT=20
face=3DArial size=3D2>Problems occurred when invoking code from plug-in: =

"org.eclipse.ui.workbench".</FONT>
<DIV><SPAN class=3Dq0><FONT face=3DArial =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial=20
size=3D2>java.lang.NullPointerException<BR>&nbsp;at=20
org.eclipse.ui.internal.console.ConsoleView.partDeactivated( ConsoleView.j=
ava:655)<BR>&nbsp;at=20
org.eclipse.ui.internal.PartListenerList2$4.run(PartListener List2.java:11=
3)<BR>&nbsp;at=20
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<BR >&nbsp;at=20
org.eclipse.core.runtime.Platform.run(Platform.java:880)<BR >&nbsp;at=20
org.eclipse.ui.internal.PartListenerList2.fireEvent(PartList enerList2.jav=
a:53)<BR>&nbsp;at=20
org.eclipse.ui.internal.PartListenerList2.firePartDeactivate d(PartListene=
rList2.java:111)<BR>&nbsp;at=20
org.eclipse.ui.internal.PartService.firePartDeactivated(Part Service.java:=
241)<BR>&nbsp;at=20
org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:299) <B=
R>&nbsp;at=20
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(Workb=
enchPagePartList.java:56)<BR>&nbsp;at=20
org.eclipse.ui.internal.PartList.setActivePart(PartList.java :126) <BR>&nbs=
p;at=20
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:34=
91)<BR>&nbsp;at=20
org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage .java:610) <BR=
>&nbsp;at=20
org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPa ge.java:1228)=
<BR>&nbsp;at=20
org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPa ge.java:837) <=
BR>&nbsp;at=20
org.eclipse.ui.internal.views.log.LogView$25.run(LogView.jav a:1046) <BR>&n=
bsp;at=20
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) <BR>&nbsp;a=
t=20
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:1=
33)<BR>&nbsp;at=20
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800) <BR>&n=
bsp;at=20
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425) <BR>&nb=
sp;at=20
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382) <BR>&n=
bsp;at=20
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) <BR>&nbsp;at =

org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98) <BR>&nbsp;=
at=20
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)<BR >&nbsp;at=20
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:2=
88)<BR>&nbsp;at=20
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:48=
8)<BR>&nbsp;at=20
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149) <BR>&=
nbsp;at=20
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplicati=
on.java:113)<BR>&nbsp;at=20
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.ja=
va:193)<BR>&nbsp;at=20
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplicati=
on(EclipseAppLauncher.java:110)<BR>&nbsp;at=20
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Eclips=
eAppLauncher.java:79)<BR>&nbsp;at=20
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:3=
82)<BR>&nbsp;at=20
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1=
79)<BR>&nbsp;at=20
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR>&nbsp;at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java=
:59)<BR>&nbsp;at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorI=
mpl.java:39)<BR>&nbsp;at=20
java.lang.reflect.Method.invoke(Method.java:612)<BR>&nbsp;at=20
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549) <BR>&nbsp=
;at=20
org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)<BR >&nbsp;at=20
org.eclipse.equinox.launcher.Main.run(Main.java:1236)<BR>&nbsp;at=20
org.eclipse.equinox.launcher.Main.main(Main.java:1212)<BR><SPAN =
class=3Dq0><FONT=20
face=3DArial=20
size=3D2> ------------------------------------------------------------ ----=
-------</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2><SPAN=20
class=3Dq0></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2><SPAN class=3Dq0>Not =
fully baken,=20
these additional builders, I suppose...</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2><SPAN=20
class=3Dq0></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2><SPAN=20
class=3Dq0>Michael</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3Dq0><FONT face=3DArial size=3D2><SPAN=20
class=3Dq0></SPAN></FONT></SPAN>&nbsp;</DIV></BODY ></HTML>

------=_NextPart_000_0077_01C8F71A.BBC269F0--
Previous Topic:ant-question: how to extend/concatenate a property with some additional text?
Next Topic:Re: Ganymede hangs at loading workbench
Goto Forum:
  


Current Time: Fri Aug 16 16:51:37 GMT 2024

Powered by FUDForum. Page generated in 0.03684 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top