Roshan, If both projects are part of the same reactor build, then Require-Bundle is all you need because tycho uses OSGi metadata and rules to determine inter-project dependencies, to calculate build classpath and so on.
If you want to build the two projects separately and use maven repository to share binary artifacts, then you will need to include required bundle in the build target platform specification (and to Require-Bundle, of course). We don't have proper documentation for this yet, but in nutshells, build target platform is defined using dependencyManagement pom.xml section. Dependencies with type eclipse-plugin are just added to the build target platform, while dependencies with type eclipse-feature are added together with their transitive dependencies. One of tycho integration tests [1] shows this in action -- build01 installs feature and couple of bundles to maven local repository while build02 uses these features and bundles as dependencies. Let me know if you have any further questions [1] http://svn.sonatype.org/m2eclipse/tycho/trunk/tycho-its/projects/tycho164 -- Regards, Igor > > I have two eclipse-plugin projects, and I want one of them to depend on > the other one using the manifest approach. In Eclipse, all I have to do is > put the Bundle sym name as the Require-Bundle and it automatically does > this. How can Tycho map this? If I use Tycho/Maven to install the bundle > into the maven repository on one project, how can I get the other project > to depend on it? Thanks. > > Roshan > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
