Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] TargetPlatform: Migrating from tycho 0.11 to 0.12

Hi,

I currently try to migrate a quite complex project from tycho 0.11 to 0.12, but I get lots of errors regarding the resolving of p2 artifacts. I read in this list, that specifying dependencies via target platform is no longer supported by tycho 0.12, but I think I misunderstood something there.

So, to be more precise, will this kind of entry in the target platform still work with 0.12?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="client-target-platform">
  <locations>
    <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
   <repository location="http://tm-nexus.ch902.siemens.ch:8080/eclipse/rcp-sdk/3.7.0"/>
    </location>
    <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
   <repository location="http://tm-nexus.ch902.siemens.ch:8080/eclipse/delta-pack/3.7.0"/>
    </location>
    <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
   <repository location="http://tm-nexus.ch902.siemens.ch:8080/polyalert"/>
    </location>
    <location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
   <repository location="http://tm-nexus.ch902.siemens.ch:8080/polyalert-ui-extras/2.0.0"/>
    </location>
   ...
  </locations>
</target>


I'm building on linux and currently the error message is currently

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:0.12.0:assemble-repository (default-assemble-repository) on project client-product: Could not assemble p2 repository: Copying p2 repository content failed: "Problems resolving provisioning plan.": ["Unable to satisfy dependency from applicationproduct 1.0.0 to org.eclipse.swt.win32.win32.x86 0.0.0.", "Unable to satisfy dependency from applicationproduct 1.0.0 to org.eclipse.swt.win32.win32.x86_64 0.0.0."] -> [Help 1]

This does not change when I add p2 repositories in the pom for those URLs above..


cheers
Michel

Back to the top