Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Problem resolving dependencies with tycho-built RCP application

Hi Wim
Thanks for the suggestion.  I have done so with the plugin that cannot seem to provide the required Java class, and indeed it contains the expected class files in the correct directory.
Interestingly enough I note there is a MANIFEST.MF file at the root, but in META-INF there is a maven directory and a maven.mf file.
Tamar

From: Wim Jongman <wim.jongman@xxxxxxxxx>
Reply-To: Tycho user list <tycho-user@xxxxxxxxxxx>
Date: Mon, 4 Feb 2013 17:28:16 -0600
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] Problem resolving dependencies with tycho-built RCP application

HI Tamar,

Check every exported jar. If the size is low (e.g. 1K) then open it to see if it has the expected content. If not then check your build.properties to see if you have exported everything. 

Regards,

Wim


On Tue, Feb 5, 2013 at 12:19 AM, Cohen, Tamar (ARC-TI)[Stinger Ghaffarian Technologies Inc. (SGT Inc.)] <tamar.e.cohen@xxxxxxxx> wrote:


Hi all

I'm new to Tycho and Maven and trying to set up a build for our RCP application, for various platforms.
It APPEARS to have worked; I have followed Lars Vogella's tutorials and I have as a result some lovely jar files and platform specific RCP applications.

HOWEVER.
When I try to run these, some of the dependencies that are reexported from plugin to plugin are not found by the downstream plugins.  When I run with the osgi console, it does show the plugin that has the classes that are not found as being active.

When I do a comparison export via PDE, everything runs perfectly.

My MANIFEST.MF files are still using Require-Bundle and Export-Package; within the Require-Bundle are some visibility=reexport.
For example the line in the MANIFEST might look like:
my.plugin.basename;visibility=reexport

This line IS included in the output MANIFEST.MF file.

My master pom.xml file uses tycho-maven-plugin and target-platform-configuration.

Any insight would be HUGELY appreciated.
Thanks much

Tamar Cohen

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top