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.