Stephan Druskat | 29 Jul 11:18 2015
Picon
Picon

Wrapped OSGi app in Eclipse RCP runs with org.eclipse.equinox.ds 1.2.1 and 1.4.1, but not with 1.3.1

Dear Equinox Developers,

I'm experiencing an issue related to org.eclipse.equinox.ds (DS),
described below at the risk of outing myself as the newbie I am.

I develop an Eclipse RCP application, based on RCP 3.7.2. This app (A)
also includes a third-party pure OSGi app (B), wrapped in an Eclipse
Feature to make it usable from within app (A).

I got it to run just fine with a setup of RCP Feature 3.7.2, DS 1.3.1,
app (B) 1.x.

Now the developers of app (B) have released version 2 of their app, with
a change in bundle structure, API, etc. They're also pulling in deps
from their POMs directly (good on them). I've updated my Eclipse Feature
wrapping the new version, and updated my RCP app (A) to use this new
feature. All of a sudden, however, app (B) doesn't run from within my
RCP app (A) anymore. Stack trace excerpts given below. Please note that
I had to add org.osgi.service.component to the target platform to
satisfy app (B)'s dependencies.

As I know the (B) devs well, I've asked them to check and it turns out
that app (B) runs fine with DS 1.2.1 and 1.4.1, but not with 1.3.1.

I've also done a brute-force update of RCP app (A) to the Juno Platform,
which uses DS 1.4.1, and it runs just fine from there. For other reasons
though, I cannot switch to a higher RCP version just now, so I'd like to
be able to run app (B) from within my 3.7.2-based app (A).

Hence my questions:
(Continue reading)

EDUARD MEDLA | 27 Jul 11:26 2015

junit

Hi, I am a quite new use of Eclipse. In our company, we want to automate installing plugins to eclipse via command line p2.director. My problem and ask on you is, how to do it, because many features from update site https://projects.eclipse.org/projects/technology.swtbot/releases/2.3.0/plan I just cant install. First I need junit 0.0.0 or junit.runner or junit Framework or some pde or jdt files. I am trying to find some update site where I can download these things, but I can find it or it doesn’t work for me. Can you please help me how to figure it out?

 

Thank you

E. Medla

<div>
<div class="WordSection1">
<p class="MsoNormal">Hi, I am a quite new use of Eclipse. In our company, we want to automate installing plugins to eclipse via command line p2.director. My problem and ask on you is, how to do it, because many features from update site
<a href="https://projects.eclipse.org/projects/technology.swtbot/releases/2.3.0/plan">
https://projects.eclipse.org/projects/technology.swtbot/releases/2.3.0/plan</a> I just cant install. First I need junit 0.0.0 or junit.runner or junit Framework or some pde or jdt files. I am trying to find some update site where I can download these things,
 but I can find it or it doesn&rsquo;t work for me. Can you please help me how to figure it out?<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Thank you<p></p></p>
<p class="MsoNormal">E. Medla<p></p></p>
</div>
</div>
Christian Pontesegger | 23 Jul 11:13 2015
Picon

Uninstall feature problem

Hi,

I am facing some strange behavior when uninstalling a feature and would 
like to ask if I miss something here or if this is a bug:

For my custom RCP I provide some add-on features that users install 
using a zip package. The zip provides a full update site using features.
Installation works fine, but now some users sadly want to uninstall such 
features, too.

When uninstalling from Installation Details/Installed Software, the 
entry gets discarded. Unfortunately all jars in the plugins folder 
remain. Even worse: extension point implementations of such plugins 
remain visible and working in my RCP, even after a restart.

Same applies if I use the Installation History and try to revert to a 
previous version. Even deleting versions there does not help.

How can one cleanly uninstall a feature?

thanks
Christian
Raymond Auge | 22 Jul 22:44 2015

Servlet 3.1 portal java contracts JavaServlet bundle

Anyone here can help with this question?

https://dev.eclipse.org/mhonarc/lists/orbit-dev/msg04189.html

Basically, I'm asking if it would be possible to make the orbit servlet 3.1 API jar provide the JavaServlet contract.

--
Raymond Augé ( <at> rotty3000)
Senior Software Architect Liferay, Inc. ( <at> Liferay)
Board Member & EEG Co-Chair, OSGi Alliance ( <at> OSGiAlliance)
<div><div dir="ltr">
<div>Anyone here can help with this question?<br><br><a href="https://dev.eclipse.org/mhonarc/lists/orbit-dev/msg04189.html">https://dev.eclipse.org/mhonarc/lists/orbit-dev/msg04189.html</a><br><br>
</div>Basically, I'm asking if it would be possible to make the orbit servlet 3.1 API jar provide the JavaServlet contract.<br><div><div>
<br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">
<span><a href="http://www.liferay.com/web/raymond.auge/profile" target="_blank">Raymond Aug&eacute;</a>&nbsp;( <at> rotty3000)</span><div>
<span>Senior Software Architect&nbsp;</span><a href="http://www.liferay.com" target="_blank">Liferay, Inc.</a><span>&nbsp;( <at> Liferay)</span>
</div>Board Member &amp; EEG Co-Chair, <a href="http://osgi.org" target="_blank">OSGi Alliance</a> ( <at> OSGiAlliance)</div></div></div></div>
</div></div>
</div></div>
Benson Margulies | 20 Jul 20:33 2015

What's special about the felix bundles in the mars distro

If I substitute plain vanilla Apache Felix gogo bundles for version
0.10.0 for the bundles included in mars, the shell does not start
properly. It gets a g! prompt and complains that the commands bundle
has not been started.

Is there a way to set up config.ini so that I can drop in the Felix
gogo bundles? I'd like to experiment with using newer versions.
Benson Margulies | 16 Jul 19:11 2015

What version of the OSGi stock framework jar corresponds to equinox 3.10.0-v20140606-1445?

I have ended up with a classpath that contains both the version of
equinox in the subject and also version 5.0.0 of the OSGi core API
jar, and I get stomped on by an incompatibility. It's somewhat
difficult to avoid this state of affairs; can you clue me in on what
version of the OSGi core I need to avoid trouble?
Mads Mætzke Tandrup | 16 Jul 13:32 2015
Picon

Please review my gerrit change set 30030

Hi all

Tomorrow is the 1 year anniversary for my gerrit change: https://git.eclipse.org/r/#/c/30030/

It's still open. What I can I do to move it forward?

Best regards,
Mads Tandrup
<div><div dir="ltr">
<span>Hi all</span><div><br></div>
<div>Tomorrow is the 1 year anniversary for my gerrit change:&nbsp;<a href="https://git.eclipse.org/r/#/c/30030/" target="_blank">https://git.eclipse.org/r/#/c/30030/</a>
</div>
<div><br></div>
<div>It's still open. What I can I do to move it forward?</div>
<div><br></div>
<div>Best regards,</div>
<div>Mads Tandrup</div>
</div></div>
Daniel Megert | 14 Jul 12:44 2015
Picon

Update API Baseline

Please don't forget to update the API Baseline (Window > Preferences > Plug-in Development > API Baselines) in all your development workspaces:

4.5.1 development needs 4.5 as baseline
4.6 development needs 4.5 as baseline

Thanks for your cooperation!
Dani
<div>Please don't forget to update the API Baseline
(Window &gt; Preferences &gt; Plug-in Development &gt; API Baselines) in
all your development workspaces:
<br><br>4.5.1 development needs 4.5 as baseline
<br>4.6 development needs 4.5 as baseline
<br><br>Thanks for your cooperation!
<br>Dani</div>
Benson Margulies | 9 Jul 19:30 2015

Can I get logging corresponding to 'diag'?

When I make a mistake in a manifest, and a bundle has unresolvable dependencies, the error message logged is not detailed. (For comparison purposes, felix will log the whole story.) The shell command does not help me; the situation is failing pax-exam tests, and while I could load up in the shell, I'd rather just get the sad story when the test fails.

<div><div dir="ltr">When I make a mistake in a manifest, and a bundle has unresolvable dependencies, the error message logged is not detailed. (For comparison purposes, felix will log the whole story.) The shell command does not help me; the situation is failing pax-exam tests, and while I could load up in the shell, I'd rather just get the sad story when the test fails.<div><br></div>
</div></div>
Raymond Auge | 6 Jul 16:52 2015

script for building subset of platform releng

Hey All,

I've been maintaining a bash script for building a subset of platform that I'm interested in.

Since the platform build doesn't build dependent pieces needed for tests this was becoming a pain to keep track of. The script allows to easily build only what I need and then run the maven integration tests on http.servlet

Also, since I've had to show a few people how to do build this in an attempt to attract collaborators, I decided clean up the script and link it here in case anyone else wanted to adapt it to their needs.

Once the script is run you can assure all the dependencies are in place and you can just run the tests themselves, however you can also use the script after updating the repos to rebuild all the parts.
Cheers,
--
Raymond Augé ( <at> rotty3000)
Senior Software Architect Liferay, Inc. ( <at> Liferay)
Board Member & EEG Co-Chair, OSGi Alliance ( <at> OSGiAlliance)
<div><div dir="ltr">
<div>
<div>
<div>Hey All,<br><br>
</div>I've been maintaining a bash script for building a subset of platform that I'm interested in.<br><br>
</div>Since the platform build doesn't build dependent pieces needed for tests this was becoming a pain to keep track of. The script allows to easily build only what I need and then run the maven integration tests on http.servlet <br><br>
</div>Also, since I've had to show a few people how to do build this in an attempt to attract collaborators, I decided clean up the script and link it here in case anyone else wanted to adapt it to their needs.<br><br>Once the script is run you can assure all the dependencies are in 
place and you can just run the tests themselves, however you can also 
use the script after updating the repos to rebuild all the parts.<br clear="all"><div><div><div>
<div>
<br><a href="https://gist.github.com/rotty3000/6aef210cef56bd8e19fe">https://gist.github.com/rotty3000/6aef210cef56bd8e19fe</a><br><br>
</div>
<div>Cheers,<br>
</div>
<div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">
<span><a href="http://www.liferay.com/web/raymond.auge/profile" target="_blank">Raymond Aug&eacute;</a>&nbsp;( <at> rotty3000)</span><div>
<span>Senior Software Architect&nbsp;</span><a href="http://www.liferay.com" target="_blank">Liferay, Inc.</a><span>&nbsp;( <at> Liferay)</span>
</div>Board Member &amp; EEG Co-Chair, <a href="http://osgi.org" target="_blank">OSGi Alliance</a> ( <at> OSGiAlliance)</div></div></div></div>
</div>
</div></div></div>
</div></div>
Christian Schneider | 3 Jul 12:34 2015
Picon

Getting equinox artifacts using maven

I am currently helping Scott Lewis to bring ECF to Apache Karaf.

Our biggest problem with this is that ECF needs a bunch of equinox 
bundles that are not available in maven central.
See this 
http://download.eclipse.org/rt/ecf/3.10.0/site.p2/karaf4-min-features.xml

At the moment we use http urls to be able to get at least started. These 
urls are not really good for people inside bigger companies though.
Often these companies do not allow direct access to the internet even 
for developers and especially for production machines. So accessing the 
urls is not possible.
Additionally they are not cached like mvn urls. So every clean startup 
of karaf hits the p2 repo server again.

It also makes it very hard for people to use these artifacts in non 
tycho builds which are very common outside the eclipse world.

I have noticed that eclipse already hosts several maven repositories for 
other projects. Would it be possible to also deploy equinox bundles into 
such a repository or even better into maven central?

At apache this is very convenient. We have a nexus server at apache and 
the project poms are set up to deploy their for snapshots and releases 
there. Releases go to a staging repo automatically and after the vote 
you just need to press a publish button and the artifacts go to maven 
central.

I am pretty sure we can organize to help with this if eclipse would be 
interested to also get such a setup.

The collaboration between eclipse projects and apache projects is still 
quite slim unfortunately. I think one big reason for this is the 
separate repository systems that make it very difficult to use projects 
from each other. So I think tackling this problem would help a lot to 
improve collaboration.

I have read in another thread that this would be a "complicated" 
problem. Unfortunately there is no further information what the 
obstacles are. I spoke to quite some people at eclipse about this and 
they are all quite interested in maven deployments. So I think at the 
minimum there should be an open discussion so people understand where we 
are with this. Is there some place maybe on bugzilla where I can read 
into what was discussed about this?

Christian

--

-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com


Gmane