Re: Setting the Gogo shell to UTF-8?

2022-09-16 Thread David Leangen (OSGi)
Hey, thanks Raymond. > If I had to guess it would have to do with processing pure bytes without > considering encoding and hence multi-byte characters. > > I'd be willing to guess that's a fundamental implementation flaw > potentially down to the telnet protocol itself. H. In that case,

Setting the Gogo shell to UTF-8?

2022-09-15 Thread David Leangen (OSGi)
Hi! I am having trouble using UTF-8 characters with the Gogo Shell. I have implemented a command “register” that takes a string argument. I try to run it like this: g! register 何か漢字で書いてる言葉 The string gets parsed as "何か漢字で書いてる言葉” instead of “何か漢字で書いてる言葉”. Not even sure

Re: Felix Useradmin as service factory

2018-03-11 Thread David Leangen
t's very heavyweight if all you want is multiple copies > of a single service. > > Neil > > On Tue, Feb 13, 2018 at 11:13 AM, David Leangen <o...@leangen.net> wrote: > >> >> Hi! >> >> Although my question is probably a more general OSGi qu

Felix Useradmin as service factory

2018-02-13 Thread David Leangen
Hi! Although my question is probably a more general OSGi question, I thought I would try here first, as it is related to the Felix Useradmin… I intend to use multiple instances of the Useradmin. The reason is because I want to host multiple (small) enterprise customers in one installation,

Re: Creating a "partial" OBR

2017-10-08 Thread David Leangen
Ok, it’s working now. I had the same problem as described in this issue: https://github.com/bndtools/bnd/issues/1142 <https://github.com/bndtools/bnd/issues/1142> Thanks again!! Cheers, =David > On Oct 9, 2017, at 11:52 AM, David Leangen <o...@leangen.net> wrote: >

Re: Creating a "partial" OBR

2017-10-08 Thread David Leangen
>>> On Oct 8, 2017 6:39 AM, "Jean-Baptiste Onofré" >> > wrote: >>> >>> I guess the repository.xml is updated by the maven-bundle-plugin right (in >>> your .m2/repository) ? Hi JB. It looks like the repository.xml file is not created / updated. I’ll

Creating a "partial" OBR

2017-10-07 Thread David Leangen
Hi! I have a few felix projects that I have patched and would like to test, but I need to create an OBR containing just those projects. I am a bit stumped as to how to go about it, though. Specifically, there are 3 projects: * converter/converter * converter/serializer *

Re: API baselining with maven-bundle-plugin

2017-06-23 Thread David Leangen
I was having a similar problem, but I resolved it a bit differently. I don’t use Maven, but the way I resolved this was to enforce this behaviour on my Nexus repository. So, when I release from the CI server to the remote repo, bnd does not care. If the artefact already exists, it just doesn’t

Re: API baselining with maven-bundle-plugin

2017-06-22 Thread David Leangen
Hi Justin, > On Jun 23, 2017, at 4:11 AM, Justin Edelson wrote: > > So in that case, does the timestamp qualifier get automatically added on > every build? Documentation pointers welcome :) Warning: I am not so familiar with Maven... The version number depends on

Re: Use of DTO's in felix

2016-08-18 Thread David Leangen
My advice: just think of it as “dumb” data, nothing else. If you need to ensure invariants, create some kind of wrapper around it. My thought is that the domain object would wrap the DTO, and the DTO is only holding the state. Only the domain object, which understands the invariants and

Re: Felix ResolveContext

2015-11-19 Thread David Leangen
Hi Richard, Ok, thanks. Cheers, =David On Nov 19, 2015, at 10:07 PM, Richard S. Hall <he...@ungoverned.org> wrote: > > On 11/18/15 21:08 , David Leangen wrote: >> Hi! >> >> If I want to use the Felix Resolver, I need a ResolveContext. I noticed that >&

Felix ResolveContext

2015-11-18 Thread David Leangen
Hi! If I want to use the Felix Resolver, I need a ResolveContext. I noticed that Felix has one, but it is private. How could I get an instance of the Felix ResolveContext so that I may use the Resolve service? Cheers, =David

[SCR] Configuration does not get applied to component

2015-10-30 Thread David Leangen
Hi! I am having a blocking issue with SCR, I believe related to this thread on the bndtools list: https://groups.google.com/forum/#!topic/bndtools-users/iClisFYreDI This time, even if I reorder to put SCR on the top of my

Re: [SCR] Obtaining component configuration

2015-09-18 Thread David Leangen
> On Sep 18, 2015, at 3:26 PM, Felix Meschberger <fmesc...@adobe.com> wrote: > > Hi David > >> Am 17.09.2015 um 11:29 schrieb David Leangen <o...@leangen.net>: >> >> >> Hi! >> >> Using Felix SCR… > > I think this is related to

Re: [SCR] Obtaining component configuration

2015-09-18 Thread David Leangen
Hi Felix, Thanks for the reply. More info below. >> So then, what is the right way to obtain the existing properties of a >> component (other than the ones I just set)? I was not successful when >> digging around the spec to find the answer. > > But, as BJ on bndtools notes, if you are just

[SCR] Obtaining component configuration

2015-09-17 Thread David Leangen
Hi! Using Felix SCR... I am trying to obtain a component’s properties object by: ConfigurationAdmin cm = {obtain the cm} Configuration componentConfig = cm.getConfiguration( componentPid ); componentConfig.getProperties(); I can confirm that I am getting the correct Configuration object

Re: How to 'let the dust settle' with DS?

2015-09-07 Thread David Leangen
Hi Neil, This got my attention: > I have also said many times that people shouldn’t be using FileInstall in > production systems. I must have missed the references you are referring to. Can you elaborate, or perhaps point me to some references? What _would_ be the “right" way to configure

Heap Dump Warning

2010-07-21 Thread David Leangen
Hi, I have been getting these errors lately. Is anybody able to tell me exactly what they mean? I don't know if I should be concerned or not... Thanks! =David 2010-07-22 14:17:54,532 [Low Memory Detector] WARN org.apache.felix.webconsole.plugins.memoryusage.internal.MemoryUsageSupport -

Re: XStream and OSGi

2009-08-17 Thread David Leangen
I am also using XStream successfully in OSGi. The problem is the classic deserialization issue. Since there is not yet any standardized solution to this (what seems to me to be a) common problem, I just made my own temporary solution. For any bundle that needs to provide class

Re: What UserAdmin do you use?

2009-07-08 Thread David Leangen
. D. I'm just too busy to answer. Cheers, =David On Jun 19, 2009, at 7:44 AM, David Leangen wrote: Hello! What are people using for their UserAdmin implementation these days? Currently, I am using an old impl from KF, but it is not satisfactory for my needs. I require a UserAdmin

Re: OSGI-INF generated by maven-bundle-plugin 2.0.0

2009-04-30 Thread David Leangen
Did you read the bundleplugin FAQ? (http://tinyurl.com/bundleplugin-faq ) ...specifically: http://tinyurl.com/dxpt8w which explains why your Private-Package: * is sucking in everything on the classpath As usual, right on the mark! I totally misunderstood, and had Private-Package: *

Resolution of embedded dependencies during compilation

2009-04-29 Thread David Leangen
Hi, I just updated to maven-bundle-plugin 2.0.0. It appears that there have been a few changes to the way things compile, and I'm just discovering many interesting things in my own projects. This is of course a good thing, as it's bringing out many erroneous interpretations I made

Re: Resolution of embedded dependencies during compilation

2009-04-29 Thread David Leangen
/src/main/ java/com/bioscene/lsd/model/impl/TranslationImpl.java:[7,1] cannot find symbol symbol: class Immutable @Immutable I'll try inlining to see what happens... =David On Apr 29, 2009, at 3:11 PM, Stuart McCulloch wrote: 2009/4/29 David Leangen o...@leangen.net Hi, I just

Re: Resolution of embedded dependencies during compilation

2009-04-29 Thread David Leangen
Once again, many thanks! I'll try inlining to see what happens... That worked, and is sufficient for now. ( FYI, this is also another thing the maven-pax-plugin lifecycle helps out with, as it modifies the compilation phase to support compilation against embedded jars - however, this

OSGI-INF generated by maven-bundle-plugin 2.0.0

2009-04-26 Thread David Leangen
Hello! I just updated to maven-bundle-plugin v. 2.0.0. As always, very nice work! Question: it appears that now an OSGI-INF directory is being created in some projects, with some contents in it, that is not necessary. I'm wondering why this may be... I didn't happen to see any docs

Re: OSGI-INF generated by maven-bundle-plugin 2.0.0

2009-04-26 Thread David Leangen
Question: it appears that now an OSGI-INF directory is being created in some projects, with some contents in it, that is not necessary. I'm wondering why this may be... I didn't happen to see any docs about this and I have not yet noticed a pattern. any pointers to exactly what sort of

RE: JPA and Felix - howto

2009-04-06 Thread David Leangen
My question then, Did anyone get a spring based OpenJPA application to work... Funny, I just finished my struggle and it's finally working for me. I suggest you check this out: http://scm.ops4j.org/browse/OPS4J/laboratory/users/efy/jpa It's a pax-openjpa project at ops4j. Still in the

Re: LDAP Filter code

2008-10-10 Thread David Leangen
Great, thank you, Stuart! One question below... I need to do some work with LDAP queries and filters, so I'm looking for a good open-source library that handles this. Hi David, are you looking for something that builds LDAP queries/filters or parses them? for

LDAP Filter code

2008-10-09 Thread David Leangen
Hello! I need to do some work with LDAP queries and filters, so I'm looking for a good open-source library that handles this. I know that Felix needs to handle this as well, so I was hoping that one of the devs could point out what you guys use for this. Thank you! =dml

Re: Setting up an OBR Repository

2007-09-13 Thread David Leangen
.osgi.org/Repository/BIndex The Felix OBR bundle is not able to generate the repository file. Greetings, Bart David Leangen wrote: Where can I find some doc that describes how to use Felix OBR to set up my own bundle repository? The doc explains how to link to existing repos

Setting up an OBR Repository

2007-09-12 Thread David Leangen
Where can I find some doc that describes how to use Felix OBR to set up my own bundle repository? The doc explains how to link to existing repos, but not how to create my own. Thanks! - To unsubscribe, e-mail: [EMAIL