Skip to main content

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

Okay I think I see; your patch has gone stale (since I have largely removed the refresh.xml scripts).

I will wait to hear back from you on how to proceed; perhaps a git rebase will help you?

-- 
Jody Garnett

On Thursday, 5 January 2012 at 11:27 AM, Jody Garnett wrote:

Your libs-sources.patch seems to be corrupted.

Both patch and git apply report a problem at line 50

-- 
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:


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 <jody.garnett@xxxxxxxxx> wrote:
I noticed that the build.properties in net.refractions.udig_sdk-feature contains wrong (the old) feature references:

I changed these lines to:

I am still getting a bit confused about what goes where when in these generate.feature lines.


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)

Attachments:
- libs-sources.patch.txt
- SDK-source-generation.patch.txt



Back to the top