Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Problems importing into Eclipse

I was able to get it running in Eclipse the same as RC6 by a route similar to what you suggested below. I don't know why it doesn't work with the udig.project "out of the box".

But I still can't get past the DB2 preferences window even though valid jars are selected. It seems like they are not getting added to the classpath.

Is there some way to find out what the actual runtime classpath is? The Help->Configuration details has lots of good info but not the classpath.

David

At 01:33 PM 8/17/2005, jeichar@xxxxxxxxxxxxxxx wrote:
HI David,

There are 2 clues I can see from the log.
1 - No application ID found means that udig.ui either is not included or one of
its required classes are not included.
2 - Missing required bundle net.refractions.udig.ui_0.0.0. means that something
is wrong with the udig.ui.

Go to the run menu, move to the plugins tab and press validate Plugin Set.  I
expect it will say that a bunch of things are disabled.  press Add required
plugins and then try validating the set again.  If it works then something is
wrong with the udig.product you have.  Make sure all the features are included
in your workspace.  Make sure that all the classpath's have been updated.

Hope this helps,
Jesse

Quoting David Adler <dadler@xxxxxxxxxxx>:

> I still can't get this to run - what am I missing?
>
> At 04:45 PM 8/16/2005, you wrote:
> >Strange, I was pretty sure I had updated the classpath, but doing it again
> >cleared up the problem.
> >
> >Using the new Quickstart instructions to run the main application, I get
> >an error.
> >Is the 'product configuration' based on plug-ins or features?  The default
> >seems to be
> >features but neither works for me.  The Quickstart does't mention this.
> >
> >!SESSION 2005-08-16 16:43:04.906
> >-----------------------------------------------
> >eclipse.buildId=I20050627-1435
> >java.version=1.5.0_03
> >java.vendor=Sun Microsystems Inc.
> >BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> >Framework arguments:  -product net.refractions.udig.product -pdelaunch
> >Command-line arguments:  -product net.refractions.udig.product -data
> >d:\jre15\eclipse\runtime-udig.product -dev
>
>file:d:/jre15/eclipse/w050815/.metadata/.plugins/org.eclipse.pde.core/udi g.product/dev.properties
> >-pdelaunch -os win32 -ws win32 -arch x86
> >
> >!ENTRY org.eclipse.osgi 2005-08-16 16:43:06.796
> >!MESSAGE Bundle
> >update@E:/geotools/udig/trunk/plugins/net.refractions.udig/ [3] was not
> >resolved.
> >!SUBENTRY 1 org.eclipse.osgi 2005-08-16 16:43:06.796
> >!MESSAGE Missing required bundle net.refractions.udig.ui_0.0.0.
> >
> >!ENTRY org.eclipse.core.runtime 2005-08-16 16:43:06.796
> >!MESSAGE Product net.refractions.udig.product could not be found.
> >
> >!ENTRY org.eclipse.osgi 2005-08-16 16:43:06.796
> >!MESSAGE Application error
> >!STACK 1
> >java.lang.RuntimeException: No application id has been found.
> >         at
> >
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:204)
> >         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)
> >
> >!ENTRY org.eclipse.osgi 2005-08-16 16:43:06.812
> >!MESSAGE Bundle
> >update@E:/geotools/udig/trunk/plugins/net.refractions.udig/ [3] was not
> >resolved.
> >!SUBENTRY 1 org.eclipse.osgi 2005-08-16 16:43:06.812
> >!MESSAGE Missing required bundle net.refractions.udig.ui_0.0.0.
> >
> >
> >At 01:01 PM 8/16/2005, you wrote:
> >>I had a similar problem, and updating the classpath fixed it.
> >>
> >>On 8/16/05, David Adler <dadler@xxxxxxxxxxx> wrote:
> >> > I started from scratch to import the latest uDIG code into Eclipse.
> >> >
> >> > All the source came into Eclipse with package names like
> >> > 'src.net.refractions.udig.' and all the code has an error because the
> >> > package name in the source doesn't match.
> >> >
> >> > Did I do something wrong importing the source?
> >> >
> >> >
> >> > _______________________________________________
> >> > 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
> >
> >
> >_______________________________________________
> >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
>




_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel




Back to the top