[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Problems with CDT fragments

One more piece of information. If we remove the environments that don’t match the filter, it works. How do we specify that a module should only be built for the environments it’s supposed to be built for?

 

Doug.

 

From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Schaefer, Doug
Sent: Friday, June 03, 2011 3:54 PM
To: Tycho developers list
Subject: Re: [tycho-dev] Problems with CDT fragments

 

I cut off the root cause of the exception.

 

Caused by: org.eclipse.core.runtime.CoreException: Problems resolving provisioning plan.

                at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:85)

 

But then you probably know that. J

 

Thanks,
Doug.

 

From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Schaefer, Doug
Sent: Friday, June 03, 2011 3:44 PM
To: tycho-dev@xxxxxxxxxxx
Subject: [tycho-dev] Problems with CDT fragments

 

Dave Carver sent me your way.

 

He and I have tried to build pom’s for CDT to build with tycho. I’ve ran into an issue with our fragments. I have the target-platform-configuration set as follows:

 

      <plugin>

                <groupId>org.eclipse.tycho</groupId>

                <artifactId>target-platform-configuration</artifactId>

                <version>${tycho-version}</version>

                <configuration>

                  <resolver>p2</resolver>

                  <environments>

                    <environment>

                      <os>linux</os>

                      <ws>gtk</ws>

                      <arch>x86</arch>

                    </environment>

            …

 

I have a standard plug-in POM for our fragment which has an OSGI filter of (osgi.os=linux). I get the following exception. Any thoughts?

 

[ERROR] Internal error: java.lang.RuntimeException: "Problems resolving provisioning plan.": ["org.eclipse.cdt.core.linux 5.2.0.qualifier cannot be installed in this environment because its filter is not applicable."] -> [Help 1]

org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "Problems resolving provisioning plan.": ["org.eclipse.cdt.core.linux 5.2.0.qualifier cannot be installed in this environment because its filter is not applicable."]

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)

                at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

                at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

    …

 

Doug.