Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Building the SDK

Hi list and a happy new year!

I've been using uDig's SDK v1.2.2 but I'd like to upgrade to 1.3.1, as I really need the geotools upgrade to 8.0 M4.
I've been trying to build the SDK per the wiki instructions but I've run into problems.

Initially I managed to get a build without errors and with the libs source code properly included.
But what is missing is the uDig's source code.

I noticed that the build.properties in net.refractions.udig_sdk-feature contains wrong (the old) feature references:
generate.feature@net.refractions.udig_platform.source=net.refractions.udig_platform
generate.feature@net.refractions.udig_application.source=net.refractions.udig_application
generate.feature@net.refractions.udig_printing.source=net.refractions.udig_printing
generate.feature@net.refractions.udig_sdk.source=net.refractions.udig_sdk
generate.feature@net.refractions.udig_tutorials.source=net.refractions.udig_tutorials

I changed these lines to:
generate.feature@net.refractions.udig_platform.source-feature=net.refractions.udig_platform-feature
generate.feature@net.refractions.udig_application.source-feature=net.refractions.udig_application-feature
generate.feature@net.refractions.udig_printing.source-feature=net.refractions.udig_printing-feature
generate.feature@net.refractions.udig_sdk.source-feature=net.refractions.udig_sdk-feature
generate.feature@net.refractions.udig_tutorials.source-feature=net.refractions.udig_tutorials-feature

But after that I get constant OutOfMemory errors and eclipse is crashing all the time.
In my eclipse.ini, I have these memory settings:
-Xmx768m
and 
--launcher.XXMaxPermSize
256m

If I increase any of them (and pass 1g in total) I cannot start eclipse at all (error: Failed to create JVM).
I'm using Windows XP (normally I use Debian but that pc Is not available right now) and have 3G of memory

Any advice?
Or if somebody could build build an SDK and upload it, I'd be grateful

Thanks in advance,
Panagiotis

Back to the top