[jira] [Commented] (FELIX-3171) felix src annotations : the future?
[ https://issues.apache.org/jira/browse/FELIX-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13509290#comment-13509290 ] Toni Menzel commented on FELIX-3171: I also just stumbled over this. Whats the status about making org.osgi.service.component.annotations.* annotations recognized in felix scr plugin ? felix src annotations : the future? --- Key: FELIX-3171 URL: https://issues.apache.org/jira/browse/FELIX-3171 Project: Felix Issue Type: Bug Reporter: Andrei Pozolotin can someone in the know please comment on the future of : 1) felix src annotations: http://felix.apache.org/site/scr-annotations.html 2) felix src annotations plugin: http://felix.apache.org/site/apache-felix-maven-scr-plugin.html in the context of RFC 0172 http://www.osgi.org/download/osgi-early-draft-2011-09.pdf ? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [VOTE] Release Felix maven-bundle-plugin version 2.3.6
Just: - ran script successfully (all good) - rebuilt and ran tests in Pax Exam using that bundle plugin. all good! So, +1 from here (non binding) Thanks a lot, Stuart !! Toni On Mon, Nov 28, 2011 at 6:31 PM, Stuart McCulloch mccu...@gmail.com wrote: Hi folks, We solved 17 issues in this release: https://issues.apache.org/jira/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+%3D+FELIX+AND+fixVersion+%3D+%22maven-bundle-plugin-2.3.6%22 There are still some outstanding issues: https://issues.apache.org/jira/browse/FELIX/component/12311143 Staging repository: https://repository.apache.org/content/repositories/orgapachefelix-264/ Maven site docs: http://svn.apache.org/repos/asf/felix/releases/maven-bundle-plugin-2.3.6/doc/site/index.html You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 264 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve this release [ ] -1 Veto this release (please provide specific comments) This vote will be open for 72 hours. -- Cheers, Stuart -- Toni Menzel Source http://tonimenzel.com
Re: [VOTE] framework 4.0.0 and related subproject releases
+1 not binding On Sep 26, 2011 9:21 PM, Karl Pauls karlpa...@gmail.com wrote: +1 regards, Karl On Sun, Sep 25, 2011 at 11:54 AM, Stuart McCulloch mccu...@gmail.com wrote: On Sep 22, 2011 4:48 PM, Karl Pauls karlpa...@gmail.com wrote: I would like to call a vote on the following subproject releases: framework 4.0.0 framework.security 2.0.0 main 4.0.0 main.distribution 4.0.0 gogo.command 0.12.0 Staging repositories: https://repository.apache.org/content/repositories/orgapachefelix-089/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 089 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) +1 -- Cheers, Stuart -- Karl Pauls karlpa...@gmail.com http://twitter.com/karlpauls http://www.linkedin.com/in/karlpauls https://profiles.google.com/karlpauls
Re: Bndtools based OSGi bundle marker project source code hosting address
Git is as distributed as it can be. If github does not work, any other reachable ssh server can server as a remote repo even without requiring extra (server) software. Also, there are other git (free for oss) hosters. For distributed work with non free internet connection (like you in China) there is no better thing than a distributed version control system. is it? just my 2cts. On Fri, May 6, 2011 at 3:54 PM, Peter Kriens peter.kri...@aqute.biz wrote: Google code is fine, weird that Github is bad in china. I would expect git to work a lot better than svn with a bad connection ... But I have no problem with Google code. Kind regards, Peter Kriens On 4 mei 2011, at 05:20, Tiger Gui wrote: Hi Peter, Due to bad internet service in China, i can hardly connected to Github web site, so i decided to host my project source code in Google Code web site first, and finished initial source code commit job, its address is here [1]. I do not know whether Apache can supply some SVN workspace for GSoC 2011 project, but it seems that Google code is the best place for me currently :-) [1] http://code.google.com/p/osgimaker/ -- Best Regards Tiger Gui [tigergui1...@gmail.com] -- Toni Menzel Source http://tonimenzel.com
Re: Bndtools based OSGi bundles maker project need feedback
um.. after checking out, am i supposed to find the logic in this CSV file and add values like i think they comply to the intrinsic logic ? Or is this just the data view of some web form i missed ? Toni On Thu, Apr 14, 2011 at 2:40 PM, Peter Kriens peter.kri...@aqute.bizwrote: The deadline is today btw so in this case there can be no procrastination ... :-) Kind regards, Peter Kriens On 14 apr 2011, at 09:29, Tiger Gui wrote: Hi all, These days, i was thinking about create a Bndtools based OSGi bundles maker project, it will help us to split complex Java project into OSGi bundles (modules), i have submited my project proposal here[1]. I have finished its demo on line here [2] and finished core analyse algorithm design job here[3]. Meanwhile, it is a brand new project, i want to hold it as a Google Summer of Code (GSoC)4] project, and Peter would like to mentor me( In fact, he has given me many good advises already), GSoC will select some *perfect* to support only, so if you guys are interested in this tool, may be you can give our project some support, apply to be a mentor member for Apache in GSoC melange system[4], and give my project some feedback or just leave some comments behind my project proposal [5], it will help us much :-) And it seems that there is a committer vote and score process for all the project proposals, all the support from you guys can help this tool to win. All Apache committer can register in GSoC system, so if you are interested, please give us some support, thank you very much :-) This is the GSoC mentor register steps: 1. open url [4], register as a mentor, you should supply a email address to register, and then you will get a *link_id*. 2. add your register email (in google melange system) address and the *link_id* in the file [6] https://svn.apache.org/repos/private/committers/GsocLinkId.txt, only Apache committer guys edit this file, you should supply your Apache account and password to export this file, edit it and then submit it. 3. if you do not use your Apache account (such as ***@apache.org) to register in Google melange system, you should also add your apache email the the email you used to register in Google melange system into the file [7] https://svn.apache.org/repos/private/committers/MailAlias.txt, this file also need you supply Apache account and password to edit it. 4. apply to be a mentor for Apache in GSoC melange system[4], wait for Apache admins to approve your apply(i think they will approve your application very soon). Once you are approved, you can find my proposal, leave some comments, particate in the final vote process or view the other interesting project proposal or try to mentor some project. [1] https://issues.apache.org/jira/browse/FELIX-2898 [2] http://code.google.com/p/osgimaker/wiki/Quick_Start [3] http://code.google.com/p/osgimaker/wiki/Project_analyse_algorithm_description [4] http://socghop.appspot.com [5] http://socghop.appspot.com/gsoc/proposal/review/google/gsoc2011/tigergui/1 [6] https://svn.apache.org/repos/private/committers/GsocLinkId.txt [7] https://svn.apache.org/repos/private/committers/MailAlias.txt -- Best Regards Tiger Gui [tigergui1...@gmail.com] -- *Toni Menzel - http://www.okidokiteam.com*
Re: [VOTE] Felix framework 3.2.0 and related subproject releases
+1 (non binding) On Thu, Mar 31, 2011 at 7:51 AM, Jean-Baptiste Onofré j...@nanthrax.netwrote: +1 (non-binding) Regards JB On 03/30/2011 09:09 PM, Carsten Ziegeler wrote: +1 Carsten Rob Walker wrote +1 -- Rob On 28/03/2011 10:54 PM, Karl Pauls wrote: I would like to call a vote on the following subproject releases: framework 3.2.0 framework.security 1.4.2 main 3.2.0 main.distribution 3.2.0 Staging repositories: https://repository.apache.org/content/repositories/orgapachefelix-050/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 050 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) -- *Toni Menzel - http://www.okidokiteam.com*
Felix 3.2.0 the direct followup to 3.0.9 ?
Hi, I haven't really kept track of the 3.1/3.2 stuff in Felix, so is it true that 3.2 is the followup of 3.0.9 ? I understand 3.2 is the first release with the new resolver/diagnostics karma ? -- *Toni Menzel - http://www.okidokiteam.com*
Re: [VOTE] Felix framework 3.0.9 and related subproject releases
+1 (non binding) On Wed, Feb 23, 2011 at 10:31 AM, Jean-Baptiste Onofré j...@nanthrax.netwrote: +1 Regards JB On 02/23/2011 10:32 AM, Felix Meschberger wrote: +1 Regards Felix Am Montag, den 21.02.2011, 22:10 + schrieb Karl Pauls: I would like to call a vote on the following subproject releases: framework 3.0.9 main 3.0.9 main.distribution 3.0.9 Staging repositories: https://repository.apache.org/content/repositories/orgapachefelix-035/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 035 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) -- *Toni Menzel - http://www.okidokiteam.com*
[jira] Commented: (FELIX-2826) LogService.log second overload does not work
[ https://issues.apache.org/jira/browse/FELIX-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12991390#comment-12991390 ] Toni Menzel commented on FELIX-2826: Though this is nothing about OSGi at all. Its just Eclipse trying to follow the entire call stack of a library you are using. So this is a generic thing to remember (and to know). Just out of curiosity, which maven eclipse integration do you use ? Would believe M2Eclipse takes care of this transitive dependency. LogService.log second overload does not work Key: FELIX-2826 URL: https://issues.apache.org/jira/browse/FELIX-2826 Project: Felix Issue Type: Bug Components: Log Service Reporter: Andriyko Attachments: logServiceError.png I am using org.osgi.service.log.LogService. I have the weirdest bug, when writting my LogHelper class. The second overloaded log function does not work. Now I can call the: LogService.log(int level, String message) with no problems, but when I try to use the one with the Throwable overloaded argument: LogService.log(int level, String message, Throwable exception) Eclipse highlights the call as wrong, and gives me this wierd error message: The type org.osgi.framework.ServiceReference cannot be resolved. It is indirectly referenced from required .class files P.S.: I created a stackoverflow question for this issue, no-one seems to know what's up: http://stackoverflow.com/questions/4819269/osgi-logservice-log-method-does-not-work -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [VOTE] Versioning after a failed release
B - Releases following a failed release must use a different version. For me traceability is key. Much more transparent to the user. Toni On Fri, Feb 4, 2011 at 10:05 AM, Felix Meschberger fmesc...@adobe.comwrote: Hi, B - never reuse version numbers Regards Felix Am Freitag, den 04.02.2011, 08:50 + schrieb Guillaume Nodet: Following the discussion, I'm starting a vote to decide on a policy for failed releases. [ ] A - Releases following a failed release can reuse the same version [ ] B - Releases following a failed release must use a different version The vote will be opened for at least 72 hours. Happy voting! -- *Toni Menzel - http://www.okidokiteam.com*
Re: felix subproject bundles without the compendium classes
You can change the bnd instructions inside the poms to do that. For event, add org.osgi.service.event to the list of Import-Package. However, there has been a long debate of the pros and cons of including interfaces into implementation bundles. When exported correctly there is usually no big disadvantage other than possibly wasted disk space. On the other hand it much more consumer friendly to ship the interfaces, too. So, do you really want to used forked versions of the felix bundles here ? Toni On Thu, Feb 3, 2011 at 12:36 PM, Jackson, Bruce bru...@qualcomm.com wrote: Hi All Does anyone know if there are build flags that allow the felix subproject jars (for example eventadmin or http) to be built without including the org.osgi.* classes that from part of the standard compendium? Thanks Bruce -- *Toni Menzel - http://www.okidokiteam.com*
Re: [VOTE] Release maven-bundle-plugin 2.3.4
+1 (non binding) Thanks Guillaume! On Wed, Feb 2, 2011 at 6:47 PM, Alex Karasulu akaras...@apache.org wrote: +1 Thanks for the hard work on this release Guillaume. Regards, Alex On Wed, Feb 2, 2011 at 8:40 PM, Jean-Baptiste Onofré j...@nanthrax.net wrote: +1 Regards JB On 02/02/2011 06:09 PM, Guillaume Nodet wrote: I would like to call another vote on the maven-bundle-plugin 2.3.4 release: Staging repositories: https://repository.apache.org/content/repositories/orgapachefelix-029/ Changelog: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310100version=12316061 You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 029 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) -- *Toni Menzel - http://www.okidokiteam.com*
Re: [VOTE] Felix framework 3.0.6 and releated subproject releases
+1 (not binding) On Thu, Nov 4, 2010 at 10:07 AM, Guillaume Nodet gno...@gmail.com wrote: +1 On Thu, Nov 4, 2010 at 06:38, Rob Walker r...@ascert.com wrote: +1 - Rob On 03/11/2010 11:21 PM, Karl Pauls wrote: I would like to call a vote on the following subproject releases: framework 3.0.6 main 3.0.6 main.distribution 3.0.6 Staging repositories: https://repository.apache.org/content/repositories/orgapachefelix-029/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 029 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) -- Ascert - Taking systems to the Edge r...@ascert.com +44 (0)20 7488 3470 www.ascert.com -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com -- Toni Menzel || http://okidokiteam.com
Re: BundleContext ServiceReference
Hi Bruce, Read the Javadoc [1] already ? Google is also quite clear about this [2]. If those resources are not clear enough let us know. HTH, Toni [1] ttp://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleContext.html [2] http://www.google.de/#sclient=psyhl=deq=difference+getServiceReferences+getAllServiceReferences On Thu, Oct 7, 2010 at 6:10 PM, Jackson, Bruce bru...@qualcomm.com wrote: Hi Everyone Could someone explain the difference between: BundleContext.getServiceReferences(String clazz, String filter) and BundleContext.getAllServiceReferences(String clazz, String filter) ? Thanks Bruce -- Toni Menzel || http://okidokiteam.com
Re: [VOTE] Felix framework 3.0.4 and releated subproject releases
+1 (non binding) On Wed, Oct 6, 2010 at 10:10 AM, Pierre De Rop pierre.de...@gmail.com wrote: +1 (non binding) Regards; /pierre 2010/10/6 Carsten Ziegeler cziege...@apache.org +1 Carsten -- Carsten Ziegeler cziege...@apache.org -- Toni Menzel || http://okidokiteam.com
Re: [VOTE] Felix framework 3.0.3 and releated subproject releases
+1 (not binding) On Fri, Sep 24, 2010 at 10:02 AM, Carsten Ziegeler cziege...@apache.orgwrote: +1 Approve the release Carsten -- Carsten Ziegeler cziege...@apache.org -- *Toni Menzel || **http://okidokiteam.com*
Re: [VOTE] Felix framework 3.0.3 and releated subproject releases
Question, what is the exact purpose of org.apache.felix.main.distribution-3.0.3-bin.tar.gz and its variants (zip..) ? Cause they don't seem to contain anything useful except notice and license files.. Just curious. Toni On Fri, Sep 24, 2010 at 11:35 AM, Guillaume Nodet gno...@gmail.com wrote: +1 On Wed, Sep 22, 2010 at 23:12, Karl Pauls karlpa...@gmail.com wrote: I would like to call a vote on the following subproject releases: framework 3.0.3 main 3.0.3 main.distribution 3.0.3 gogo.runtime 0.6.1 gogo.shell 0.6.1 gogo.command 0.6.1 Staging repositories: https://repository.apache.org/content/repositories/orgapachefelix-007/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 007 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com -- Toni Menzel || http://okidokiteam.com
DependencyManager vs. Deploymentadmin: Incompatible in trunk
Hi, i just found that the deploymentadmin codebase does not compile with current dependencymanager (3.0-SNAPSHOT): This appears to happen because of recent rename activity in DM ( DependencyActivatorBase.createService now DependencyActivatorBase.createModule ). Who can fix that ? More important, is there no CI build that takes care of this ? Or am i just behind a stone and miss something obvious ? Toni -- *Toni Menzel || **http://okidokiteam.com*
Re: [VOTE] Felix framework, framework.security, and main 3.0.2 subproject releases
+1 (non binding) On Thu, Aug 19, 2010 at 10:20 AM, Pierre De Rop pierre.de...@gmail.comwrote: +1 (non binding) Regards; /pierre On Wed, Aug 18, 2010 at 11:17 PM, Karl Pauls karlpa...@gmail.com wrote: I would like to call a vote on the following subproject releases: framework 3.0.2 framework.security 1.4.0 main 3.0.2 main.distribution 3.0.2 Staging repositories: https://repository.apache.org/content/repositories/orgapachefelix-125/ https://repository.apache.org/content/repositories/orgapachefelix-126/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 125 /tmp/felix-staging sh check_staged_release.sh 126 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) p.s.: There are two staging repos because my ip changed during the release so make sure you check both. -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: framework snapshot
Why isn't there a CI Build publishing the snapshots continuously ? On Tue, Jul 27, 2010 at 7:03 PM, Richard S. Hall he...@ungoverned.org wrote: On 7/26/10 18:01, Jarek Gawor wrote: Hi, Can someone please publish latest snapshot of the framework module? Published framework, main, and main.distribution... - richard Thanks, Jarek -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Felix compiler version Android dx
final EventHandler m_nullEventHandler = new EventHandler() { /** * This is a null object that is supposed to do nothing at this point. * * @param event an event that is not used */ public void handleEvent(final Event event) { // This is a null object that is supposed to do nothing at this // point. This is used once a EventHandler is requested for a // servicereference that is either stale (i.e., unregistered) or // blacklisted. } }; Is this an example of the problem we were discussing a couple of weeks ago, where dx can’t produce correct copde because the compiler version that was used to create the bundle was pre-1.5 do you think? Thanks Bruce -- Karl Pauls karlpa...@gmail.com -- Karl Pauls karlpa...@gmail.com -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Felix compiler version Android dx
cklistingHandlerTasks.java:223) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.eventadmin.impl.Configuration.start(Configuration.java:293) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.eventadmin.impl.Configuration.init(Configuration.java:152 ) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.eventadmin.impl.Activator.start(Activator.java:65) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.jav a:661) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.Felix.activateBundle(Felix.java:1760) 05-04 12:01:26.853: WARN/System.err(4682): ... 17 more Looking at the class in question (BlacklistingHandlerTasks:223) I see that this is a use of an anonymous inner class: private final EventHandler m_nullEventHandler = new EventHandler() { /** * This is a null object that is supposed to do nothing at this point. * * @param event an event that is not used */ public void handleEvent(final Event event) { // This is a null object that is supposed to do nothing at this // point. This is used once a EventHandler is requested for a // servicereference that is either stale (i.e., unregistered) or // blacklisted. } }; Is this an example of the problem we were discussing a couple of weeks ago, where dx canšt produce correct copde because the compiler version that was used to create the bundle was pre-1.5 do you think? Thanks Bruce -- Karl Pauls karlpa...@gmail.com -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Felix compiler version Android dx
then there are at least two broken compilers out in the wild ;) 2010/5/4 Justin Edelson justinedel...@gmail.com According to the manifest, Carsten, not Karl, built EventAdmin 1.2.2. On 5/4/10 11:49 AM, Toni Menzel wrote: But i realized i the warnings just appear when using the stock felix 2.0.5 (and other bundles like event admin). Self built stuff works just fine. So Karl, what do you use to build the released artifacts ? On Tue, May 4, 2010 at 5:27 PM, Justin Edelson justinedel...@gmail.com mailto:justinedel...@gmail.com wrote: On 5/4/10 10:25 AM, Richard S. Hall wrote: On 5/4/10 10:19, Jackson, Bruce wrote: Yes, that's easier said than done! I seem to remember that the was no single place where you could set the compiler version to use for building Felix. Is that correct? You should just be able to edit the Event Admin pom.xml file to include this in its plugins section, no? - richard You can actually do it from the command line: mvn package -Dmaven.compiler.compilerVersion=1.4 -Dmaven.compiler.executable=[path to javac] -Dmaven.compiler.fork=true -Dmaven.compiler.verbose=true See http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerVersion Justin On 04/05/2010 12:54, Karl Paulskarlpa...@gmail.com mailto:karlpa...@gmail.com wrote: And like before, make sure you don't have other messages like class resolved by unexpected dex in the log ... regards, Karl On Tue, May 4, 2010 at 1:33 PM, Karl Paulskarlpa...@gmail.com mailto:karlpa...@gmail.com wrote: Well, this should be easy enough to test, right? Just re-compile the eventadmin and see whether that fixes the issue or not - if it does, that would be really useful to know :-) regards, Karl On Tue, May 4, 2010 at 1:23 PM, Jackson, Brucebru...@qualcomm.com mailto:bru...@qualcomm.com wrote: Hi All Some time back, we had a discussion about the default compiler version used to build Felix, and whether this was compatible with the requirements of Android. I noted that when you dx the bundle jars produced by the regular Felix build, you get a whole collection of warning of the the form: $ dx --dex --output=classes.dex org.apache.felix.eventadmin-1.2.2.jar warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.) ...for example. We debated this, and decided that these were just warning and not a real problem. However, now that I have a working Felix framework on Android, I find that when I load and start the EventAdmin bundle, I find that it fails to start with the following message in the log: 05-04 12:01:26.853: WARN/System.err(4682): org.osgi.framework.BundleException: Activator start error in bundle org.apache.felix.eventadmin [5]. 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.Felix.activateBundle(Felix.java:1807) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.Felix.startBundle(Felix.java:1682) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) 05-04 12:01:26.853: WARN/System.err(4682): at com.skifta.android.client.SkiftaService.startOSGi(SkiftaService.java:437) 05-04 12:01:26.853: WARN/System.err(4682): at com.skifta.android.client.SkiftaService.init(SkiftaService.java:174) 05-04 12:01:26.853: WARN/System.err(4682): at com.skifta.android.client.SkiftaService.onCreate(SkiftaService.java:166) 05-04 12:01:26.853: WARN/System.err(4682): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2894) 05-04 12:01:26.853: WARN/System.err(4682): at android.app.ActivityThread.access$3200(ActivityThread.java:126) 05-04 12:01:26.853: WARN/System.err(4682): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1986) 05-04 12:01:26.853: WARN/System.err(4682): at android.os.Handler.dispatchMessage(Handler.java:99) 05-04 12:01:26.853: WARN/System.err(4682): at android.os.Looper.loop(Looper.java:123) 05-04 12:01:26.853: WARN
Re: Felix compiler version Android dx
This is probably the valid explanation: http://www.mailinglistarchive.com/html/derby-...@db.apache.org/2009-12/msg00072.html http://www.mailinglistarchive.com/html/derby-...@db.apache.org/2009-12/msg00072.html In fact, I believe the bytecode spec changed between 1.4 and 1.5. dx's warning is basically saying that 1.4-based code that uses inner classes doesn't provide enough information for a 1.5 runtime to faithfully report about them via reflection. Rather than try to halfway reconstruct the reflection info in such cases, dx just gives up and ignores inner classes info entirely. If your code doesn't make reflection calls to look at inner class stuff, then none of this makes any difference. Toni 2010/5/4 Karl Pauls karlpa...@gmail.com we compile for 1.4 by default. regards, Karl 2010/5/4 Toni Menzel t...@okidokiteam.com: then there are at least two broken compilers out in the wild ;) 2010/5/4 Justin Edelson justinedel...@gmail.com According to the manifest, Carsten, not Karl, built EventAdmin 1.2.2. On 5/4/10 11:49 AM, Toni Menzel wrote: But i realized i the warnings just appear when using the stock felix 2.0.5 (and other bundles like event admin). Self built stuff works just fine. So Karl, what do you use to build the released artifacts ? On Tue, May 4, 2010 at 5:27 PM, Justin Edelson justinedel...@gmail.com mailto:justinedel...@gmail.com wrote: On 5/4/10 10:25 AM, Richard S. Hall wrote: On 5/4/10 10:19, Jackson, Bruce wrote: Yes, that's easier said than done! I seem to remember that the was no single place where you could set the compiler version to use for building Felix. Is that correct? You should just be able to edit the Event Admin pom.xml file to include this in its plugins section, no? - richard You can actually do it from the command line: mvn package -Dmaven.compiler.compilerVersion=1.4 -Dmaven.compiler.executable=[path to javac] -Dmaven.compiler.fork=true -Dmaven.compiler.verbose=true See http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerVersion Justin On 04/05/2010 12:54, Karl Paulskarlpa...@gmail.com mailto:karlpa...@gmail.com wrote: And like before, make sure you don't have other messages like class resolved by unexpected dex in the log ... regards, Karl On Tue, May 4, 2010 at 1:33 PM, Karl Pauls karlpa...@gmail.com mailto:karlpa...@gmail.com wrote: Well, this should be easy enough to test, right? Just re-compile the eventadmin and see whether that fixes the issue or not - if it does, that would be really useful to know :-) regards, Karl On Tue, May 4, 2010 at 1:23 PM, Jackson, Brucebru...@qualcomm.com mailto:bru...@qualcomm.com wrote: Hi All Some time back, we had a discussion about the default compiler version used to build Felix, and whether this was compatible with the requirements of Android. I noted that when you dx the bundle jars produced by the regular Felix build, you get a whole collection of warning of the the form: $ dx --dex --output=classes.dex org.apache.felix.eventadmin-1.2.2.jar warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.) ...for example. We debated this, and decided that these were just warning and not a real problem. However, now that I have a working Felix framework on Android, I find that when I load and start the EventAdmin bundle, I find that it fails to start with the following message in the log: 05-04 12:01:26.853: WARN/System.err(4682): org.osgi.framework.BundleException: Activator start error in bundle org.apache.felix.eventadmin [5]. 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.Felix.activateBundle(Felix.java:1807) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.Felix.startBundle(Felix.java:1682) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) 05-04 12:01:26.853: WARN/System.err(4682): at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) 05-04 12:01:26.853: WARN/System.err(4682): at com.skifta.android.client.SkiftaService.startOSGi
Re: Felix embeded in Android - problem for instantiate a Service.
This sounds like a ThreadContextClassloader (TCL) problem. Not sure about the sample you are using but usually you can get arround this setting TCL to null when creating the framework: Thread.currentThread().setContextClassLoader( null ); Make you reset it when you are done (getContextClassLoader(..)) Reason behind this: Classes (tutorial.example2b.Activator$DictionaryImpl) exist twice (at least) in your case: once in the host (where you start felix) and once in the bundle. Chances are also that you have to delegate the packages from the system bundle, but that should have been part of the tutorial you are using/referring to. Toni On Mon, Feb 22, 2010 at 5:52 PM, pablomj pablom...@hotmail.es wrote: Good day Karl, I also proved ds=(DictionaryService) bc.getService(sb[j]); but also generates a class exception. 02-22 16:47:14.794: DEBUG/Felix(2365): Could not create framework: java.lang.ClassCastException: tutorial.example2b.Activator$DictionaryImpl I'm sorry. I know that it is maybe an OSGi problem...but I think that maybe someone here could help me. I continue with this. Thank you for answer, Pablo. Karl Pauls wrote: You are trying to cast a servicereference to a service object. That doesn't work. You need to first get the real service by: bc.getService(sb[j]); Nothing to do with android btw. - just osgi. regards, Karl On Mon, Feb 22, 2010 at 4:28 PM, pablomj pablom...@hotmail.es wrote: Good day, I trying embedding Felix in Android. I installed some bundles (English Dictionary, French Dictionary, Spellchecker...). Well, the program compiles but I can't instanciate a DictionaryService for use for example d.checkword(the); The code is: try { m_felix.start(); BundleContext bc=m_felix.getBundleContext(); bc.installBundle(file:/data/felix/EnglishDictionary.jar); bc.installBundle(file:/data/felix/FrenchDictionary.jar); bc.installBundle(file:/data/felix/SpellChecker.jar); //start all bundles org.osgi.framework.Bundle[] bs=bc.getBundles(); for(int i=0; ibs.length; i++) { bs[i].start(); } //get registered services ServiceReference[] sb=bc.getAllServiceReferences(tutorial.example2.service.DictionaryService,(Language=*)); ServiceReference[] sb=bc.getAllServiceReferences(tutorial.example2.service.DictionaryService,(Language=*)); if(sb !=null) { for(int j=0;jsb.length; j++) { Log.d(FELIX,registered services: +sb[j].toString()); ERROR ---DictionaryService d=(DictionaryService) sb[j]; boolean b=d.checkWord(the); } } else { Log.d(FELIX,No registered services); } } catch { ... } The log is: 02-22 15:06:30.734: DEBUG/FELIX(759): registered services: [tutorial.example2.service.DictionaryService] 02-22 15:09:51.754: DEBUG/Felix(863): Could not create framework: java.lang.ClassCastException: org.apache.felix.framework.ServiceRegistrationImpl$ServiceReferenceImpl Somebody can help me for make an instance of a service? I don't know how I can obtain it. Thanks, Pablo -- View this message in context: http://old.nabble.com/Felix-embeded-in-Android---problem-for-instantiate-a-Service.-tp27688984p27688984.html Sent from the Apache Felix - Dev mailing list archive at Nabble.com. -- Karl Pauls karlpa...@gmail.com -- View this message in context: http://old.nabble.com/Felix-embeded-in-Android---problem-for-instantiate-a-Service.-tp27688984p27690380.html Sent from the Apache Felix - Dev mailing list archive at Nabble.com. -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Continuous build updated to Maven 2.2.1
On Mon, Nov 23, 2009 at 10:29 AM, Felix Meschberger fmesc...@gmail.comwrote: Hi, Toni Menzel schrieb: This is actually home made by placing integration tests in the component under test. This way you create a chicken egg problem. The tests (executed before bundle is being packaged, see maven lifecycle) grabs any older version of the component it finds (matching the group+artifact+version) wich usually not what you want to test. No, this is probably not a chicken/egg problem: the integration tests run in the integration-test phase, which comes after packaging. Moreover the SCR bundle under test is loaded from the local target folder and not through maven to ensure using the correct version. Always learning new things;) Actually i never use the integration-test phase because of prefer mvn install over mvn package. So I would never rely in package builds when using a bigger reactor builds. Because of that you are back to the chicken-egg. - you cannot really revoke a install(ed) build. Anyway, if it works for scr, very good! Should have looked into it a bit deeper. ;) So, it is rather related to test timing issues, I fear. I will look into hardening the tests ... until then there might be some builds which fail due to SCR and/or configadmin -- especially since we build everything at once. Solution: put the integration tests into its own projects. Sounds nuts but is just logical. Also it would be good to upgrade to exam 1.2.0 (currently 0.6). Ok, thanks for pointing to this new release. Will update. Regards Felix Toni On Sat, Nov 21, 2009 at 5:52 PM, Marcel Offermans marcel.offerm...@luminis.nl wrote: I just updated the continuous build, running on Bamboo, to Maven 2.2.1 because I needed a feature (compiling tests against a different source/target JVM than the bundle itself) which seemed to be broken in earlier versions. Initially, after going to the new Maven, a test case failed, but running the build again made it succeed, so I'm assuming there is some kind of race condition in the test. See: http://opensource.bamboo.atlassian.com/build/viewTestCaseHistory.action?buildKey=FELIX-DEFtestClassName=org.apache.felix.scr.integration.ServiceBindTesttestCaseName=test_optional_single_static Perhaps one of the SCR guys could have a look at this? Greetings, Marcel -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Continuous build updated to Maven 2.2.1
On Mon, Nov 23, 2009 at 10:42 AM, Felix Meschberger fmesc...@gmail.comwrote: Hi, Toni Menzel schrieb: On Mon, Nov 23, 2009 at 10:29 AM, Felix Meschberger fmesc...@gmail.com wrote: Hi, Toni Menzel schrieb: This is actually home made by placing integration tests in the component under test. This way you create a chicken egg problem. The tests (executed before bundle is being packaged, see maven lifecycle) grabs any older version of the component it finds (matching the group+artifact+version) wich usually not what you want to test. No, this is probably not a chicken/egg problem: the integration tests run in the integration-test phase, which comes after packaging. Moreover the SCR bundle under test is loaded from the local target folder and not through maven to ensure using the correct version. Always learning new things;) Actually i never use the integration-test phase because of prefer mvn install over mvn package. So I would never rely in package builds when using a bigger reactor builds. Because of that you are back to the chicken-egg. - you cannot really revoke a install(ed) build. Point is that this is roughly the order of phases: process resources compile unit tests package integration-test install deploy So, the integration-test phase always comes _after_ the packaging but before (locally) installing. So if an integration test fails, the local install (and remote deployment) don't take place. See also http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Quite nice ;-) Sure, i am aware of that but.. was more pointing to the fact of not trusting mvn package builds (rather than mvn install) when having a multi project build. However, was not aware that you (in SCR) use a self made provisioning system. Have you had trouble of fetching artifacts from local repo (instead of target) before ? Regards Felix Anyway, if it works for scr, very good! Should have looked into it a bit deeper. ;) So, it is rather related to test timing issues, I fear. I will look into hardening the tests ... until then there might be some builds which fail due to SCR and/or configadmin -- especially since we build everything at once. Solution: put the integration tests into its own projects. Sounds nuts but is just logical. Also it would be good to upgrade to exam 1.2.0 (currently 0.6). Ok, thanks for pointing to this new release. Will update. Regards Felix Toni On Sat, Nov 21, 2009 at 5:52 PM, Marcel Offermans marcel.offerm...@luminis.nl wrote: I just updated the continuous build, running on Bamboo, to Maven 2.2.1 because I needed a feature (compiling tests against a different source/target JVM than the bundle itself) which seemed to be broken in earlier versions. Initially, after going to the new Maven, a test case failed, but running the build again made it succeed, so I'm assuming there is some kind of race condition in the test. See: http://opensource.bamboo.atlassian.com/build/viewTestCaseHistory.action?buildKey=FELIX-DEFtestClassName=org.apache.felix.scr.integration.ServiceBindTesttestCaseName=test_optional_single_static Perhaps one of the SCR guys could have a look at this? Greetings, Marcel -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Release gogo 0.2.2
Guilaume, what maven do you use to produce+deploy the artifacts ? Just currious because gpg problems have been known with versions like 2.1.x. using a mallicious gpg plugin. Just currious. On Mon, Nov 23, 2009 at 2:03 PM, Marcel Offermans marcel.offerm...@luminis.nl wrote: On Nov 23, 2009, at 13:50 , Guillaume Nodet wrote: I think we're missing q fez binding votes for this release of gogo ... On Tue, Nov 17, 2009 at 14:16, Guillaume Nodet gno...@gmail.com wrote: Usage: sh check_staged_release.sh 005 /tmp/felix-staging I downloaded and ran this script. Is it supposed to work on a Mac, because I'm getting some errors related to gpg. This is the relevant part of the output: Downloaded: 711,599 bytes in 160 files CHECK SIGNATURES AND DIGESTS ./005/.index/nexus-maven-repository-index.gz gpg: md5: GOOD sha1: GOOD ./005/.index/nexus-maven-repository-index.properties gpg: md5: GOOD sha1: GOOD ./005/.index/nexus-maven-repository-index.zip gpg: md5: GOOD sha1: GOOD ./005/.meta/p2-metadata.properties gpg: md5: sha1: ./005/.meta/repository-metadata.xml gpg: md5: sha1: ./005/org/apache/felix/gogo/gogo/0.2.2/gogo-0.2.2-project.tar.gz gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/gogo/0.2.2/gogo-0.2.2-project.zip gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/gogo/0.2.2/gogo-0.2.2.pom gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/gogo/maven-metadata.xml gpg: md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.commands/0.2.2/org.apache.felix.gogo.commands-0.2.2-sources.jar gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.commands/0.2.2/org.apache.felix.gogo.commands-0.2.2.jar gpg: BAD md5: sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.commands/0.2.2/org.apache.felix.gogo.commands-0.2.2.pom gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.commands/maven-metadata.xml gpg: md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.console/0.2.2/org.apache.felix.gogo.console-0.2.2-sources.jar gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.console/0.2.2/org.apache.felix.gogo.console-0.2.2.jar gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.console/0.2.2/org.apache.felix.gogo.console-0.2.2.pom gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.console/maven-metadata.xml gpg: md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.launcher/0.2.2/org.apache.felix.gogo.launcher-0.2.2-sources.jar gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.launcher/0.2.2/org.apache.felix.gogo.launcher-0.2.2.jar gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.launcher/0.2.2/org.apache.felix.gogo.launcher-0.2.2.pom gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.launcher/maven-metadata.xml gpg: md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.runtime/0.2.2/org.apache.felix.gogo.runtime-0.2.2-sources.jar gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.runtime/0.2.2/org.apache.felix.gogo.runtime-0.2.2.jar gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.runtime/0.2.2/org.apache.felix.gogo.runtime-0.2.2.pom gpg: BAD md5: GOOD sha1: GOOD ./005/org/apache/felix/gogo/org.apache.felix.gogo.runtime/maven-metadata.xml gpg: md5: GOOD sha1: GOOD -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Removing imports in bundles generated by Maven bundle plugin
Why exactly do you want to do this ? It is common (and good) practice to import what you export to the framework more options for wiring. You don't lose anything. Its also known as package substitution. If you really want to do this, you try add a Import-Package: !myexportpackage,* But you usually do not want to do this. On Mon, Nov 23, 2009 at 7:14 PM, Alan D. Cabrera l...@toolazydogs.comwrote: When converting 3rd party jars it's my understanding that it's a good idea that if it's a leaf jar, i.e. has no deps, then it should not import what it exports. It's not clear to me how I should configure the bundle plugin to do this. Regards, Alan -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Removing imports in bundles generated by Maven bundle plugin
On Mon, Nov 23, 2009 at 7:23 PM, Stuart McCulloch mccu...@gmail.com wrote: 2009/11/24 Alan D. Cabrera l...@toolazydogs.com When converting 3rd party jars it's my understanding that it's a good idea that if it's a leaf jar, i.e. has no deps, then it should not import what it exports. It's not clear to me how I should configure the bundle plugin to do this. the Bnd tool handles the manifest generation, see: http://aqute.biz/Code/Bnd#export-package specifically the ;-noimport:=true package attribute: Export-Package= org.foo.bar.*;-noimport:=true or so. thanks stuart. alternatively you can use negated entries in Import-Package: Import-Package: !org.foo.bar, * HTH Regards, Alan -- Cheers, Stuart -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Bundle viewer
A very cheap + felix related solution would be: fileinstall + webconsole. But also overpowered to some extend. Best would be a platform optimized solution: Mac users probably would like to have a Quck View Implementation for Bundles that automatically show the manifest.mf . ;) On Mon, Nov 23, 2009 at 10:49 PM, Alan D. Cabrera l...@toolazydogs.comwrote: Yeah, that's my understanding as well. I think that an visual interactive tool would be handy. On Nov 23, 2009, at 1:39 PM, Richard S. Hall wrote: I think BND can be used as a viewer, but it is more of a command-line thingy. - richard On 11/23/09 15:29, Alan D. Cabrera wrote: Sometimes it would just be plain handy to double click on a bundle have have all sorts of information be displayed in a useful format. Ideally, I could futz w/ imports/exports/etc and have the changes saved in the proper manifest format. Does such a tool exist? Regards, Alan -- Toni Menzel Software Developer Podbielskistr. 262 30655 Hannover t...@okidokiteam.com
Re: Continuous build updated to Maven 2.2.1
This is actually home made by placing integration tests in the component under test. This way you create a chicken egg problem. The tests (executed before bundle is being packaged, see maven lifecycle) grabs any older version of the component it finds (matching the group+artifact+version) wich usually not what you want to test. Solution: put the integration tests into its own projects. Sounds nuts but is just logical. Also it would be good to upgrade to exam 1.2.0 (currently 0.6). Toni On Sat, Nov 21, 2009 at 5:52 PM, Marcel Offermans marcel.offerm...@luminis.nl wrote: I just updated the continuous build, running on Bamboo, to Maven 2.2.1 because I needed a feature (compiling tests against a different source/target JVM than the bundle itself) which seemed to be broken in earlier versions. Initially, after going to the new Maven, a test case failed, but running the build again made it succeed, so I'm assuming there is some kind of race condition in the test. See: http://opensource.bamboo.atlassian.com/build/viewTestCaseHistory.action?buildKey=FELIX-DEFtestClassName=org.apache.felix.scr.integration.ServiceBindTesttestCaseName=test_optional_single_static Perhaps one of the SCR guys could have a look at this? Greetings, Marcel -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Release Felix SCR version 1.2.0
+1 ( not binding, also to help the long overdue release being kicked out asap ) On Tue, Nov 3, 2009 at 7:29 PM, Felix Meschberger fmesc...@gmail.comwrote: Hi Pierre, Pierre De Rop schrieb: Hello Felix, If I may participate to this vote, I just would like to notice that I tested this release candidate, and everything seems fine, except one minor issue that I have reported in FELIX-1841 http://issues.apache.org/jira/browse/FELIX-1841 So, may be you could take a look at it before releasing ? Thanks for reporting the bug. I will look into it and (try to) fix it. In the meantime, I agree with Richard, that we should get the release out (it is IMHO long overdue) and if rather do another release shortly if it proves necessairy. Regards and Thanks Felix Thank you /pierre Felix Meschberger wrote: Hi, At long last, here is the first release of Apache Felix Declarative Services implementation targetting to implement the brand new Declarative Services 1.1 specification contained in OSGi Compendium R 4.2. We solved 49 issues in this release: https://issues.apache.org/jira/browse/FELIX/fixforversion/12313639 There is one outstanding issue: https://issues.apache.org/jira/browse/FELIX/component/12310349 Staging repository: https://repository.apache.org/content/repositories/orgapachefelix-010/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 010 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Don't the release (please provide specific comments) This vote will be open for 72 hours. Regards Felix -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Felix framework 2.0.1 and related subprojects releases
+1 (not binding) On Wed, Oct 14, 2009 at 7:31 AM, Stuart McCulloch mccu...@gmail.com wrote: 2009/10/12 Karl Pauls karlpa...@gmail.com I would like to call a vote on the following subproject releases: shell 1.4.1 shell.tui 1.4.1 bundlerepository 1.4.2 framework 2.0.1 main 2.0.1 Staging repository: https://repository.apache.org/content/repositories/felix-staging-016/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 016 /tmp/felix-staging Additionally, a convenience binary release is provided at: http://people.apache.org/~pauls/2.0.1/ http://people.apache.org/%7Epauls/2.0.1/ Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) +1 -- Cheers, Stuart -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
[jira] Commented: (FELIX-1728) Karaf itest fail on IBM JDK due to Pax Exam annotations not found
[ https://issues.apache.org/jira/browse/FELIX-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12763967#action_12763967 ] Toni Menzel commented on FELIX-1728: We just added this http://paxexam.ops4j.org/space/FAQ cause it's a bug in IBM JDK. Karaf itest fail on IBM JDK due to Pax Exam annotations not found - Key: FELIX-1728 URL: https://issues.apache.org/jira/browse/FELIX-1728 Project: Felix Issue Type: Bug Components: Karaf Affects Versions: karaf-1.0.0 Reporter: Gert Vanthienen Assignee: Gert Vanthienen Fix For: karaf-1.0.2 Due to a difference in the way the IBM JDK handles annotations (it fails on annotations not on the classpath instead of ignoring them), the following tests fail: org.apache.felix.karaf.shell.itests.FeaturesTest.testFeatures [equinox] org.apache.felix.karaf.shell.itests.CoreTest.testHelp [equinox] org.apache.felix.karaf.shell.itests.CoreTest.testInstallCommand [equinox] Cfr. http://lists.ops4j.org/pipermail/general/2009q4/003296.html for background information the error looks like this: java.lang.TypeNotPresentException: Type org.ops4j.pax.exam.junit.Configuration not present at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:38) at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:50) at com.ibm.oti.reflect.Method.getDeclaredAnnotations(Method.java:31) at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:722) at java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:191) at com.ibm.oti.reflect.Method.getAnnotation(Method.java:20) at java.lang.reflect.Method.getAnnotation(Method.java:711) at org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.getAnnotatedMethods(CallableTestMethodImpl.java:295) at org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.runBefores(CallableTestMethodImpl.java:162) at org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.injectContextAndInvoke(CallableTestMethodImpl.java:124) at org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.call(CallableTestMethodImpl.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:309) at sun.rmi.transport.Transport$1.run(Transport.java:168) at java.security.AccessController.doPrivileged(AccessController.java:279) at sun.rmi.transport.Transport.serviceCall(Transport.java:164) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:506) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:838) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:912) at java.lang.Thread.run(Thread.java:810) Caused by: java.lang.ClassNotFoundException: org.ops4j.pax.exam.junit.Configuration at java.lang.Class.forName(Class.java:163) at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33) ... 27 more The test launches okay, but the pax Configuration annotation class cannot be found. Adding the jar that contains the class, pax-exam-junit as a bundle in the test when we detect that we are using the ibm jdk allows the test to pass. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Integration testing
The Subject just drove me in somwhow ;)I would be very interested into a complete framework testing solution. Granted, Pax Exam is currently made for Application Integration Testing and not for Frameworks itself cause you always see everything from a 3rd persons perspective. What are the general requirements to offer such a thing (maybe based on pax exam/runner infrastructure) ? Also, i guess integration testing is a very diverse term which does not help to come up with a fit-it-all solution. So, maybe i should ask here, what are the things you feel are missing from TCK (think its it closeness but never seen it myself), bnd-test, atlassian framwork (dan, can we see that somehwere ?) and pax exam ? Toni On Thu, Oct 8, 2009 at 12:29 PM, Richard S. Hall he...@ungoverned.orgwrote: On 10/8/09 12:24, Don Brown wrote: Since the TCK seems to be a deadend for automated testing, what other options do we have? Richard, you said you were working on a testing framework, but I don't see it svn. Are there a set of integration/functional tests I'm missing? I have a little framework we use in Atlassian Plugins for integration testing that I could bring over. I am using BND and my few tests are included in the my sandbox: http://svn.apache.org/repos/asf/felix/sandbox/rickhall/bnd-test/ There is some [likely outdated] description of this here: http://felix.apache.org/site/bnd-testing-harness.html This isn't integrated in anyway, because there was no decision within the community to go with it, but it is still what I use when I create a new test cases. It is also what the OSGi TCK is based on. - richard Any objections? Don -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
[jira] Commented: (FELIX-1305) DPs with Bundles having parametrized SymbolicNames throw Exception
[ https://issues.apache.org/jira/browse/FELIX-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762955#action_12762955 ] Toni Menzel commented on FELIX-1305: Yep, works. Sorry for being so late. Somehow the comment/patched applied hasn't received my mailbox.. or so ;) DPs with Bundles having parametrized SymbolicNames throw Exception -- Key: FELIX-1305 URL: https://issues.apache.org/jira/browse/FELIX-1305 Project: Felix Issue Type: Bug Components: Deployment Admin Reporter: Toni Menzel Assignee: Marcel Offermans Attachments: felix-deploymentadmin-symbolicname.patch For example: Bundle-SymbolicName=foo;singleton=true never matches installed bundle headers unless parameters are stripped. (Patch) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [VOTE] Release Felix maven-bundle-plugin version 2.0.1
+1 (not binding) On Wed, Sep 16, 2009 at 2:28 PM, Alin Dreghiciu adreghi...@gmail.comwrote: +1 (not binding) On Wed, Sep 16, 2009 at 1:19 PM, Stuart McCulloch mccu...@apache.org wrote: Hi folks, We solved 15 issues in this release: http://issues.apache.org/jira/browse/FELIX/fixforversion/12313708 There are still some outstanding issues: http://issues.apache.org/jira/browse/FELIX/fixforversion/12314073 Staging repository: http://repository.apache.org/content/repositories/felix-staging-024 You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 024 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) This vote will be open for 72 hours. -- Cheers, Stuart -- Alin Dreghiciu Software Developer My profile: http://www.linkedin.com/in/alindreghiciu My blog: http://adreghiciu.blogspot.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Any race condition in Felix 1.8 service lookup you are aware of?
I recall there was an issue related to startup ordering of spring dm bundles and its participants back when we added the profile on pax tools. Just wanted to point to this, don't have binding material or jira issues at hand right now.Will point to it when i found something. Toni On Wed, Sep 16, 2009 at 7:37 PM, Filippo Diotalevi filippo.diotal...@gmail.com wrote: On Wed, Sep 16, 2009 at 5:16 PM, Richard S. Hall he...@ungoverned.org wrote: Are you saying you do not experience this in Felix 2.0.0? If so, we didn't address anything specific in this area. I haven't tried with 2.0, since the problem is very difficult to reproduce (we actually experience it just in one machine, that we cannot access easily). However, I tried today a simple home made load testing (100+ threads trying to concurrently get a reference to some appearing/disappearing services) and both 1.8.0 and 2.0.0 showed no issues. The only clue so far is that services -u pid in the console clearly shows that Spring DM has injected a wrong service reference in a Spring bean. I'll try to continue my investigation on the Spring side. -- Filippo Diotalevi -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Felix framework 2.0.0 and related subprojects releases
+1 (not binding) 2009/9/8 Carsten Ziegeler cziege...@apache.org +1 Carsten -- Carsten Ziegeler cziege...@apache.org -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
New release of pax exam
hey guys, i know there has been some trouble with the pax exam version you are using in some integration tests. Today, we released version 1.1 which has some improvements in that area. So i would strongly encourage to update ;) (http://wiki.ops4j.org/display/paxexam/Pax+Exam+-+1.1.0) cheers, Toni -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
[jira] Created: (FELIX-1305) DPs with Bundles having parametrized SymbolicNames throw Exception
DPs with Bundles having parametrized SymbolicNames throw Exception -- Key: FELIX-1305 URL: https://issues.apache.org/jira/browse/FELIX-1305 Project: Felix Issue Type: Bug Components: Deployment Admin Reporter: Toni Menzel For example: Bundle-SymbolicName=foo;singleton=true never matches installed bundle headers unless parameters are stripped. (Patch) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1305) DPs with Bundles having parametrized SymbolicNames throw Exception
[ https://issues.apache.org/jira/browse/FELIX-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-1305: --- Attachment: felix-deploymentadmin-symbolicname.patch DPs with Bundles having parametrized SymbolicNames throw Exception -- Key: FELIX-1305 URL: https://issues.apache.org/jira/browse/FELIX-1305 Project: Felix Issue Type: Bug Components: Deployment Admin Reporter: Toni Menzel Attachments: felix-deploymentadmin-symbolicname.patch For example: Bundle-SymbolicName=foo;singleton=true never matches installed bundle headers unless parameters are stripped. (Patch) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (FELIX-1306) getDataFile handling in DeploymentSessionImpl sometimes does not work
getDataFile handling in DeploymentSessionImpl sometimes does not work - Key: FELIX-1306 URL: https://issues.apache.org/jira/browse/FELIX-1306 Project: Felix Issue Type: Improvement Components: Deployment Admin Reporter: Toni Menzel Attachments: felix-deploymentadmim-deploymentsession-datafile.patch This is not really a bug but can be improved. Getting BundleContext from Bundle instance via reflection currently does not catch all bundle implementations. To be safe, a second lookup with getMethods(..) is done. Also this component (amongst others) can really need some documentation. Some (for class under patch) has been added (like reference to corresponding specs because osgi-API is not really dead clear at that point). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1306) getDataFile handling in DeploymentSessionImpl sometimes does not work
[ https://issues.apache.org/jira/browse/FELIX-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-1306: --- Attachment: felix-deploymentadmim-deploymentsession-datafile.patch includes an extended hunt for getBundleContext methods via reflection and some more docs. getDataFile handling in DeploymentSessionImpl sometimes does not work - Key: FELIX-1306 URL: https://issues.apache.org/jira/browse/FELIX-1306 Project: Felix Issue Type: Improvement Components: Deployment Admin Reporter: Toni Menzel Attachments: felix-deploymentadmim-deploymentsession-datafile.patch This is not really a bug but can be improved. Getting BundleContext from Bundle instance via reflection currently does not catch all bundle implementations. To be safe, a second lookup with getMethods(..) is done. Also this component (amongst others) can really need some documentation. Some (for class under patch) has been added (like reference to corresponding specs because osgi-API is not really dead clear at that point). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (FELIX-1307) Log situation in DeploymentAdmin impl very unclear
Log situation in DeploymentAdmin impl very unclear -- Key: FELIX-1307 URL: https://issues.apache.org/jira/browse/FELIX-1307 Project: Felix Issue Type: Improvement Components: Deployment Admin Reporter: Toni Menzel Priority: Trivial e.g. StartBundleCommand.java : has this: // TODO: m_log.log(LogService.LOG_DEBUG, won't wait for Packages refreshed event, event is already received); all over the place. And not just this one. Question: what is the intend of commenting this out ? What is the plan here ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: New committer - Filippo Diotalevi
Congrats, man ! On Tue, Jun 30, 2009 at 3:55 PM, Felix Meschbergerfmesc...@gmail.com wrote: Welcome to the team, Filippo ! Regards Felix Richard S. Hall schrieb: Hello, I wanted to let everyone know that Filippo Diotalevi has been accepted as a new committer for his continued contributions around File Install, web site documentation, and more. Keep up the good work, Filippo, and thanks for your contribution. - richard -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
DependencyManager + DeploymentAdmin used in Apache ACE
Hi, Apache Ace, new in incubator and since last weekend also with code in svn, has some dependencies of Felix Subprojects like DependencyManager and (more important to me at least) DeploymentAdmin. Those have never released so far but should be, if you ask me, at least accessable as snapshot builds from some maven repository. Would that make big problems ? How about deploying them - as they are - at http://people.apache.org/repo/m2-snapshot-repository/org/apache/felix/ or similar ? Once they are there, its much easier to use/test/evaluate them even outside of Ace. ? cheers, Toni -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Apache Felix File Install 1.2.0
+1 On Sat, Jun 27, 2009 at 6:30 PM, Karl Paulskarlpa...@gmail.com wrote: +1 regards, Karl On Tue, Jun 23, 2009 at 5:59 PM, Clement Escoffierclement.escoff...@gmail.com wrote: +1, Except the changelog not up to date (already fixed by Richard in the trunk), everything is perfect. Regards, Clement On 23.06.2009, at 15:24, Rob Walker wrote: +1 On 6/22/09 4:45 PM, Richard S. Hall wrote: I'd like to call a vote for the Apache Felix File Install 1.2.0. We solved 8 issues in this release: http://issues.apache.org/jira/browse/FELIX/fixforversion/12313932 Staging repository: https://repository.apache.org/content/repositories/felix-staging-005/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 005 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) This vote will be open for 72 hours. -- Ascert - Taking systems to the Edge r...@ascert.com +44 (0)20 7488 3470 www.ascert.com -- Karl Pauls karlpa...@gmail.com -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Felix 1.8.1 framework and main subproject releases
+1 On 6/24/09, Stuart McCulloch mccu...@gmail.com wrote: 2009/6/21 Karl Pauls karlpa...@gmail.com I would like to call a vote on the framework and main 1.8.1 subproject releases. This is a bug fix release mainly to allow felix to run with limited permissions when a security manager is installed. Staging repository: https://repository.apache.org/content/repositories/felix-staging-003/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 3 /tmp/felix-staging Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) +1 -- Cheers, Stuart -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: New feature in FileInstall
If someone needs votes for doing this effectively, here's my +1 On Wed, Jun 24, 2009 at 5:39 PM, Alin Dreghiciu adreghi...@gmail.comwrote: Well, we are talking about pretty much a small change as it only adds the code to read the content of the link file and instead of a file input stream it uses url.openStream. So, it does not introduce any new dependency and the changes are relative small in size. I can out up a patch quickly. It may look like a lot of changes but is just moving code around. On Wed, Jun 24, 2009 at 4:39 PM, Richard S. Hall he...@ungoverned.org wrote: On 6/24/09 8:52 AM, Filippo Diotalevi wrote: On Wed, Jun 24, 2009 at 2:32 PM, Alin Dreghiciuadreghi...@gmail.com wrote: Hi guys, Yesterday I got the question if Pax URLs are supported by FileInstall. Of course there are not as you must have the bundle in the scanned directory. But, In my view with quite a simple change this can be done. And is about making FileInstall support any url, so including pax urls. The idea is that file install to support beside jar, .cfg files also .lnk files. What is a link file? A simple text file that contains the url of the actual bundle to be installed. So, if file install finds such a file, it reads the content and installs the bundle mentioned in the file via url. If .lnk file changes the old content (bundle) is uninstalled and the new one is installed. To me looks like a powerful option. A more advanced usage would be that teh .lnk file to be a properties file with properties as url and start and startlevel. Hi Alin, as discussed at [1], I think that there is definitely interest for extending FI to support other artifacts besides jar and cfg files. On the other side, I'm also of the opinion that FI should be usable with the minimum felix configuration (felix+shell+fileinstall), with no additional dependencies. I think the technical solution to make everybody happy should be the same adopted by the Apache Karaf Deployer ([2]): keep the fileinstall lightweight, supporting only jar and cfg, and use the whiteboard pattern to allow the definition of additional deployers. Doing this way, FI would remain clean and lightweight, and you will be able to install new bundles adding additional support for other artifacts (.lnk, .war, karaf features and so on) WDYT? I agree. - richard [1] http://www.nabble.com/-DISCUSS--Align-Karaf-deployer-and-felix-fileinstall-td24030876.html#a24032869 [2] http://svn.apache.org/repos/asf/felix/trunk/karaf/deployer/filemonitor/src/main/java/org/apache/felix/karaf/deployer/filemonitor/DeploymentListener.java -- Alin Dreghiciu Software Developer - Looking for new projects! My profile: http://www.linkedin.com/in/alindreghiciu My blog: http://adreghiciu.blogspot.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Zurich meetup
Will arrive in Zurich 8:15am on sunday. So.. dinner is great, but who joins for breakfast ? ;)Tsss, those cheap Flights are insane. On Fri, Jun 19, 2009 at 5:25 PM, Rob Walker r...@ascert.com wrote: Likewise! Richard S. Hall wrote: Wish I could be there! - richard On 6/19/09 10:28 AM, Filippo Diotalevi wrote: On Fri, Jun 19, 2009 at 4:23 PM, Marcel Offermansmarcel.offerm...@luminis.nl wrote: First time for me too, so no clue about good meeting points, I should arrive Sunday around 17:00. I'll arrive on Sunday afternoon too. A good meeting point can be the central station (Hauptbahnhof). From there we can easily walk to have dinner in the center. -- Ascert - Taking systems to the Edge r...@ascert.com +44 (0)20 7488 3470 www.ascert.com -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Release Status of Deployment Admin Implementation
Hey, Tell me what you have in mind. The Jira issues ? Localization is not started yet i see. Auto-Config is in progress (you ?) and also has some pieces in Apache Ace.. If i can help ? Just don't want to do overlap work. On Tue, Jun 16, 2009 at 9:15 AM, Christian van Spaandonkchristian.vanspaand...@luminis.nl wrote: Hi Toni, currently there is no concrete roadmap for releasing Deployment Admin. That, however, does not mean we should not be working towards a release :) I have been planning on addressing some of the existing issues for some time, I hope to have some time to spare for this purpose next month. friendly, Christian From: tonit@googlemail.com [tonit@googlemail.com] On Behalf Of Toni Menzel [t...@okidokiteam.com] Sent: Sunday, June 14, 2009 1:36 AM To: dev@felix.apache.org Subject: Release Status of Deployment Admin Implementation Hi, just found that the deployment admin implementation (currently version 0.9.0-SNAPSHOT) has not ever been released under the apache flag. Any plans to do so ? I see just http://issues.apache.org/jira/browse/FELIX-454: Autoconf http://issues.apache.org/jira/browse/FELIX-518: Localization Will the release delayed until both features are solved ? Otherwise i would like to see this - formally donated as 1.0 - version soon as 0.9.0 or so (current snapshot). Also, since recently it depends on a not yet released dependencymanager version (2.0.2-SNAPSHOT). There is just an outstanding patch: http://issues.apache.org/jira/browse/FELIX-1201 Probably start with this ? Toni -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: Deploying snapshots
Whats wrong with the public/private key combo ? Just currious.. On 6/16/09, Gert Vanthienen gert.vanthie...@gmail.com wrote: Richard, I don't think you can use a system variable or something like that to replace the settings password with Maven 2.0.x, but starting with Maven 2.1.x you can encrypt the passwords so they no longer have to be stored in plain text in your settings.xml file. Regards, Gert Vanthienen Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/6/16 Richard S. Hall he...@ungoverned.org: Yeah, I wanted to deploy snapshots of them and some others too, but it wasn't working for me as well. Is this the only way? I prefer to type in my password... - richard On 6/16/09 4:48 AM, Gert Vanthienen wrote: Guillaume, You should be able to do that if you specify your svn username/password in the Maven settings.xml file (cfr. http://maven.apache.org/developers/committer-settings.html). We had a discussion about using Hudson/Nexus for doing regular snapshot releases a while ago, but we decided to stick with our current Bamboo CI server. There's a pending INFRA issue (https://issues.apache.org/jira/browse/INFRA-2085) for getting that box set up for snapshot releases. Regards, Gert Vanthienen Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/6/16 Guillaume Nodetgno...@gmail.com: I'd like to deploy snapshots of framework / main onto the snapshot repository. What's the way to do this ? Atm, I end up with the following error: [INFO] Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/felix/org.apache.felix.framework/1.9.0-SNAPSHOT/org.apache.felix.framework-1.9.0-20090616.082913-1.jar. Return code is: 401 -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Release Status of Deployment Admin Implementation
Hi, just found that the deployment admin implementation (currently version 0.9.0-SNAPSHOT) has not ever been released under the apache flag. Any plans to do so ? I see just http://issues.apache.org/jira/browse/FELIX-454: Autoconf http://issues.apache.org/jira/browse/FELIX-518: Localization Will the release delayed until both features are solved ? Otherwise i would like to see this - formally donated as 1.0 - version soon as 0.9.0 or so (current snapshot). Also, since recently it depends on a not yet released dependencymanager version (2.0.2-SNAPSHOT). There is just an outstanding patch: http://issues.apache.org/jira/browse/FELIX-1201 Probably start with this ? Toni -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Felix 1.8.0 framework and main subproject releases
+1 (non binding vote) On 5/11/09, Felix Meschberger fmesc...@gmail.com wrote: +1 Regards Felix Karl Pauls schrieb: I would like to call a vote on the framework and main 1.8.0 subproject releases. Staging repository: https://repository.apache.org/content/repositories/felix-staging-016/ You can use this UNIX script to download the release and verify the signatures: http://svn.apache.org/repos/asf/felix/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 16 /tmp/felix-staging Additionally, a convenience binary release is provided at: http://people.apache.org/~pauls/1.8.0 Please vote to approve this release: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) -- Toni Menzel Independent Software Developer - Looking for new projects! Professional Profile: http://www.osgify.com Blog: tonitcom.blogspot.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [Karaf] Switching to blueprint ...
The separate VM is a followup of our default Pax Runner based TestContainer implementation. As such, there can be (many) different TestContainer implementations. Its just a matter of convinience you lose when not using the pax runner richness. If there is demand for a native felix testcontainer, we could do so in quite a short amount of time. Toni On Wed, Apr 29, 2009 at 9:01 AM, Guillaume Nodet gno...@gmail.com wrote: Cool. Just one question though. How difficult would it be to run the tests in the same JVM in an isolated classloader ? It would make debugging way easier than having to hack the test to add the necessary jvm option for remote debugging. 2009/4/29 Alin Dreghiciu adreghi...@gmail.com: About tests, afaik iPojo will move also towards Pax Exam. We are discussing with Clement about doing the necessary changes in Pax Exam to support all features required by iPojo tests which were available in junit4osgi. On Tue, Apr 28, 2009 at 4:45 PM, Guillaume Nodet gno...@gmail.com wrote: The past days, I've been working on the blueprint implementation inside Geronimo [1]. The spec is still being written so the implementation is not really stable and is still missing a lot of features. However, it's already somewhat usable and as I've hacked Karaf to start using blueprint instead of spring-dm in a branch [2]. Tests do not even compile, but I've been able to start the console, so I thought I would talk about it a bit. This raises the question whether we want to switch to blueprint instead of spring-dm. I think we should, and even have to, given that Spring-DM will switch to support Blueprint at some point in the future too. Also the blueprint spec is way better than spring-dm wrt to namespace handlers (that are considered dependencies, so we would not have problems with namespace handlers not being available when a bundle is started) and classloading (i think classes loaded for namespace handlers will be loaded from the namespace handler bundle, thus freeing the bundle to import all the namespace handlers packages), though those areas are in flux. If so, we might even want to do that before renaming the packages, as the patch is quite big and would be quite broken after the rename imho ... As for tests, we'd have to switch to something else, which could be junit4osgi from iPojo or pax-exam for example. Feedback welcome. [1] https://svn.apache.org/repos/asf/geronimo/sandbox/blueprint [2] https://svn.apache.org/repos/asf/felix/sandbox/gnodet/karaf-blueprint/ -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. Looking for a job. -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com -- Toni Menzel Independent Software Developer - Looking for new projects! Professional Profile: http://www.osgify.com Blog: tonitcom.blogspot.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Felix 1.6.1 framework and main subproject releases
+1 On Tue, Apr 28, 2009 at 12:28 PM, Richard S. Hall he...@ungoverned.orgwrote: +1 - richard On 4/26/09 5:48 PM, Karl Pauls wrote: I would like to call a vote on the framework and main 1.6.1 subproject releases. The source and binary release archives, signature files, SHA and MD5 message digests for each are available as zip and tar.gz here: http://people.apache.org/~pauls/1.6.1http://people.apache.org/%7Epauls/1.6.1 Additionally, a binary release is included (called felix-1.6.1). Please vote to approve these release archives: [ ] +1 Approve the releases [ ] -1 Veto the releases (please provide specific comments) -- Toni Menzel Independent Software Developer - Looking for new projects! Professional Profile: http://www.osgify.com Blog: tonitcom.blogspot.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [Karaf] Switching to blueprint ...
ok, we will have a solution tracked with this item: http://issues.ops4j.org/browse/PAXEXAM-79 On Wed, Apr 29, 2009 at 10:02 AM, Clement Escoffier clement.escoff...@gmail.com wrote: On 29.04.2009, at 09:08, Toni Menzel wrote: The separate VM is a followup of our default Pax Runner based TestContainer implementation. As such, there can be (many) different TestContainer implementations. Its just a matter of convinience you lose when not using the pax runner richness. If there is demand for a native felix testcontainer, we could do so in quite a short amount of time. Yes, there is a demand :-). As you know, I did some test with pax-exam. I find it pretty cool, but my main issue is that it dramatically slow... For example, running 2000 test case with junit4osgi (same VM isolated classloader) takes around 5 minutes 20 tests with pax:exam and the pax-runner container takes around 3 minutes. I agree that sometimes having a separated VM is great to avoid side-effects... But providing an alternative would be great: -(sometimes we're looking about side effects), but of course I have ideas about that that we can discuss (playing with test suite, were each test suite run it's own OSGi container...). Clement Toni On Wed, Apr 29, 2009 at 9:01 AM, Guillaume Nodet gno...@gmail.com wrote: Cool. Just one question though. How difficult would it be to run the tests in the same JVM in an isolated classloader ? It would make debugging way easier than having to hack the test to add the necessary jvm option for remote debugging. 2009/4/29 Alin Dreghiciu adreghi...@gmail.com: About tests, afaik iPojo will move also towards Pax Exam. We are discussing with Clement about doing the necessary changes in Pax Exam to support all features required by iPojo tests which were available in junit4osgi. On Tue, Apr 28, 2009 at 4:45 PM, Guillaume Nodet gno...@gmail.com wrote: The past days, I've been working on the blueprint implementation inside Geronimo [1]. The spec is still being written so the implementation is not really stable and is still missing a lot of features. However, it's already somewhat usable and as I've hacked Karaf to start using blueprint instead of spring-dm in a branch [2]. Tests do not even compile, but I've been able to start the console, so I thought I would talk about it a bit. This raises the question whether we want to switch to blueprint instead of spring-dm. I think we should, and even have to, given that Spring-DM will switch to support Blueprint at some point in the future too. Also the blueprint spec is way better than spring-dm wrt to namespace handlers (that are considered dependencies, so we would not have problems with namespace handlers not being available when a bundle is started) and classloading (i think classes loaded for namespace handlers will be loaded from the namespace handler bundle, thus freeing the bundle to import all the namespace handlers packages), though those areas are in flux. If so, we might even want to do that before renaming the packages, as the patch is quite big and would be quite broken after the rename imho ... As for tests, we'd have to switch to something else, which could be junit4osgi from iPojo or pax-exam for example. Feedback welcome. [1] https://svn.apache.org/repos/asf/geronimo/sandbox/blueprint [2] https://svn.apache.org/repos/asf/felix/sandbox/gnodet/karaf-blueprint/ -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. Looking for a job. -- Cheers, Guillaume Nodet Blog: http://gnodet.blogspot.com/ Open Source SOA http://fusesource.com -- Toni Menzel Independent Software Developer - Looking for new projects! Professional Profile: http://www.osgify.com Blog: tonitcom.blogspot.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. -- Toni Menzel Independent Software Developer - Looking for new projects! Professional Profile: http://www.osgify.com Blog: tonitcom.blogspot.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [vote] Use Nexus repository infrastructure for snapshots/releases deployment
+1 (non binding) On Tue, Apr 7, 2009 at 2:38 PM, Alin Dreghiciu adreghi...@gmail.com wrote: +1 (non binding) On Tue, Apr 7, 2009 at 2:42 PM, Stuart McCulloch mccu...@gmail.com wrote: Hi everyone, I'd like to call a vote on using the Nexus repository infrastructure for deploying snapshots/releases of Apache Felix The proposed changes to the Felix parent pom can be found here: https://issues.apache.org/jira/browse/FELIX-1029 We'll also need to update our release docs to match (based on http://maven.apache.org/developers/release/releasing.html) So, WYDT? [ ] +1 Yes, use Nexus infrastructure for deploying snapshots/releases of Apache Felix [ ] -1 No, keep with the current release process (please provide specific comments) -- Cheers, Stuart -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. Looking for a job. Sent from Cluj-Napoca, CJ, Romania -- Toni Menzel Software Developer Professional Profile: http://www.osgify.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [DISCUSS] Move ServiceMix Kernel into Felix as a subproject
I am also torn into the possibilities.Putting Karaf under felix will keep e.g. equinox advocates away (thats why Alex refer's to the devil :) ?) Also, any possible shortcoming (technical or political) of felix will directly affect Karaf as a higher level enterprisy solution. On the other hand, the one-shop stop for osgi sounds nice and convinient. But then you never stop and at best eat up ops4j pax tools as well next time. But to be honest, i never looked at smx4 before it was brought to the felix list. And Karaf has to earn the brand that felix already has. No real best solution at this point i guess. Maybe someone should (from smx4) should try to formulate a positioning statement. Then things may become more clear probably. cheers, Toni On Fri, Apr 3, 2009 at 11:38 AM, Alex Karasulu akaras...@gmail.com wrote: On Fri, Apr 3, 2009 at 9:50 AM, James Strachan james.strac...@gmail.com wrote: 2009/4/3 Niclas Hedhman nic...@hedhman.org: On Tue, Mar 31, 2009 at 12:03 AM, Guillaume Nodet gno...@gmail.com wrote: During ApacheCon last week, there has been some discussions around moving ServiceMix Kernel as a subproject of Felix. ServiceMix Kernel is a packaged distribution of Felix designed for server side applications (see http://servicemix.apache.org/kernel/for more informations). I think this would be beneficial for this project as it would enable to build a much bigger community around it, increase the visibility and the awareness around it. Of course, it would need a new name, but that's another problem. Another area that could be included in this move is the ServiceMix specs (OSGi enhanced versions of Java EE specifications from Geronimo) and ServiceMix bundles (we've released a bunch of bundles already, see http://servicemix.apache.org/smx4/bundles-repository.html). Guys, considering how much attention this have received, and positive comments all around (i'll add mine now), why move it to Felix. I think the aim was to build up the Karaf community; unify and align with more of Felix and hopefully get folks from outside of ServiceMIx and Felix to contribute and then when the community has grown we can go TLP later on if required. Yep it brings Karaf developers closer to Felix and Felix developers closer to Karaf. Furthermore it makes Felix a one stop shop for OSGi. I don't think we have the fear of ballooning up to a Jakarta either. I think Niclas, you, understand that so as your old friend I'm going to think this is one of your devil's advocate positions :-). Alex -- Toni Menzel Software Developer Professional Profile: http://www.osgify.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [DISCUSS] Move ServiceMix Kernel into Felix as a subproject
On Fri, Apr 3, 2009 at 12:40 PM, James Strachan james.strac...@gmail.comwrote: 2009/4/3 Toni Menzel t...@okidokiteam.com: I am also torn into the possibilities.Putting Karaf under felix will keep e.g. equinox advocates away (thats why Alex refer's to the devil :) ?) Also, any possible shortcoming (technical or political) of felix will directly affect Karaf as a higher level enterprisy solution. Not really - already Felix hosts lots of code which is independent of the actual OSGi runtime code - including a runtime adapter code so most of the Felix project itself can be used on equinox. Yeah, but then its because felix contains just too much ? You could also ask from felix perspective: Does felix describes itself as a osgi r4 framework + (default) compendium implementations OR an osgi ecosystem providing it all? Its basically all about measuring the Apache Felix brand (=put karaf into felix tpl project) against the chance to start rising an independent osgi enterprise eco system (where smx4knl already started at) On the other hand, the one-shop stop for osgi sounds nice and convinient. But then you never stop and at best eat up ops4j pax tools as well next time. But to be honest, i never looked at smx4 before it was brought to the felix list. And Karaf has to earn the brand that felix already has. No real best solution at this point i guess. Maybe someone should (from smx4) should try to formulate a positioning statement. Then things may become more clear probably. I wonder if this helps... http://servicemix.apache.org/SMX4KNL/index.html how did i miss that? But i would suggest to add the fact that is a kind of batteries included solution because all those features are promises felix itself could make when giving it a the right provisioning setup (fileinstall,url handlers,configadmin ..) The main benefit of caraf to me is - that everything is at its place by default (batteries included) - higher level provisioning: feature concept (not really highlighted on the page currently) - one shop stop for the features and their documentation (no true currently, a real must TODO when opening karaf) Don't get me wrong, as an osgi maniac its all fine great but putting on the standard J2EE-Hat we heard those days complaining about osgi (not ready for enterprise) it is not clear immediately that smx4knl is a good start for starting with osgi. Caraf really could start changing their minds when presented properly. http://servicemix.apache.org/SMX4KNL/index.html -- James --- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/ -- Toni Menzel Software Developer Professional Profile: http://www.osgify.com t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] release maven-bundle-plugin 2.0.0
+1 non binding vote On Fri, Feb 27, 2009 at 11:04 AM, Alin Dreghiciu adreghi...@gmail.comwrote: +1 (not binding) On Fri, Feb 27, 2009 at 11:01 AM, Stuart McCulloch mccu...@gmail.com wrote: Hi folks, I'd like to start a vote for the 2.0.0 release of the maven-bundle-plugin. This release primarily contains a major update of the Bnd tool, which now requires you to build with a Java5 JDK. It also contains a number of improvements requested by the community to improve usability. [ note you can still compile for earlier JVMs by using the appropriate source and target levels in the maven-compiler-plugin configuration ] Release 2.0.0 of the maven-bundle-plugin fixes the following issues: FELIX-807,FELIX-782,FELIX-660,FELIX-549,FELIX-546,FELIX-545, FELIX-831,FELIX-677 All fixed by updating to use the latest version of the Bnd Tool (0.0.311) FELIX-941: store the generated default symbolicname in $(maven-symbolicname) property FELIX-912: set default Export-Package based on local source files FELIX-684: support filters in excludeDependencies, such as *;scope=runtime FELIX-806: pickup archive settings and enable support of addMavenDescriptor setting FELIX-850: local fix for MSHARED-86 (should use isFile instead of exists) FELIX-899: widen dependency resolution and pass everything except test dependencies onto BND FELIX-760: commit latest bindex code (based on r95 from the OSGi subversion repository) FELIX-699: set analyzer base before loading properties in manifest goal [ plus additional debug to help with problem determination ] I've built and signed the release candidate and made it available here: http://people.apache.org/~mcculls/releases/felix/maven-bundle-plugin/2.0.0/org/apache/felix/maven-bundle-plugin/2.0.0/http://people.apache.org/%7Emcculls/releases/felix/maven-bundle-plugin/2.0.0/org/apache/felix/maven-bundle-plugin/2.0.0/ You can also find the KEYS for verifying the signature in this directory. To use the staging area as a plugin repository, add this to your POM: pluginRepositories pluginRepository idbundleplugin.staging/id url http://people.apache.org/~mcculls/releases/felix/maven-bundle-plugin/2.0.0http://people.apache.org/%7Emcculls/releases/felix/maven-bundle-plugin/2.0.0 /url /pluginRepository /pluginRepositories Please check this release and cast your votes - the vote will be open until Wednesday 4th March to give people time to test the new plugin (and also because I'm starting this vote on a Friday). [ ] +1 Yes, release it now [ ] -1 No, don't release now (please provide specific comments) -- Cheers, Stuart - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. http://www.codedragons.com - New Energy for Projects - Great People working on Great Projects at Great Places Sent from: Huissen Ge Netherlands. ___ general mailing list gene...@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general -- Toni Menzel Software Developer t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Release of the dependencymanager 2.0.0
+1 (non binding vote) On Fri, Jan 30, 2009 at 8:42 PM, Pierre De Rop pierre.de_...@alcatel-lucent.fr wrote: +1 /pierre Marcel Offermans wrote: Hello all, I'm opening a new vote for the first release candidate for the dependency manager and its optional shell command bundle. I've compiled everything and put it up for testing and checking here: http://people.apache.org/~marrs/dependencymanager-2.0.0/ The KEYS file for verifying the signature is also in this directory and the checksum files should have the correct format. The main reason for naming this release 2.0.0 is that there have been many 1.x versions and snapshots out there, so to avoid any confusion I'm starting with 2.0.0. Please check the release and cast your votes, the vote will be open for at least 72 hours: [ ] +1 Approve the release [ ] -1 Veto the release (please provide specific comments) Greetings, Marcel -- Toni Menzel Software Developer t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Release configadmin 1.0.8
+1 non binding vote On Thu, Jan 15, 2009 at 3:30 PM, Marcel Offermans marcel.offerm...@luminis.nl wrote: +1 -- Toni Menzel Software Developer t...@okidokiteam.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
Re: [VOTE] Felix 1.4.0 framework and related subproject release
+1 (non binding). Original-Nachricht Datum: Fri, 7 Nov 2008 18:33:26 +0100 Von: Karl Pauls [EMAIL PROTECTED] An: dev@felix.apache.org Betreff: Re: [VOTE] Felix 1.4.0 framework and related subproject release On Fri, Nov 7, 2008 at 6:18 PM, Stuart McCulloch [EMAIL PROTECTED] wrote: 2008/11/7 Karl Pauls [EMAIL PROTECTED] I would like to call a vote on the following subproject releases, bundlerepository 1.2.1 framework 1.4.0 main 1.4.0 The source and binary release archives, signature files, SHA and MD5 message digests for each are available as zip and tar.gz here: http://people.apache.org/~pauls/1.4.0http://people.apache.org/%7Epauls/1.4.0 Additionally, a binary release is included (called felix-1.4.0). Please vote to approve these release archives: [ ] +1 Approve the releases [ ] -1 Veto the releases (please provide specific comments) FYI, I notice there are some additional files in the binary zip: __MACOSX/... and the tgz: ._changelog_shell.txt ... these files don't seem to appear in the maven jars / zips so... +1 for the release, if these two binaries are cleaned up to remove the OSX cruft :) Good catch. Should be fixed now :-) regards, Karl -- Cheers, Stuart -- Karl Pauls [EMAIL PROTECTED]
Re: Library Enabling Test Framework...?
Yes, documentation is on the way. The project goals as well as the main obstacles for not using springDM's implementation can be found here: https://scm.ops4j.org/repos/ops4j/laboratory/users/tonit/incubator/drone/README There will be an official announcement on the ops4j mailinglist along with real documentation on the ops4j wiki somehwat next week. (hope every one is subscribed to it ;-) ?) till then, /Toni Original-Nachricht Datum: Wed, 4 Jun 2008 16:41:26 +0300 Von: Alin Dreghiciu [EMAIL PROTECTED] An: dev@felix.apache.org Betreff: Re: Library Enabling Test Framework...? As Guillaume pointerd out, Spring DM Testing support should be able to solve your use case. Toni Menzel is also working on such a testing support as part of Pax Drone, which is now in hie incubator but I expect that soon to be ready to use. There is no documentation yet about, but soon. Toni? Alin Dreghiciu On Wed, Jun 4, 2008 at 3:55 PM, Alex Karasulu [EMAIL PROTECTED] wrote: Niclas, Robert, It sounded to me as if Robert was more interested in a integration testing framework rather than the build tool used to generate the manifest and build the bundle. Please excuse me if I'm wrong here tho. I just wanted to say that Directory too would like to start using OSGi but the biggest impediment to date is having a good mini/micro integration testing framework to test our components in the container right after the bundle is generated by Maven for that module. We don't want to have to create a foo module then a foo-test module just to integration test since this will lead to a (Maven) module explosion. It would be nice to have a JUnit-ish framework for in situ testing OSGi bundles inside target containers. Like Robert we want to take bundle foo and make sure if it's a library, the classes there in function properly by running some tests that access those classes within the container. If foo bundle exposes a service we'd like to get a handle on that service and start running some tests on it etc. I think such a framework would help increase uptake. Best Regards, Alex On Wed, Jun 4, 2008 at 8:37 AM, Niclas Hedhman [EMAIL PROTECTED] wrote: On Saturday 31 May 2008 15:02, Robert Burrell Donkin wrote: over in JAMES, we'd like to OSGi enable our upcoming library releases so that they can be used unforked in OSGi environments. the plan is to use the maven plugin but we don't have a lot of OSGi experience. so i'd like to add some integration tests to check that the libraries function ok when used in an OSGi environment. this seems a reasonably general requirement and i was wondering about a general integration testing micro library to test that a library was correctly enabled. Robert, I think the first necessary step is to incorporate the so called BND tool into your build. If you are using Maven, then there is a plugin available here to make it easier. BND recursively walks through the classes and figures out what is needed and compares that against a recipe that you specify. The recipe can either be explicit (in which case every import has to specified or else an error) or you use wildcards (less recommended). The recipe also contains information about which packages should be Exported, ignored and kept private. With BND it is not too hard to maintain the recipe (typically an external file), and will lower the initial need for in-container tests. Setting it up is easy, if you know what you are doing, so I suggest that someone here volunteers (Stuart???) to help you out. Cheers -- Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. http://malaysia.jayway.net - New Energy for Projects - Great People working on Great Projects at Great Places
[jira] Commented: (FELIX-528) Support nested folders in fileinstall
[ https://issues.apache.org/jira/browse/FELIX-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12601132#action_12601132 ] Toni Menzel commented on FELIX-528: --- Does ANYONE care about this NEW (for felix) component anymore ? I mean, there are some rather trivial patches flying arround Jira in this component now since nearly two months. Since nobody commits or rejects those patches, i don't see chances for bigger enhancements to be added as well. So, it would be nice if somebody could clarify the future of this component in felix ? Otherwise i would suggest other place for this component with lower barriers of entry to make things happen. (?) Toni Support nested folders in fileinstall - Key: FELIX-528 URL: https://issues.apache.org/jira/browse/FELIX-528 Project: Felix Issue Type: New Feature Components: File Install Reporter: Toni Menzel Priority: Minor Attachments: FELIX-528.patch Currently FileInstall just supports flat jar-Files as bundles in its load folder. How about supporting (nested) folders? This way, you could: 1. just drop an arbitrary folder structure and fileinstall would install all bundles inside. 2. you could enable/disable entire bundle-sets with: 2a. in/move it out of the folder 2b. rename the folder with prefix that means unrecognized folder Just a thought.. Toni -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-534) Allow filtering by status in ps command (shell)
[ https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-534: -- Attachment: FELIX-534_2.patch well, you are right. I implemented a unix style piping mechanism on top of the current Command implementation. Now this is possible: # ps | grep 'compendium' # headers | grep 'Export-Package' | grep 'org.osgi.framework' and alike. The new GrepCommandImpl uses an extended Command Interface that supports InputStreams. I integrated those type of commands into ShellServiceImpl. Keep in mind that i fought a bit with the Piping stuff but ..well i'll try to fix things if they show up. Anyway, wdyt about the general approach? Toni Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Reporter: Toni Menzel Priority: Minor Attachments: FELIX-534.patch, FELIX-534_2.patch If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-534) Allow filtering by status in ps command (shell)
[ https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-534: -- Attachment: (was: FELIX-534.patch) Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Reporter: Toni Menzel Priority: Minor Attachments: FELIX-534_2.patch If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-534) Allow filtering by status in ps command (shell)
[ https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-534: -- Attachment: FELIX-534_3.patch FELIX-534_3.patch is a revised patch without extra formatting. The grep command now accepts a -e flag to submit raw regular expressions. Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Reporter: Toni Menzel Priority: Minor Attachments: FELIX-534_2.patch, FELIX-534_3.patch If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-529) improve logging in FileInstall
[ https://issues.apache.org/jira/browse/FELIX-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-529: -- Attachment: FELIX-529.patch LogService Support, Minore integration improvements for FileInstall - use LogService as primary log target. Fallback to sysout/err - tighten visibility of member vars to private instead of packagelevel. - contains feature FELIX-524 and FELIX-528 - replaced static references with explicit parameters - cancelation flag should be (at least) volatile to ensure visibility - renamed non obvious field names (like jarfile) improve logging in FileInstall -- Key: FELIX-529 URL: https://issues.apache.org/jira/browse/FELIX-529 Project: Felix Issue Type: Bug Components: File Install Reporter: Toni Menzel Priority: Trivial Attachments: FELIX-529.patch Logging currently goes to System.err Stream and prints common null arguments - like Exception. This leads to common messages like Installed pax-url-mvn-0.3.1-SNAPSHOT.jar: null on the error console. Fix: - Remove exception if null. - write messages to System.out (like they usually do in felix) (i think there is no patchfile required, is it?) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-534) Allow filtering by status in ps command (shell)
[ https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588437#action_12588437 ] Toni Menzel commented on FELIX-534: --- Not sure about the word simple: Is the java.util.regex implementation too slow/memory intense itself to be used or is it the probability of complex stuff someone _could_ enter? I don't think an ldap filter would give better usability for 85% of usages compared to a simple substring matching. In this case i'd just use a substring matching. Though it reduces much of the capabilities - not sure about maybe providing a different set of powerful commands for powerful machines? And the whole piping thing makes a lot more stuff possible but won't run/be useful on small devices. Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Reporter: Toni Menzel Priority: Minor Attachments: FELIX-534_2.patch, FELIX-534_3.patch If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-528) Support nested folders in fileinstall
[ https://issues.apache.org/jira/browse/FELIX-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588440#action_12588440 ] Toni Menzel commented on FELIX-528: --- FELIX-529 contains this one as well as some other (small) so to say improvements. Support nested folders in fileinstall - Key: FELIX-528 URL: https://issues.apache.org/jira/browse/FELIX-528 Project: Felix Issue Type: New Feature Components: File Install Reporter: Toni Menzel Priority: Minor Attachments: FELIX-528.patch Currently FileInstall just supports flat jar-Files as bundles in its load folder. How about supporting (nested) folders? This way, you could: 1. just drop an arbitrary folder structure and fileinstall would install all bundles inside. 2. you could enable/disable entire bundle-sets with: 2a. in/move it out of the folder 2b. rename the folder with prefix that means unrecognized folder Just a thought.. Toni -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-524) Support Environment variables for getting the load directory for FileInstall
[ https://issues.apache.org/jira/browse/FELIX-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588439#action_12588439 ] Toni Menzel commented on FELIX-524: --- FELIX-529 contains this one as well as some other (small) so to say improvements. Support Environment variables for getting the load directory for FileInstall Key: FELIX-524 URL: https://issues.apache.org/jira/browse/FELIX-524 Project: Felix Issue Type: New Feature Components: File Install Reporter: Peter Kriens Attachments: FELIX-524.patch Currently, File Install only looks in the System properties for the name of the the load directory. I want to use it inside Eclipse (getting tired of update manager) but then it would be nice if file install could be get the load directory from an environment variable. This way, when I install a new Eclipse I only have to install file install and load my extra bundles from one location. If it was a property, I would have to edit configuration files. I added this in my local aQute copy, if nobody takes up the maintenance of this unit then I can do it if I get commit access -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (FELIX-534) Allow filtering by status in ps command (shell)
Allow filtering by status in ps command (shell) --- Key: FELIX-534 URL: https://issues.apache.org/jira/browse/FELIX-534 Project: Felix Issue Type: New Feature Reporter: Toni Menzel Priority: Minor If you have many bundles it would be nice if you could filter certain status when executing the ps command like so: ps active resolved -- shows active and resolved bundles ps -- shows all bundles (just like its currently) Simple solution is attached. btw.: there is no shell component in Felix Jira.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-528) Support nested folders in fileinstall
[ https://issues.apache.org/jira/browse/FELIX-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-528: -- Attachment: FELIX-528.patch If you like this feature, patch is attached. Toni Support nested folders in fileinstall - Key: FELIX-528 URL: https://issues.apache.org/jira/browse/FELIX-528 Project: Felix Issue Type: New Feature Components: File Install Reporter: Toni Menzel Priority: Minor Attachments: FELIX-528.patch Currently FileInstall just supports flat jar-Files as bundles in its load folder. How about supporting (nested) folders? This way, you could: 1. just drop an arbitrary folder structure and fileinstall would install all bundles inside. 2. you could enable/disable entire bundle-sets with: 2a. in/move it out of the folder 2b. rename the folder with prefix that means unrecognized folder Just a thought.. Toni -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (FELIX-530) Separate DirectoryWatch function from action
Separate DirectoryWatch function from action Key: FELIX-530 URL: https://issues.apache.org/jira/browse/FELIX-530 Project: Felix Issue Type: New Feature Components: File Install Reporter: Toni Menzel I would like to pull the actions out of the DirectoryWatcher class. Instead, this class just detect/tracks changes like it currently does and calls an appropriate action contributed via extender pattern. This way, other bundles can 1. contribute functionality like handling other stuff than final bundles and .cfg files. 2. replace the current behavior 3. DirectoryWatcher gets slicker / easier to maintain The current two behaviors (install/update/remove on .jar Bundles and .cfg) could be installed in the activator by default (just like felix.shell does with its commands) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (FELIX-528) Support nested folders in fileinstall
Support nested folders in fileinstall - Key: FELIX-528 URL: https://issues.apache.org/jira/browse/FELIX-528 Project: Felix Issue Type: New Feature Components: File Install Reporter: Toni Menzel Priority: Minor Currently FileInstall just supports flat jar-Files as bundles in its load folder. How about supporting (nested) folders? This way, you could: 1. just drop an arbitrary folder structure and fileinstall would install all bundles inside. 2. you could enable/disable entire bundle-sets with: 2a. in/move it out of the folder 2b. rename the folder with prefix that means unrecognized folder Just a thought.. Toni -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-512) Sort files before installing
[ https://issues.apache.org/jira/browse/FELIX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12586151#action_12586151 ] Toni Menzel commented on FELIX-512: --- So, what's the case here now? This item can be closed with won't fix because of peter's explanation? Personally i'd agree him. Sort files before installing Key: FELIX-512 URL: https://issues.apache.org/jira/browse/FELIX-512 Project: Felix Issue Type: Improvement Components: File Install Reporter: Rodrigo Madera Priority: Minor Make the component sort the files it reads before it installs them, that way we can use names as in Linux's rc directories: 100_bundle_one 110_bundle_two 120_bundle_three etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-524) Support Environment variables for getting the load directory for FileInstall
[ https://issues.apache.org/jira/browse/FELIX-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-524: -- Attachment: FELIX-524.patch I needed this one (with Environment variables you mean data retrieved by System.getenv , correct?) lately. I've added my changes to this item. Support Environment variables for getting the load directory for FileInstall Key: FELIX-524 URL: https://issues.apache.org/jira/browse/FELIX-524 Project: Felix Issue Type: New Feature Components: File Install Reporter: Peter Kriens Attachments: FELIX-524.patch Currently, File Install only looks in the System properties for the name of the the load directory. I want to use it inside Eclipse (getting tired of update manager) but then it would be nice if file install could be get the load directory from an environment variable. This way, when I install a new Eclipse I only have to install file install and load my extra bundles from one location. If it was a property, I would have to edit configuration files. I added this in my local aQute copy, if nobody takes up the maintenance of this unit then I can do it if I get commit access -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (FELIX-529) improve logging in FileInstall
improve logging in FileInstall -- Key: FELIX-529 URL: https://issues.apache.org/jira/browse/FELIX-529 Project: Felix Issue Type: Bug Components: File Install Reporter: Toni Menzel Priority: Trivial Logging currently goes to System.err Stream and prints common null arguments - like Exception. This leads to common messages like Installed pax-url-mvn-0.3.1-SNAPSHOT.jar: null on the error console. Fix: - Remove exception if null. - write messages to System.out (like they usually do in felix) (i think there is no patchfile required, is it?) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [VOTE] Felix 1.0.1 framework and main release
+1 Approve the Felix 1.0.1 framework and main releases. (non-binding) /Toni
Re: Felix Shell TUI and JLine
Niclas, the api supports configuring the magic completion behavior - so it isn't magic. Looks like the native benefit is just to get better buffering of the incoming stream (this is why System.in by default is pretty ugly) Having a pure java solution couldn't be too hard (just think of java5/6) but actually haven't been done yet. :-( What currently blocks me from testing jline is the fact that it does not work on my current corporate machine based running winXP. Anyone got that ? (there is a bug at http://sourceforge.net/tracker/index.php?func=detailaid=1671224group_id=64033atid=506056) Toni Original-Nachricht Datum: Wed, 29 Aug 2007 16:52:52 +0800 Von: Niclas Hedhman [EMAIL PROTECTED] An: dev@felix.apache.org Betreff: Re: Felix Shell TUI and JLine On Wednesday 29 August 2007 15:27, Karl Pauls wrote: it used shutdown hooks to switch the tty back to buffered mode; and the native code (which is only used for windows btw.) didn't work for me under XP. I must be dense, but why is such library going down to the shell/native at all?? How does tab completion have any clue that buntab means bundle and can only be followed by bundle IDs of installed bundles?? And how hard could it be to do such support directly in Shell TUI?? Cheers -- Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug
[jira] Updated: (FELIX-329) Calling Felix.stopAndWait() from Runtime.shutdownHook() freezes thread
[ https://issues.apache.org/jira/browse/FELIX-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Toni Menzel updated FELIX-329: -- Summary: Calling Felix.stopAndWait() from Runtime.shutdownHook() freezes thread (was: Calling Felix.stopAndWait() from Runtime.shutdownHook() freezed thread) Calling Felix.stopAndWait() from Runtime.shutdownHook() freezes thread -- Key: FELIX-329 URL: https://issues.apache.org/jira/browse/FELIX-329 Project: Felix Issue Type: Bug Components: Framework Environment: tested on trunk (r555374) Reporter: Toni Menzel Fix For: 1.0.0 if a shutdownHook invokes Felix.stopAndWait() the monitor never gets notified and stays wait() forever. Until now i haven't found a direct way to fix this behaviour normally but if we could use the timeout version wait(int) instead of wait() this behaviour is not tied to the monitor.notifyAll() functionality. (so perhaps its the better solution anyway and not just a workaround?) Toni -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: problem with bundle instantiation
not sure if this is the problem, but if you expect different service implementations in a context, you always can get them using bundleContext.getServiceReferences(..) returning an array of ServiceReferences. If you deal with Services the ServiceTracker (org.osgi.tracker.ServiceTracker) is always worth looking at. Does this match your problem? otherwise try to reformulate your question.. regards, Toni Original-Nachricht Datum: Thu, 12 Jul 2007 11:58:04 +0200 Von: christine louberry [EMAIL PROTECTED] An: [EMAIL PROTECTED] Betreff: problem with bundle instantiation Hi everybody, I am developping an application where I have to associate a bundle to an other bundle providing a service A. However I want to have several bundles which provide the same service A. When I execute a getServiceReference on this service, I want it returns a list which contains the references of the registrations of service A. Until now, I cannot manage to get the different registrations of service, the getServiceReference method returns the reference of the first bundle which registrates the service. Is it possible to do this with Felix or not ? Does someone got the solution ? Thanks. Chris.
Re: Niclas Hedhman joins the Felix PMC
Congratulations from me, too! Toni Didier Donsez schrieb: Congratulations! best regards, Didier Richard S. Hall [EMAIL PROTECTED] wrote: Hello everyone, The Felix PMC members offered Niclas Hedhman a spot on the Felix PMC and he has accepted. We all appreciate Niclas' active involvement in both OSGi- and Apache-related issues and look forward to his continued involvement in making Felix a success. Congratulations Niclas and welcome aboard. - richard -- Toni Menzel http://www.tonit.com mailto:[EMAIL PROTECTED]
Re: NPE in BND
i got a similar problem on felix where they had substitution brackets without actual substitutions.. bnd was not very happy with this. Probably your problem is going into this direction? btw, this was my problem: Include-Resource{src/main/resources/}/Include-Resource Fixed with Include-Resourcesrc/main/resources//Include-Resource Peter agreed to make bnd more indulgent ;-) Toni
Re: NPE in BND
Stuart, its archived here: http://mail-archives.apache.org/mod_mbox/felix-dev/200705.mbox/[EMAIL PROTECTED] (and its followups) it turns put that it was not a NPE but may show some indicators.. Toni Original-Nachricht Datum: Thu, 24 May 2007 20:02:02 +0800 Von: Stuart McCulloch [EMAIL PROTECTED] An: dev@felix.apache.org Betreff: Re: NPE in BND On 24/05/07, Toni Menzel [EMAIL PROTECTED] wrote: i got a similar problem on felix where they had substitution brackets without actual substitutions.. bnd was not very happy with this. Probably your problem is going into this direction? btw, this was my problem: Include-Resource{src/main/resources/}/Include-Resource hi toni - could you provide a bit more info? the {...} indicates that files in this folder should be filtered before including them in the bundle - do you mean your pom didn't have any properties to substitute (unlikely) or there weren't any files to filter? Fixed with Include-Resourcesrc/main/resources//Include-Resource Peter agreed to make bnd more indulgent ;-) neat - any idea which version of bnd will (or does) contain this fix? Toni -- Cheers, Stuart