Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP-App asTest-Tool for a third-party-library ...
RCP-App asTest-Tool for a third-party-library ... [message #829537] Mon, 26 March 2012 12:26 Go to next message
Abdeltif Nouqrat is currently offline Abdeltif NouqratFriend
Messages: 4
Registered: July 2009
Junior Member
Hi all.
I wrote a test tool (as RCP-application .exe) to test the functionality of an external library (jar file. Own implementation).
The external library is part of the plugin-classpath (MANIFEST: Bundle-Classpath).

Because there is always a newer version of the external jar file, I want to change the test-tool so, that I just have to replace the old external jar file with the newer one.
This way I will not have to build the test tool each time a new version of the library exists.

I'll appreciate any advice.

Thanks in advance.
Abdeltif

[Updated on: Mon, 26 March 2012 15:00]

Report message to a moderator

Re: RCP-App asTest-Tool for a third-party-library ... [message #845850 is a reply to message #829537] Sun, 15 April 2012 13:27 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi,

You just need to wrap your external library into a plugin and export all of
its packages. Then every time you have a new version of the external jar, you
increment the version number and add it to the dropins or plugins directory.

There is no need to rebuild the app.

If you want to get fancy, you can include P2 into your app and publish the
external library plugin on an update site so you can use P@ to do the update
for you.

Regards,

Wim


> Hi all.
> I wrote a test tool (as RCP-application .exe) to test the functionality of
an external library (jar file. Own implementation).
> The external library is used wihtin the classpath of the plug-in (MANIFEST:
Bundle-Classpath).
> Because there is always a newer version of the external jar file, I want to
change the test-tool so, that I just have to replace the old external jar
file with the newer one.
> This way I will not have to build the test tool each time a new version of
the library exists.
>
> I'll appreciate any advice.
>
> Thanks in advance.
> Abdeltif
Re: RCP-App asTest-Tool for a third-party-library ... [message #894376 is a reply to message #845850] Sun, 08 July 2012 22:48 Go to previous message
alain a2hami is currently offline alain a2hamiFriend
Messages: 1
Registered: July 2012
Junior Member
Abdeltif, did you find a solution ?
Previous Topic:How to ad commands to views with specific secondary view id
Next Topic:ISelectionChangedListener to find the previous selection
Goto Forum:
  


Current Time: Mon Mar 04 12:52:34 GMT 2024

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

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

Back to the top