[udig-devel] SDK set up work book available
Suvajit
jeet_sen at yahoo.co.in
Fri Feb 1 08:21:49 PST 2008
Hi Jesse,
Yes, it is working fine with RC14 UDIG SDK.
Thanks a lot.
Regards,
Suvajit
Jesse Eichar wrote:
>
> Hi,
>
> I think you are using the wrong SDK. Jody forgot to say that it
> requires RC14 SDK.
> The SDK I'd recommend is:
>
> http://udig.refractions.net/downloads/udig-1.1-RC14-sdk.zip
>
> And follow the NEW SDK instructions. Instead of Setting the target
> Platform to the SDK just add it to your normal eclipse platform.
>
> I've updated both the SDK instructions and the RCP instructions.
> Changes to the SDK instructions are:
>
> Add SDK to target platform not set.
>
> Changes to RCP:
>
> Add a PerspectiveExtension Extension to add the Add/Create Layer
> Actionset.
>
> Jesse
>
>
> Le 31-Jan-08 à 10:24 AM, Suvajit a écrit :
>
>>
>> Hi Jody,
>> Thanks for the SDK Quick Quickstart. The document is quite
>> illustrative to
>> use.
>> I followed the document to set up UDIG SDK at my end using
>> UDIG1.1RC13 SDK.
>> After setting up eclipse plugin project and defining the product
>> configuration as stated in the SDK Quickstart PDF and "Launched an
>> Eclipse
>> application" from product configuration to the get the following
>> error(NullPointerException). Only thing that I violated on the guide
>> was
>> commenting the Override directive for createWorkbenchAdvisor method :
>>
>> public class CustomApp extends UDIGApplication implements
>> IApplication {
>> //@Override -----> Without comment eclipse error : "The method
>> createWorkbenchAdvisor() of type CustomApp must override a superclass
>> method"
>> protected WorkbenchAdvisor createWorkbenchAdvisor() {
>> return new UDIGWorkbenchAdvisor() {
>> @Override
>> public String getInitialWindowPerspectiveId() {
>> return
>> "net.refractions.udig.tutorials.customapp.perspective";
>> }
>> };
>> }
>>
>>
>> The runtime error is as follows:
>> Exception in thread "Thread-3" java.lang.NullPointerException
>> at org.eclipse.ui.internal.IntroAction.<init>(IntroAction.java:60)
>> at org.eclipse.ui.actions.ActionFactory
>> $11.create(ActionFactory.java:338)
>> at
>> net
>> .refractions
>> .udig
>> .internal
>> .ui.UDIGActionBarAdvisor.fillHelpMenu(UDIGActionBarAdvisor.java:452)
>> at
>> net
>> .refractions
>> .udig
>> .internal
>> .ui.UDIGActionBarAdvisor.fillMenuBar(UDIGActionBarAdvisor.java:168)
>> at
>> org
>> .eclipse
>> .ui
>> .application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:
>> 150)
>> at
>> org
>> .eclipse
>> .ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3301)
>> at
>> org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:
>> 380)
>> at
>> org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:
>> 1725)
>> at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1724)
>> at
>> org.eclipse.ui.internal.Workbench$18.runWithException(Workbench.java:
>> 1001)
>> at
>> org.eclipse.ui.internal.StartupThreading
>> $StartupRunnable.run(StartupThreading.java:31)
>> 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:
>> 3659)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
>> at
>> org
>> .eclipse
>> .ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:
>> 801)
>> at
>> org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:
>> 1342)
>> at
>> org.eclipse.ui.internal.StartupThreading
>> $StartupRunnable.run(StartupThreading.java:31)
>> 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:
>> 3659)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>> at
>> org
>> .eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
>> 289)
>> at
>> org
>> .eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
>> 461)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
>> 149)
>> at
>> net
>> .refractions
>> .udig.internal.ui.UDIGApplication.start(UDIGApplication.java:93)
>> at
>> org
>> .eclipse
>> .equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>> at
>> org
>> .eclipse
>> .core
>> .runtime
>> .internal
>> .adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
>> 106)
>> at
>> org
>> .eclipse
>> .core
>> .runtime
>> .internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>> at
>> org
>> .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
>> 363)
>> at
>> org
>> .eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
>> 176)
>> 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.equinox.launcher.Main.invokeFramework(Main.java:508)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
>>
>>
>> Any clue?
>>
>> Regards,
>> Suvajit
>>
>>
>>
>> Jody Garnett wrote:
>>>
>>> Check the following page for details:
>>> - http://udig.refractions.net/confluence/display/DEV/1+SDK+Quickstart
>>>
>>> As we move over to trunk development full time this work book will be
>>> all that remains of uDig 1.1 set up instructions.
>>> Jody
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/SDK-set-up-work-book-available-tp15172321p15211636.html
>> Sent from the udig-devel mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
--
View this message in context: http://www.nabble.com/SDK-set-up-work-book-available-tp15172321p15229870.html
Sent from the udig-devel mailing list archive at Nabble.com.
More information about the udig-devel
mailing list