Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Setting up uDig 1.2 development in Eclipse

Thank you for the help. I was able to get uDig 1.2 running in Eclipse. It was possible to load a layer from DB2 LUW but this failed loading from DB2 for z/OS with the error:
java.lang.NullPointerException
at net.refractions.udig.catalog.internal.db2.DB2GeoResource$DB2GeoResourceInfo.getTitle(Unknown Source)
   at net.refractions.udig.catalog.ui.CatalogUIPlugin.title(Unknown Source)
   at net.refractions.udig.catalog.ui.CatalogUIPlugin.title(Unknown Source)
at net.refractions.udig.catalog.ui.ResolveTitlesDecorator$UpdateLabel.run(Unknown Source)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

I'm afraid I'm a newbie to debugging plug-ins in Eclipse. How do I set a breakpoint? Normally I work with regular Java projects in Eclipse and can easily select the file to set a breakpoint before starting debug mode.

In case I need to use Eclipse with the source tree, I've been following the instructions for this which are very good. However after importing the uDig 1.2 code from the source tree, when I get to step 3 "Create Working sets", I'm not clear on how I select "Top Level Elements" from the package explorer. I do see a huge number of net.refractions.udig packages.

Ugo Taddei wrote:
Hi,

David Adler wrote:
When will uDig trunk be released as a product?

If one has an svn copy of uDig trunk, is it straightforward to use this in Eclipse?

The answer depends on your previous experience with udig/eclipse. If you've done it before, then you might be ok. Otherwise try

http://udig.refractions.net/confluence/display/DEV/1+SDK+Quickstart

especially
-> uDIG 1.2 Development Quickstart

Worked for me. Though I'm back on trunk.

Cheers,

Ugo


Adrian Custer wrote:
Hey,

udig 1.1 uses gt 2.2, udig trunk uses gt trunk (aka 2.6).

--adrian

On Tue, 2008-12-09 at 16:30 -0500, David Adler wrote:
From looking at the libs shipped with uDig, I would guess that uDig is working with GeoTools V2.2.

Is this correct and are there documented plans to move to a more current version of GeoTools?

We have been trying to do some testing of uDig support for DB2 for z/OS but the support for this in GeoTools is in a much later version, 2.4 or 2.5.

_______________________________________________
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