Congrats on the hard work! We should make sure you are set up to submit pull requests (or otherwise get these changes in smoothly).
It sounds like you have tested your project; we got our two QA tests to perform before we can release this SDK into the wild. In particular the CustomApp tutorial as it is very easy to accidentally leave out a plugin that is required at release time.-- Jody Garnett On Wednesday, 4 January 2012 at 11:24 PM, P S wrote: > Hi, > > 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: > > [email protected]_base.source-feature > (mailto:[email protected]_base.source-feature)=net.refractions.udig_base-feature, > [email protected] (mailto:[email protected]), > [email protected] (mailto:[email protected]) > [email protected]_application.source-feature > (mailto:[email protected]_application.source-feature)=net.refractions.udig_application-feature > [email protected]_platform.source-feature > (mailto:[email protected]_platform.source-feature)=net.refractions.udig_platform-feature > [email protected]_printing.source-feature > (mailto:[email protected]_printing.source-feature)=net.refractions.udig_printing-feature > [email protected]_tutorials.source-feature > (mailto:[email protected]_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. > > I attach both patches with all the changes, if you wish to test it. > > -Panagiotis > > On Tue, Jan 3, 2012 at 5:11 AM, Jody Garnett <[email protected] > (mailto:[email protected])> wrote: > > > I noticed that the build.properties in net.refractions.udig_sdk-feature > > > contains wrong (the old) feature references: > > > [email protected]_platform.source > > > (mailto:[email protected]_platform.source)=net.refractions.udig_platform > > > [email protected]_application.source > > > (mailto:[email protected]_application.source)=net.refractions.udig_application > > > [email protected]_printing.source > > > (mailto:[email protected]_printing.source)=net.refractions.udig_printing > > > [email protected]_sdk.source > > > (mailto:[email protected]_sdk.source)=net.refractions.udig_sdk > > > [email protected]_tutorials.source > > > (mailto:[email protected]_tutorials.source)=net.refractions.udig_tutorials > > > > > > > > > I changed these lines to: > > > [email protected]_platform.source-feature > > > (mailto:[email protected]_platform.source-feature)=net.refractions.udig_platform-feature > > > [email protected]_application.source-feature > > > (mailto:[email protected]_application.source-feature)=net.refractions.udig_application-feature > > > [email protected]_printing.source-feature > > > (mailto:[email protected]_printing.source-feature)=net.refractions.udig_printing-feature > > > [email protected]_sdk.source-feature > > > (mailto:[email protected]_sdk.source-feature)=net.refractions.udig_sdk-feature > > > [email protected]_tutorials.source-feature > > > (mailto:[email protected]_tutorials.source-feature)=net.refractions.udig_tutorials-feature > > > > > > > > I am still getting a bit confused about what goes where when in these > > generate.feature lines. > > > > The docs here > > (http://dev.eclipse.org/viewsvn/viewvc.cgi/org.eclipse.pde.doc.user/guide/pde_source_generation.htm?view=co) > > are a bit hard to understand. > > > > The interesting part is this "<source feature id>: This is the id of the > > source feature and plug-in to be generated. Normally it is something like > > <feature id>.source". > > > > We *do* have a plugin named "net.refractions.udig_platform.source" and the > > build.properties there does mark it as a source plugin. I am not sure if > > the system is smart enough to associate > > net.refractions.udig_platform.source and > > net.refractions.udig_platform.source-feature and unpack the sources into > > the plugin - we will see. > > > > For now I am getting a bit stuck replacing (ant) refresh.xml with (maven) > > pom-libs.xml - I will let you know how I go. > > > > Jody > > > > > > > > > > _______________________________________________ > > 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 > > > > > Attachments: > - libs-sources.patch.txt > > - SDK-source-generation.patch.txt >
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
