Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » Obtaining dependencies not included in the main update site
Obtaining dependencies not included in the main update site [message #1706328] Tue, 25 August 2015 16:23 Go to next message
Eclipse UserFriend
Hi,

I'm using RCPTT Maven plugin to test my plugin.
In order to setup the AUT I install my plugin using the injection mechanism. However the installation of the plug-in fails because the dependencies needed to satisfy my application are not found.
Since the dependencies that are missing are coming from an update site that is already listed and enabled in my AUT, is there a way to configure RCPTT to tell it to consider this already existing p2 repo?

Thanks

Pascal
Re: Obtaining dependencies not included in the main update site [message #1706372 is a reply to message #1706328] Wed, 26 August 2015 06:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Try to add needed references to injections as you've added AUT's update site.
Take a look at the following snippet, it is an example of such pom.xml.
<injections>
       <injection>
        <site>http://download.eclipse.org/releases/indigo/201202240900</site>
        <features>
         <feature>org.eclipse.gef</feature>
         <feature>org.eclipse.draw2d</feature>
        </features>
       </injection>
       <injection>
        <site>http://download.eclipse.org/tools/gef/updates-pre-3_8/releases/</site>
        <features>
         <feature>org.eclipse.zest.feature.group</feature>
        </features>                      
       </injection>
       <injection>
        <site>${mockupsRepository}</site>
       </injection>
      </injections>

Please try and let me know if it works fine for you.
Re: Obtaining dependencies not included in the main update site [message #1707301 is a reply to message #1706372] Thu, 03 September 2015 10:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi Oleg, thanks to your help we got things to work.
However, I don't think this is really convenient and I've captured my concerns in https://bugs.eclipse.org/bugs/show_bug.cgi?id=476571.

HTH

Pascal
Re: Obtaining dependencies not included in the main update site [message #1707307 is a reply to message #1707301] Thu, 03 September 2015 11:20 Go to previous message
Eclipse UserFriend
Hi,

Is this related to my query here: https://www.eclipse.org/forums/index.php/t/1069990/

Can a similar solution work in my case also? The sites I gave such as
<site>[url]http://project.companyname.com/edk/edk4.3.2[/url]</site>
<site>[url]http://project.companyname.com/utils/data/releases/2.1.2[/url]</site>

are dependency sites. Should I just find the features which are necessary?

Kindly let me know.

Thank you
Jeevan

[Updated on: Thu, 03 September 2015 11:26] by Moderator

Previous Topic:[Blog] RCPTT & Code Coverage
Next Topic:Need Help in this ECL Script
Goto Forum:
  


Current Time: Sun Jun 15 21:22:33 EDT 2025

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

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

Back to the top