Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Tycho dependency trouble(Tycho build questions)
icon9.gif  Tycho dependency trouble [message #752940] Wed, 26 October 2011 15:20 Go to next message
David Mising name is currently offline David Mising nameFriend
Messages: 2
Registered: October 2011
Junior Member
I'm just starting out on using Tycho to build my plugins and have encountered trouble.

Firstly I'm using Tycho 0.12.1 on Eclipse Helios R2

I am building a series of in-house plugins they have dependencies as follows:

Plugin A (dependencies on Eclipse)
Plugin B (dependencies on Pugin A & Eclipse)
Plugin C (dependencies on Plugin B & Eclipse)
Plugin N (dependencies on Plugin A, B, C & Eclipse)

After reading an article on pom first artifacts on the sonatype org site, it suggests what I am attempting is not possible on 0.12.1 version of tycho or even version 0.13.

using:

<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>

should resolve my build repositories for my internal dependent plugins, but it throws up an error with eclipse dependencies.

If I use the -Dtycho.targetPlatform=[eclipse_sdk] will allow me to resolve my eclipse dependencies, but will not allow me to resolve my internal dependencies.

It appears Tycho excpects my built files to exist in the same folder(s) as eclipse.

I dont think I can copy the resultant jar file(s) via tycho as I call clean which deletes all files in the target folder (which I dont want to do as it contains my sdk).

I also find that if I do not copy the plugins & features I own to eclipse sdk I can not build an update site.

Can anyone suggest where I am going wrong?
Re: Tycho dependency trouble [message #754809 is a reply to message #752940] Fri, 04 November 2011 12:58 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
Did you know that Tycho has it's own dedicated forum group? Find it on
the Forums home page, under "Eclipse Projects."


On 10/26/11 11:20 AM, David wrote:
> I'm just starting out on using Tycho to build my plugins and have
> encountered trouble.
Previous Topic:Windows 7 Version: Helios Service Release 2 Troubleshooting
Next Topic:How to add CSS autocomplete to eclipse
Goto Forum:
  


Current Time: Tue Jun 15 07:57:19 GMT 2021

Powered by FUDForum. Page generated in 0.02651 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top