probably going to have to use tycho to generate libs.source

something like:
https://github.com/guymers/udig-platform/commit/d4c5105896d093b1e89cdda4513aed05db36ef25

barely tested

On Wed, Sep 5, 2012 at 3:07 PM, Jody Garnett <[email protected]> wrote:
> This seems to have moved the problem off one step .. when running "mvn
> install -Dall -Psdk" I now
> get a conflict as we have two plugins producing a
> net.refractions.udig.libs.source plugin.
>
> ERROR] Internal error:
> org.eclipse.tycho.p2.impl.resolver.DuplicateReactorIUsException: Duplicate
> reactor project IUs.
> [ERROR] net.refractions.udig.libs.source 1.3.2.qualifier =>
> [/var/lib/jenkins/jobs/uDig Platform QA
> Check/workspace/plugins/net.refractions.udig.libs,
> /var/lib/jenkins/jobs/uDig Platform QA
> Check/workspace/plugins/net.refractions.udig.libs.source]
> [ERROR] -> [Help 1]
> org.apache.maven.InternalErrorException: Internal error:
> org.eclipse.tycho.p2.impl.resolver.DuplicateReactorIUsException: Duplicate
> reactor project IUs.
> net.refractions.udig.libs.source 1.3.2.qualifier =>
> [/var/lib/jenkins/jobs/uDig Platform QA
> Check/workspace/plugins/net.refractions.udig.libs,
> /var/lib/jenkins/jobs/uDig Platform QA
> Check/workspace/plugins/net.refractions.udig.libs.source]
>
>
> --
> Jody Garnett
>
> On Tuesday, 4 September 2012 at 8:40 PM, Sam Guymer wrote:
>
> Because the source features don't technically exist (because they are
> built entirely by tycho) to get them to output into the repository
> they need to be specified in a category.xml file that is contained in
> the same feature as the pom with type eclipse-repository.
>
> That problem is occurring because the product build includes
> net.refractions.udig_platform-feature which then attempts to create a
> source feature and source plugins for its plugins. This fails due to
> net.refractions.udig.libs not being configured to generate a source
> plugin and net.refractions.udig.libs.source not being included in a
> product only build. I have created a pull request that only generates
> the source features when the sdk profile is active:
> https://github.com/uDig/udig-platform/pull/137
>
>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to