Maven Bundle Plugin and tests

2011-01-14 Thread Simon
them (and ideally as a Surefire provider)? If there isn't, does anyone else believe it would make sense? Cheers, Simon Chemouil

Re: Maven Bundle Plugin and tests

2011-01-18 Thread Simon
of that together (I don't know much about writing Maven plugins). Anyway, as I really need this quickly, I already started investigating and I'm going to do it and add the feature to the maven-bundle-plugin. If I can make it work, I'll submit a patch. Cheers, Simon On Tue, Jan 18

Security Conditions not working on Java 1.8

2016-01-08 Thread Simon
Hello, I have done my tests on the Java runtimes; "1.7.0_71" and "1.8.0_25", and Felix "felix-framework-5.4.0". I have enabled security by adding "org.apache.felix.framework.security-2.4.0" to the bundle directory. I have then created three projects; "p1-check", "p1-policy" and the offending bundl

Re: Security Conditions not working on Java 1.8

2016-01-11 Thread Simon
Hi Karl, You are right. With another permission it works. I created another bundle "p1-evil-fs". The /Activator/ of this bundle lists all files in current directory. I changed the rule in "security.policy" as follows: / DENY { [com.p1.check.MyCheck] ( java.io.FilePermission "-" "read" ) } "My

Re: Security Conditions not working on Java 1.8

2016-01-11 Thread Simon
I have created jira issue FELIX-5162 . (Please note I cannot set assignee). I have set priority to "minor" as there is a work around (run on java7). I am not sure I understand what you mean by "_grant_ SocketPermission in java8". The security.po

Is instance based security possible?

2016-02-05 Thread Simon
>From my understanding OSGi security i.e. tow instance of the same class MyClass which is part of bundle MyBundle share the same security conditions defined for bundle MyBundle. So if I have the following: [code] MyClass a = new MyClass("dirA"); MyClass b = new MyClass("dirB"); [/code] These t

File upload

2007-12-05 Thread Simon GAUTHERAT
s in advance to help me Best Regards Simon

Re: File upload

2007-12-06 Thread Simon GAUTHERAT
create bundle object: java.lang.Il legalArgumentException: Missing 'specification-version' parameter. Can Somebody say me how to load commons-upload and commons-io Bundles into Oscar ? Thanks Simon 2007/12/5, Simon GAUTHERAT <[EMAIL PROTECTED]>: > > Hello Everybody &g

Unresolved constraint that exists within a bundle

2008-10-07 Thread Simon MaticLangford
java:267) at java.lang.Thread.run(Thread.java:619) If anyone has any ideas what I can do it would be greatly appreciated. Thanks Simon Simon Matić Langford www.betfair.com <http://www.betfair.com/> Waterfront | Hammersmith Embankment | Chancellors Road | L

Re: XMLParserActivator

2011-02-12 Thread Simon Chemouil
rry or Blueprint). > The only thing I get when searching the web is either about Equinox or > JavaDoc for the XMLParserActivator. The JavaDoc is pretty much all you need once you get why it's there :). HTH, Simon - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: $(maven-symbolicname) property not working in maven bnd plugin

2011-02-25 Thread Simon Chemouil
Hi, $(maven-symbolicname) is computed by maven-bundle-plugin so it's available only in phases where the plugin is active (e.g, package). Hope this helps, Simon On Fri, Feb 25, 2011 at 5:46 PM, Raja Kannappan wrote: > I tried all possible combinations - $(maven-symbolicname), &

Re: Dependency on javax.naming.Referenceable

2011-02-28 Thread Simon Chemouil
et an error when installing the bundle instead of a runtime error). Hope this helps, Simon On Mon, Feb 28, 2011 at 12:11 PM, Filip Nguyen wrote: > Hello, > I am begining to use Apache felix. I have problem that one of my bundles > wants to access MQ. I use ActiveMQ jars to do this (I pack

Re: NoClassDefFoundError when embedding felix

2011-04-04 Thread Simon Chemouil
.test, org.apache.commons.lang HTH, PS: I don't really get why you refactored DictionaryService into another Service interface. Sounds useless to me. Simon On Mon, Apr 4, 2011 at 4:00 PM, wrote: > OK, so my colleague seems to have a resolution; > > 1. We have separated the packages of

Re: Alternative to Tycho using Felix

2011-04-14 Thread Simon Chemouil
bundles, the Felix runtime and scripts. You can even set the appropriate permissions (e.g, the executable bit) when you generate your assembly. Tycho is about having PDE projects build in Maven. HTH, Simon 2011/4/14 Benoît Thiébault : > Hi everyone, > > I am currently working on a projec

Replacing -SNAPSHOT in version strings

2011-10-31 Thread Simon Goodall
do this in the bundle plugin. https://github.com/eclipse/tycho/blob/f8e40e7a4f9a344c0728e4b29ce75e277ddb588d/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java Regards, Simon -- Simon Goodall Minimax Labs Ltd, a company registered in England and Wales, regi

Generating Source bundles for eclipse

2011-10-31 Thread Simon Goodall
maven bundle plugin into the source jar creation - or is it possible to expose this information as properties which can be accessed in the pom? Regards, Simon -- Simon Goodall Minimax Labs Ltd, a company registered in England and Wales, registration number 07193685, registered office: Office 4

Re: Generating Source bundles for eclipse

2011-11-08 Thread Simon Goodall
that the sources will appear inside the same bundle. I am trying to create a separate source bundle. Thanks, Simon On 31 October 2011 13:11, Peter Kriens wrote: > Just put -sources in the bnd file. This will put your sources in the JAR at > OSGI-INF, eclipse will recognize this. > &

Re: Generating Source bundles for eclipse

2011-11-08 Thread Simon Goodall
On 8 November 2011 13:58, Stuart McCulloch wrote: > On 8 Nov 2011, at 13:43, Simon Goodall wrote: > >> Hi, >> >> I tried adding <_sources> (and a <_sourcepath>) to my >> section of my pom.xml and also to a bnd.bnd file with <_include>. >> Un

Re: Same package from different bundles

2011-12-08 Thread Simon Chemouil
sion="[1,2)",B;bundle-version="[1,2)". The Import-Package header is usually preferred but with split packages it will only bind to either A or B and not both. Another solution would be to create a new bundle that aggregates A and B (it can be automa

Re: Can't find SCR commands in Gogo

2012-04-06 Thread Simon Chemouil
Hi Peter, Gogo commands for Felix SCR were added in 1.6.2 (not released). You're using 1.6.0, so to use them you will have to use the old Felix shell. You will have to get SCR from trunk to use the shell commands in Gogo. Simon On Fri, Apr 6, 2012 at 9:23 AM, Peter Nerg wrote: > >

iPojo's next release?

2012-09-07 Thread Simon Chemouil
t for a release with the fix. We're not really in a hurry, but curious to know whether we should wait using a previous version, or wait for the next, or make a private release. Or maybe there could be a release only for this fix, and the remaining open bugs deferred to the next one?

Deadlock while calling "Toolkit.getDefaultToolkit()" in an OSGi environment

2010-04-12 Thread simon . eiersbrock
hronized(this) { notifyAll(); } if (startPump) { eventLoop(); // will Dispose Toolkit when shutdown hook executes } } [..] Mit freundlichen Grüßen Simon Eiersbrock Software Engineer ISR Information Products AG Hafenweg 14 D-48155 Muenster mailto:simon.eiersbr...@isr.de Tel: +49 (0)251-9 24 34-203

Antwort: Re: Deadlock while calling "Toolkit.getDefaultToolkit()" in an OSGi environment

2010-04-27 Thread simon . eiersbrock
Richard, you're my hero :-) This is exactly the problem. I use now the workaround which is described in the sun bug database and it works very well. Thank you very much! bye, Simon "Richard S. Hall" schrieb am 12.04.2010 16:47:39: > Von: > > "Richard

Re: Getting Started with iPOJO

2012-10-12 Thread Simon Chemouil
tion using Maven's Eclipse environment (M2E). HTH, Simon On Fri, Oct 12, 2012 at 2:17 PM, Cook, Michael J. (OCTO) wrote: > Sorry... I forgot to add back in the annotations in my Impl class. I just > did and repackaged. Please disregard the previous manifest. > > > &g

Re: Getting Started with iPOJO

2012-10-12 Thread Simon Chemouil
ime we are following the trunk version. I suggest you take a look at iPojo's JIRA if you encounter a bug during the build in the maven-ipojo-plugin: if the bugs are marked as fix you will either have to build your own local copy of iPojo (1.9.0-SNAPSHOT) or wait for a release. HTH, Simon On Fri,

Creating annotated components programmatically with iPojo API

2012-11-08 Thread Simon Chemouil
ustom handlers processing custom annotations! Is there any way to get this working? Pointers will be much appreciated! Thanks, -- Simon - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional

Re: Creating annotated components programmatically with iPojo API

2012-11-09 Thread Simon Chemouil
only "my code" to be allowed to create new instances. I was hoping for a solution in iPojo for this :). Is there any way to achieve this, as in getting the factory programmatically for an already annotated components from a separate bundle without exposing it as an OSGi service? :-) Thanks f

iPojo with M2Eclipse

2012-11-09 Thread Simon Chemouil
Pojo BND plugin in the BND configuration, and acting accordingly). Is there a solution somewhere, or should I have a go at it? Thanks! -- Simon [1] http://markmail.org/message/eub2l3edkveauws6#query:+page:1+mid:b3lau7ntwrgdyna2+state:results [2] http://markmail.org/message/eub2l3edkve

Re: iPojo with M2Eclipse

2012-12-04 Thread Simon Chemouil
jo Eclipse Builder :). Let me know what you think and how we can merge it upstream. Cheers, Simon - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Bnd Ipojo Plugin, Ipojo Extension modules, and Maven

2014-10-17 Thread Simon Chemouil
re all OSGi projects with only a 2-liner maven-bundle-plugin build declaration, whether it's iPojo or DS. I suspect the culprit is in the Bnd Ipojo Module, but an early look at the code didn't give a clear reason why. Any p

Re: Bnd Ipojo Plugin, Ipojo Extension modules, and Maven

2014-10-20 Thread Simon Chemouil
ul that BND always generate an osgi.ee entry in Require-Capability, so iPOJO must somehow add to it rather than replace it. Once again, I can open a bug, and I can contribute the patch if given the right pointers. Cheers, Simon Le 17/10/2014 22:07, Guillaume Sauthier (OW2) a écrit : > It’

DependencyManager and bundle-private components

2015-05-21 Thread Simon Kitching
ot for external use. Yet as far as I can see, in order to manage them with DS or DM, such internal objects need to be published into the global service registry - just to be able to then inject them back into components in the same bundle. Have I misunderstood somet

Re: DependencyManager and bundle-private components

2015-05-22 Thread Simon Kitching
d then look first in the per-bundle registry before looking in the global one. For DM, something similar could be done with: createComponent().setInterface("..", Scope.LOCAL) Maybe another solution is to take advantage of felix-dm's ability to define "dependency handlers"

Re: DependencyManager and bundle-private components

2015-05-26 Thread Simon Kitching
rvice with that property visible (get-permission) only to the bundle that published it. That solves the "privacy" issue, though possibly has performance implications. Thanks to all for your feedback. Regards, Simon On 22 mei 2015, at 10:12, Simon Kitching wrote: Thanks Pierre and Neil

Re: Newbie question related to device communication

2015-06-01 Thread Simon Kitching
with a traditional java classpath, but more difficult under OSGi for obvious reasons. Regards, Simon On 05/31/2015 06:22 PM, Sebastiaan la Fleur wrote: Remote Services and Remote Service Admin were indeed the terms I was looking for. Thanks Neil! 2015-05-30 13:55 GMT+02:00 Sebastiaan la

Re: Newbie question related to device communication

2015-06-02 Thread Simon Kitching
tribution_Provider_Configuration_Options * https://wiki.eclipse.org/Comparison_of_Discovery_and_Distribution_Providers but neither of those pages are very useful. In particular, "r-osgi" and "ecf generic" are not described in any way. Thanks, Simon On 06/01/2015 06:

Re: Newbie question related to device communication

2015-06-03 Thread Simon Kitching
it useful: http://moi.vonos.net/java/dosgi-fabric/ I've just added a link from that article back to this thread for future reference. Regards, Simon - To unsubscribe, e-mail: users-unsubscr...@felix.apache.or

OBR vs Maven

2015-06-04 Thread Simon Kitching
Hi All, Can anyone provide me with a link to a comparison of OBR and Maven? I can find reasonable amounts of information about what OBR does, but nothing about the motivation to create it given that Maven already existed... Thanks, Simon

Re: OBR vs Maven

2015-06-04 Thread Simon Kitching
e never understood why that is useful. The karaf-cave website describes what it does (how OBR works) but doesn't have any information about what advantages OBR-style dependencies have over Maven-style dependencies, which is what I was hoping to find. Thanks, Simon On 06/04/2015 08:32 PM, Je

Re: OBR vs Maven

2015-06-04 Thread Simon Kitching
sing class-files is much easier - but that requires the code to be _compiled_ first, which means figuring out which jarfiles to include on the compilation-classpath, which seems to me to be a circular problem :-) Regards, Simon On 06/04/2015 08:33 PM, Raymond Auge wrote: On Thu, Jun 4, 2015

Re: OBR vs Maven

2015-06-17 Thread Simon Kitching
y good example of the advantage of depending on package rather than artifact. Thanks. Thanks also to others that have contributed to this thread (including the fork about compile-time dependencies). Regards, Simon - To unsub

Maven-bundle-plugin > 2.5.3 and Ipojo Maven Plugin

2015-09-23 Thread Simon Chemouil
ug? :-) I will test using the staged mbp 3.0.0 to see if the bug is still there in case a quick fix is possible before the release. Thanks, Simon - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional comma

Re: Maven-bundle-plugin > 2.5.3 and Ipojo Maven Plugin

2015-09-23 Thread Simon Chemouil
Well, it works just fine with the staged version mbp 3.0.0. Should have started there :-) Cheers, Simon Le 23/09/2015 11:26, Simon Chemouil a écrit : > Hi, > > Since version 2.5.4, maven-bundle-plugin has changed its behaviour and > using the ipojo-maven-plugin with it doesn&#x

Re: [SCR] Selecting services without giving a service interface

2016-04-08 Thread Simon Chemouil
rate the pattern. I understand the KISS camp is urging for an opinionated 80/20 approach, but this is a very small update that would allow a bunch of new cool stuff. :) Cheers, Simon Le 08/04/2016 11:32, Neil Bartlett a écrit : > Hi Jens, > > Can you clarify please… are you saying that

Re: [SCR] Selecting services without giving a service interface

2016-04-08 Thread Simon Chemouil
ith the support on DS side, unassignable service objects would not be "in-use" by the said component, and the reference method would look like: @Reference(ignoreInterface = true, target="(foo=*)") public void setFoo(FooProvider myFoo) { // actually do something } Basically, just relaxin

Aspecio, an aspect framework for OSGi r6

2016-05-20 Thread Simon Chemouil
ithub.com/aspecio [2] http://lambdacube.github.io/aspecio/javadoc/ [3] https://www.eclipsecon.org/europe2016/session/aspecio-aspect-oriented-programming-meets-osgi-service-model -- Simon - To unsubscribe, e-mail: users-unsu

Re: Silently failing declarative services?

2016-08-01 Thread Simon Chemouil
tion of Metatype and of the LogService when you use Felix SCR, since it will complain (but not fail) the former is missing, and uses the latter for logging. HTH, Simon - To unsubscribe, e-mail: users-unsubscr...@felix.apache.or

Default reference policy option 'reluctant' stops new service being bound

2018-12-20 Thread Jasper Simon
Hi, I’ve been trying to get my osgi component A bound to another component B. B already has a component C of that service bound to it, with default service ranking 0. For this reference in A, the policy option is reluctant. B and C are in same bundle, A is in another bundle with a higher start

Re: Default reference policy option 'reluctant' stops new service being bound

2018-12-20 Thread Jasper Simon
> > Your terminology is confused which makes this very hard to follow. > Hopefully I have interpreted correctly, see my actual answer below. > > On Thu, Dec 20, 2018 at 9:12 AM Jasper Simon wrote: > >> Hi, >> >> I’ve been trying to get my osgi component A bound to a

Re: Default reference policy option 'reluctant' stops new service being bound

2018-12-20 Thread Jasper Simon
purpose of service rankings in some way. Kind regards, Jasper > On 20 Dec 2018, at 11:42, Neil Bartlett wrote: > > On Thu, Dec 20, 2018 at 10:18 AM Jasper Simon <mailto:jasperxsi...@gmail.com>> > wrote: > >> Hi Neil, >> >> Please excuse my confusing t