Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] recreating source featuers

TYCHO

Reading the following:
http://wiki.eclipse.org/Tycho/Reference_Card#Source_Bundles

1) Create source features for net.refraction.udig_paltform.source etc … and create a duplicate of the original feature.xml in which all the generated source plugins are referenced.
2) Add a hint to the root pom that we want source plugins generated and placed in the repository
Risks:
- may not work with our version of Tycho; and I don't want to update right now
- the source features may always show up with errors in the Eclipse IDE (I think this is why they were removed)
- next release of tycho should be remove the need for these placeholder features
 
MANUAL
And our notes on the previous make-by-hand solution:
http://udig.refractions.net/confluence/display/ADMIN/Export+uDig+SDK+Procedure#ExportuDigSDKProcedure-PluginSourceCodeLocation

It documents the udig_sdk-feature/build.properites as follows:

bin.includes = feature.xml
src.includes = udig-sdk.product,\
               plugin_customization.ini
generate.feature@net.refractions.udig_tutorials.source-feature=net.refractions.udig_tutorials-feature  

The generate.feature lines gather up some generated source plugins and copy them into the "target" feature.
1) Create source features for net.refraction.udig_paltform.source etc … so the generate.feature has a directory to put things in
2) Add a hint to the root pom that we want source plugins generated and placed in the repository
Risks:
- may trip over the non standard naming of "net.refractions.udig_base.source-feature" (should be net.refractions.udig_base.source.feature)
- Tycho may trip over them - I suspect I could just avoid adding them to the maven build.

DECISION:

Since both steps involve restoring "net.refractions.udig_base.source-feature" and friends that is where I will start; and then we will see which one works.

-- 
Jody Garnett


Back to the top