uDig/udig-platform — pull request #87 by jive (2012-01-05 06:45:05+00:00)
Title: Updates for SDK Build

This is the result of email discussion.

From Panagiotis email:

Finally, I was able to build the SDK with all source code included. However I changed some things:

I deleted the existing *source features & plugins (except the libs.source):
features/net.refractions.udig_application.source-feature
features/net.refractions.udig_base.source-feature
features/net.refractions.udig_platform.source-feature
features/net.refractions.udig_printing.source-feature
features/net.refractions.udig_sdk.source-feature
features/net.refractions.udig_tutorials.source-feature
plugins/net.refractions.udig_application.source
plugins/net.refractions.udig_platform.source
plugins/net.refractions.udig_printing.source
plugins/net.refractions.udig_sdk.source
plugins/net.refractions.udig_tutorials.source

I changed the generation lines in net.refractions.udig_sdk-feature/build.properties into:

generate.feature@net.refractions.udig_base.source-feature=net.refractions.udig_base-feature, feature@org.eclipse.emf.source, feature@org.eclipse.gef.source
generate.feature@net.refractions.udig_application.source-feature=net.refractions.udig_application-feature
generate.feature@net.refractions.udig_platform.source-feature=net.refractions.udig_platform-feature
generate.feature@net.refractions.udig_printing.source-feature=net.refractions.udig_printing-feature
generate.feature@net.refractions.udig_tutorials.source-feature=net.refractions.udig_tutorials-feature

For the libs source I had to rename the jars (I posted earlier about it).

Then all works fine and no huge memory is required.
The system generates the source features and plugins with all source code properly included.
In my project I use the generated sdk and I can see all the source code.