Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Viewing geotools source attachment for udig-1.1-RC10-src-win32.win32.x86

Hi all,

I've been struggling to find out how to view geotools source files for
debugging purposes. And I think, I found a workaround:

Note: This is using eclipse-SDK-3.2.1 and udig-1.1-RC10-src-win32.win32.x86

1. Unzip net.refractions.libs.source_1.0.0.jar found in plugins
directory to a directory named net.refractions.libs.source_1.0.0.
There are jar files like gt-something-SNAPSHOT-sources.jar. Rename the
net.refractions.libs.source_1.0.0.jar to something else.

2. Create directories under net.refractions.libs.source_1.0.0 . So the
directory structure will look like this:
net.refractions.libs.source_1.0.0/src/net.refractions.udig.libs_1.1.0/lib

3. Move the jar files to this last lib directory

4. Rename each gt-something-SNAPSHOT-sources.jar file to
gt2-something-2.2.xsrc.zip, for example
gt-api-SNAPSHOT-sources.jar to gt2-api-2.2.xsrc.zip
(wisdom comes from Source Locations extension point description)

5. Restart eclipse-sdk, if you are using
udig-1.1-RC10-src-win32.win32.x86 as Target Platform like me, you will
see a new entry net.refractions.libs.source_1.0.0/src/ in the Target
Platform's Source Code Location

6. You can view the source files of gt-* libraries now.

But i think I saw it has been fixed on the trunk (build.xml on
net.refractions.udig.libs.source)

Romi


Back to the top