[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho, Juno, and the Delta Pack

Hi Justin,

You may also need to additionally include the eclipse updates p2 repository in your repositories list.

Simon

On Thursday, October 11, 2012, Justin Shacklette wrote:
I feel like I'm missing something fundamental. ÂWhen I build from the commandline, tycho always fails when building the product.

Error message:
[INFO] {osgi.ws=cocoa, osgi.os=macosx, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Â Missing requirement for filter properties ~= $0: blah.1.0 requires 'org.eclipse.ui.cocoa 0.0.0' but it could not be found

which I assume means it needs the delta pack.

my product pom is:
<plugin>
  <groupId>org.eclipse.tycho</groupId>
  <artifactId>target-platform-configuration</artifactId>
  <configuration>
    <resolver>p2</resolver>
    <pomDependencies>consider</pomDependencies>
    <environments>
      <environment>
        <os>macosx</os>
...

and I'm using the Juno p2 repo:
<repositories>
  <repository>
    <id>eclipse-juno</id>
    <layout>p2</layout>
    <url>http://download.eclipse.org/releases/juno</url>
...

and the .product uses fragments for all the platform specific UI libs:
<plugin id="org.eclipse.ui.cocoa" fragment="true" ws="cocoa"/>
<plugin id="org.eclipse.swt.cocoa.macosx" fragment="true" os="macosx" ws="cocoa" arch="x86"/>
<plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true" os="macosx" ws="cocoa" arch="x86_64"/>
...

How do I tell tycho to use the Delta Pack from Juno? Do I have to download it?

-Justin