Re: maven-bundle-plugin: built bundle shows bundle could not be resolved

2007-09-12 Thread Stuart McCulloch
On 12/09/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi, am using maven-bundle-plugin 1.1.0-SNAPSHOT. building bundle works fine, but when installing and trying to start i get a BundleException: The bundle could not be resolved. Reason Missing Constraint. Import-Package: antlr; so it

Re: useradmin example [was OSGi Best Practices]

2007-09-12 Thread Stuart McCulloch
Hi Rodrigo, You can find a simple example in Pax Wicket, which is an OSGi-based extension to the Wicket framework http://wiki.ops4j.org/confluence/display/ops4j/Pax+Wicket (in progress doc http://www.ops4j.org/projects/pax/wicket) the org.ops4j.pax.wicket.util.UserAdminAuthenticator maps

Import-Package question (was: Declarative Services with maven-bundle-plugin)

2007-09-18 Thread Stuart McCulloch
Hi Rodrigo, (I've started a new thread for this topic - rather than have multiple topics in one thread) On 19/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Hello again, Comming with another problem, I have a service called Greeter with GreeterImpl. The only method available is public

Re: Import-Package question (was: Declarative Services with maven-bundle-plugin)

2007-09-19 Thread Stuart McCulloch
/07, Stuart McCulloch [EMAIL PROTECTED] wrote: On 19/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Thank you for your replies. However, this comes to mind: If your code refers to a class in the org.eclipse.osgi.framework.console package, the Bundle plugin

Re: connection of maven-bundle-plugin functionality to eclipse IDE OSGi startup?

2007-09-21 Thread Stuart McCulloch
On 21/09/2007, Stuart McCulloch [EMAIL PROTECTED] wrote: Hi Michael, On 21/09/2007, Hampel, Michael [EMAIL PROTECTED] wrote: Hello, Regarding the answer of Stuart I have a question about the intended use of the bundleplugin Manifest goal. In the moment we are using the goal

Re: connection of maven-bundle-plugin functionality to eclipse IDE OSGi startup?

2007-09-21 Thread Stuart McCulloch
:[EMAIL PROTECTED] Im Auftrag von Stuart McCulloch Gesendet: Freitag, 21. September 2007 10:00 An: users@felix.apache.org Betreff: Re: connection of maven-bundle-plugin functionality to eclipse IDE OSGi startup? On 21/09/2007, Stuart McCulloch [EMAIL PROTECTED] wrote: Hi Michael, On 21/09

Re: Maven bundle plugin bundleall goal

2007-09-21 Thread Stuart McCulloch
On 21/09/2007, Hampel, Michael [EMAIL PROTECTED] wrote: Hello, I have a question regarding the bundleall goal of the bundle plugin. Is it possible to instruct this goal with an inclusion/exclusion filter based on the dependency scope (compile, runtime..) or the optional element like it is

Re: connection of maven-bundle-plugin functionality to eclipse IDE OSGi startup?

2007-09-21 Thread Stuart McCulloch
On 21/09/2007, Stuart McCulloch [EMAIL PROTECTED] wrote: On 21/09/2007, Stuart McCulloch [EMAIL PROTECTED] wrote: perhaps we should update the bundle goal so it also writes the manifest to the file system, by default to target/classes/META-INF but allow custom locations... then you'd

Re: Proper Dependencies with BND

2007-09-22 Thread Stuart McCulloch
On 22/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: I have a doubt regarding BND... Let's say that the bundle WorldwideGreeter-1.0.jar exports the package com.acme.greeter.*. With BND + Maven, you could add a dependency that would actually see the bundle's JAR file as a normal Maven

Re: Projects that have a bundle packaging instead of jar

2007-09-23 Thread Stuart McCulloch
On 23/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: What's the difference between supplying bundle and jar as packaging? in maven, the pom packaging defines its build life-cycle: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html the bundle packaging replaces

Re: Projects that have a bundle packaging instead of jar

2007-09-23 Thread Stuart McCulloch
jarfile overwritten by BND when it runs :) Thanks for the input! Rodrigo On 9/23/07, Stuart McCulloch [EMAIL PROTECTED] wrote: On 23/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Sorry, forgot this part, which is the main one: plugin

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Stuart McCulloch
On 24/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Ok thanks, but also regarding the plugin, check this piece of code: plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Stuart McCulloch
On 24/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Also, do you know how to make SCR run on every child without making it explicit on every pom.xml? Something I can add to the parent pom.xml? you could either add the following to the parent pom: plugin

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Stuart McCulloch
On 24/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: BTW: I am forced to add an executions section for the BND plugin _AND_ for SCR for it to work. Is this what you would expect? Please let me know if there is some trick/tip to simplify this setup (children pom.xml's with BND+SCR).

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Stuart McCulloch
you for so much help, Rodrigo On 9/24/07, Stuart McCulloch [EMAIL PROTECTED] wrote: On 24/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: BTW: I am forced to add an executions section for the BND plugin _AND_ for SCR for it to work. Is this what you would expect? Please

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Stuart McCulloch
the top then maven will order the reactor build to ensure that artifacts are installed in order of use - so the right package will be used. Thanks, Rodrigo On 9/24/07, Stuart McCulloch [EMAIL PROTECTED] wrote: On 24/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Excellent. Now

Re: Having problems with maven-bundle-plugin

2007-09-24 Thread Stuart McCulloch
/executions /plugin My head is spinning at this point... please enlighten me =P I'll need to see the actual poms to help - send a zip of them to my personal email Yours, Rodrigo On 9/24/07, Stuart McCulloch [EMAIL PROTECTED] wrote: On 24/09/2007, Rodrigo Madera [EMAIL

Re: AW: connection of maven-bundle-plugin functionality to eclipse IDE OSGi startup?

2007-09-24 Thread Stuart McCulloch
On 24/09/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hampel, Michael schrieb: Hello Stuart, I have tried it and it's working great - thank you a lot for the fast help, i agree with that, thanks! but still there is a problem with dependency resolution. i am using

Re: Cannot find org.apache.felix:maven-obr-plugin

2007-09-24 Thread Stuart McCulloch
On 25/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Hello all, I am now getting a: [INFO] The plugin 'org.apache.felix:maven-obr-plugin' does not exist or no valid version could be found Failure on all my builds... Does anyone know anything about why this may be happening? yes

Re: When will be the next release for maven-bundle-plugin?

2007-09-25 Thread Stuart McCulloch
On 25/09/2007, Karl Pauls [EMAIL PROTECTED] wrote: Well, right now It looks to me as if we still have a lot of activity going on. As soon as that is going down a bit and Stuart tells me it is ready I can cut a release (unless Stuart likes to do it himself). ideally I'd like to get FELIX-360

Re: Log Service Implementation

2007-09-26 Thread Stuart McCulloch
On 27/09/2007, Richard S. Hall [EMAIL PROTECTED] wrote: Burak Taysi wrote: Hi, I was looking at the LogService implementation in the Felix Source code. It keeps all the messages in memory and we can add a LogListener to retrieve the messages for the LogService. Was there a reason

Re: maven-bundle-plugin: built bundle shows bundle could not be resolved

2007-09-26 Thread Stuart McCulloch
just to follow up on this question... On 12/09/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: how does bnd analyze package dependencies? does it look at bytecode (from classes/jars) and its import statements? what about unused imports, are they included too? what is bnd analyzing (i guess

Re: Fragment Bundles with maven-bundle-plugin

2007-09-26 Thread Stuart McCulloch
Hi Rodrigo, On 26/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Hello, Does anyone have an example of how to create fragment bundles with maven-bundle-plugin? I have a bundle called Greeter-1.0.jar that needs some .properties files that will be read using Java standard ResourceBundles.

Re: bundle-classpath problem

2007-09-27 Thread Stuart McCulloch
On 27/09/2007, Achim Brandes [EMAIL PROTECTED] wrote: Hello, I think I hav a problem with the Bundle-Classpath. I want to import some jars inside the bundle-jarfile, so I used the Expression Bundle-Classpath: xy.jar. But by starting my app I get a FileNotFoundException, cause the Class

Re: bundle-classpath problem

2007-09-27 Thread Stuart McCulloch
Hi Achim, On 27/09/2007, Achim Brandes [EMAIL PROTECTED] wrote: I thought the standard java-packages are automatical avaible for the bundles. But javax.naming can't be resolved. could you tell us what version of JDK and Felix you are using, and how are you starting Felix? also is there an

Re: ORB Libraries

2007-09-27 Thread Stuart McCulloch
On 28/09/2007, Rodrigo Madera [EMAIL PROTECTED] wrote: Yes, this a sun implementation package - because it's not a java.* package, it's not exported by the system bundle (I believe it's not in the config either) This particular package is in the JMX reference implemation, but is

Re: ORB Libraries

2007-09-28 Thread Stuart McCulloch
- and if you use the latest bundle snapshot, this will also install them locally to an OBR file inside your local maven repository. you can then point the Felix OBR to this local repository, and use OBR to install the bundles. = Thanks for all your help, Rodrigo On 9/28/07, Stuart

Re: build eclipse plugin using maven-bundle-plugin

2007-10-20 Thread Stuart McCulloch
/projects/pax/construct/index.html any questions on Pax-Construct can be posted to the general OPS4J mailing list (http://lists.ops4j.org/mailman/listinfo/general) HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart McCulloch Sent: sexta-feira, 19 de

Re: getAllServiceReferences vs getServiceReferences ?

2007-10-22 Thread Stuart McCulloch
On 22/10/2007, David Lindelöf [EMAIL PROTECTED] wrote: Hi all, BundleContext.getAllServiceReferences(...) and getServiceReferences(...) have the same signature and almost same Javadoc. I do not understand their difference. Could somene please help me? getServiceReferences(...) returns

Re: Fragments and Split Packages

2007-10-25 Thread stuart . mcculloch
as I understand it, Felix does not yet support bundle fragments: http://issues.apache.org/jira/browse/FELIX-29 which would explain why your code works on other R4 frameworks. On 25/10/2007, Pierre De Rop [EMAIL PROTECTED] wrote: Hello community; I am facing an issue concerning

Re: Problem with the Eclipse plugin

2007-10-26 Thread Stuart McCulloch
like this: projectDescription namefoo/name comment/ projects/ buildSpec/ natures/ /projectDescription Thanks, Matt Clark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart McCulloch Sent: Thursday, October 25, 2007 11:04 PM

Re: Maven bundle plugin

2007-11-12 Thread Stuart McCulloch
On 12/11/2007, Martijn Hendriks [EMAIL PROTECTED] wrote: Hi, We're moving from the old maven-osgi-plugin to the maven-bundle-plugin. We used to have a osgi-bundle subproject that embedded a library and another jar subproject that had a compile-scope dependency on the bundle. This worked

Re: getting started but maven-bundle-plugin

2007-11-28 Thread Stuart McCulloch
On 28/11/2007, Elvy [EMAIL PROTECTED] wrote: Let's be clear... export is in manifest for the OSGi framework to know about the packages you provide packaged is the inclusion inside the bundle (inlined or not) Since I first want to understand the mecanics, I though of exporting nothing

Re: getting started but maven-bundle-plugin

2007-11-28 Thread Stuart McCulloch
On 29/11/2007, Elvy [EMAIL PROTECTED] wrote: With the 1.1.0-SNAPSHOT version, I'm starting to understand better how it all works since it actually gives me what I intended to build! :clap: Proper 1.1.0 release is sheduled for end of year, ain't it? yep Another thing... Where can we

Re: getting started but maven-bundle-plugin

2007-11-29 Thread Stuart McCulloch
On 29/11/2007, Elvy [EMAIL PROTECTED] wrote: What are the configuration tags allowed for the maven-bundle-plugin? plugin ... configuration !-- ??? what can be put here ??? -- instructions ... /instructions /configuration ... /plugin The only

Re: Anarchy in Private-Package and Import-Package

2007-12-03 Thread Stuart McCulloch
On 03/12/2007, Elvy [EMAIL PROTECTED] wrote: After investigating my MANIFEST file, I can't find any Private-Package entry concerning com.tacticaleditor. There are entries from all the packages I depend on, but nothing for my own Bundle classes. How is that possible? I clearly stated

Re: [Fwd: Re: Jetty, Security and OSGi?]

2007-12-10 Thread Stuart McCulloch
On 10/12/2007, Felix Meschberger [EMAIL PROTECTED] wrote: Hi Rob, Am Montag, den 10.12.2007, 08:50 + schrieb Rob Walker: From what I remember, OSGi supports a basic authentication via the following method on the HttpContext public boolean handleSecurity(HttpServletRequest

Re: what about plexus-utils 1.4.9-SNAPSHOT?

2007-12-12 Thread Stuart McCulloch
like this won't happen before 2008, I'm going to revert to the earlier versions and do a release (possibly next week) - reverting these components only affects people using the bundleall goal once it's released I'll reapply the snapshot components to the new bundle-plugin snapshot Stuart McCulloch

Re: Activator not found

2007-12-12 Thread Stuart McCulloch
On 13/12/2007, james yong [EMAIL PROTECTED] wrote: Hi, I encounter the following error when starting felix. ERROR: Error starting file:C:/workspace/ApacheWelo/bundle/com.foo.osgi.window.text_1.0.0.jar (org.osgi.framework.BundleException: Not found: com.foo.osgi.window.text.Activator)

Re: maven-bundle-plugin problem

2007-12-13 Thread Stuart McCulloch
On 14/12/2007, Jaime Osgi [EMAIL PROTECTED] wrote: I've just started with this maven plugin to develop OSGi bundles, but I cannot make it work. I've followed this document: http://cwiki.apache.org/confluence/display/FELIX/Maven+Bundle+Plugin+%28BND%29 Whenever I include:

Re: maven-bundle-plugin problem

2007-12-14 Thread Stuart McCulloch
. righto, could you raise an issue over at JIRA: https://issues.apache.org/jira/browse/FELIX/component/12311143 as this sounds like something we should fix :) BR, Jorge 2007/12/14, Stuart McCulloch [EMAIL PROTECTED]: On 14/12/2007, Jaime Osgi [EMAIL PROTECTED] wrote: Hi Stuart

Re: Classes duplicated when using Embed-dependency

2007-12-21 Thread Stuart McCulloch
On 21/12/2007, GERODOLLE Anne RD-MAPS-GRE [EMAIL PROTECTED] wrote: Hi everybody, I have noticed that when using Embed-Dependency, if it occurs that one of the packages in the embedded library is either exported or declared as private, classes of this package are also put in the jar, so that

Re: Classes duplicated when using Embed-dependency

2007-12-21 Thread Stuart McCulloch
On 21/12/2007, Stuart McCulloch [EMAIL PROTECTED] wrote: On 21/12/2007, GERODOLLE Anne RD-MAPS-GRE [EMAIL PROTECTED] wrote: Hi everybody, I have noticed that when using Embed-Dependency, if it occurs that one of the packages in the embedded library is either exported or declared

Re: Classes duplicated when using Embed-dependency

2007-12-21 Thread Stuart McCulloch
On 21/12/2007, Felix Meschberger [EMAIL PROTECTED] wrote: Hi Anne, You basically have two choices of adding dependencies to your bundles: As Export/Private-Package or by embedding as a dependency. If you embed the dependency as you did, the jar file is included in the bundle as instructed.

Re: Copies class files from embedded jars

2007-12-25 Thread Stuart McCulloch
On 24/12/2007, Ravindar Reddy [EMAIL PROTECTED] wrote: I am trying to create an example wrapper bundle around and existing jar file using maven-bundle-plugin (1.1.0-SNAPSHOT). I exported some packages from this embedded jar so that they can be used in other bundles. I found out that the

New bundleplugin snapshot

2008-01-08 Thread Stuart McCulloch
Hi folks, FYI, I've just deployed a new bundleplugin snapshot that updates bndlib to 0.0.227, which disables the spring XML parser by default. This is hopefully the last snapshot before we cut a release for 1.2.0 so let me know if you find any issues using it :) -- Cheers, Stuart

Re: Bundle in RESOLVED state even after a class has been loaded by that bundle

2008-01-11 Thread Stuart McCulloch
On 12/01/2008, Richard S. Hall [EMAIL PROTECTED] wrote: Sahoo wrote: Richard S. Hall wrote: In R4.1, class loading is currently the only defined trigger that causes deferred activation. It's exactly this choice of trigger that had confused me earlier. I am not sure why

New bundleplugin candidate build

2008-01-12 Thread Stuart McCulloch
Hi folks, I just deployed a new bundleplugin snapshot (build number 1.1.0-20080112.204303-31) which I updated to depend on the recently released maven-obr-plugin, plus minor fixes. Ideally, I'd like to cut the 1.2.0 release early next week, so please try it out and let me know if you spot

Re: Felix does not start with bootdelegation=*

2008-01-15 Thread Stuart McCulloch
On 15/01/2008, Karl Pauls [EMAIL PROTECTED] wrote: I am hoping that if I add my library jars in system classpath and set bootdelegation=*, the library jar's content will be automatically available to other bundles even if I don't set org.osgi.framework.system.packages property. Is this

Re: Which branch to use for 1.0.2

2008-01-15 Thread Stuart McCulloch
On 16/01/2008, Karl Pauls [EMAIL PROTECTED] wrote: On Jan 16, 2008 8:55 AM, Stuart McCulloch [EMAIL PROTECTED] wrote: On 16/01/2008, Karl Pauls [EMAIL PROTECTED] wrote: Stuart is correct. I will cut the 1.0.2 release from trunk as soon as the bundle plugin has been released

Re: Which branch to use for 1.0.2

2008-01-16 Thread Stuart McCulloch
On 16/01/2008, Sahoo [EMAIL PROTECTED] wrote: Stuart McCulloch wrote: On 16/01/2008, Sahoo [EMAIL PROTECTED] wrote: I am not able to locate the branch name to check out and build 1.0.2, which I believe is the next release. Can anyone tell me the branch name or point me to the page

Re: bundleplugin error on windows [was Re: Which branch to use for 1.0.2]

2008-01-16 Thread Stuart McCulloch
to retest it today (assuming you publish a new snapshot). regards, Karl regards, Karl regards, Karl On Jan 16, 2008 7:23 AM, Stuart McCulloch [EMAIL PROTECTED] wrote: On 16/01/2008, Sahoo [EMAIL PROTECTED] wrote: I am

Re: Problems building trunk...

2008-01-24 Thread Stuart McCulloch
On 25/01/2008, Patrick Forhan [EMAIL PROTECTED] wrote: On Jan 24, 2008 11:49 AM, Stuart McCulloch [EMAIL PROTECTED] wrote: \ ok, the OBR exception is caused by the custom localRepository setting: file://c:/bjc/javadown/m2repository for now changing this to use three slashes after

Re: OBR resource uri is wrong...

2008-01-25 Thread Stuart McCulloch
it's doing the right thing (another reason to review it) Right? Patrick -Original Message- From: Stuart McCulloch [EMAIL PROTECTED] Sent: Thursday, January 24, 2008 11:01pm To: users@felix.apache.org, [EMAIL PROTECTED] Subject: Re: OBR resource uri is wrong... On 25/01/2008

Re: Eclipse plugin build using maven-bundle-plugin

2008-01-28 Thread Stuart McCulloch
On 29/01/2008, Fabio Braga de Oliveira [EMAIL PROTECTED] wrote: Hi list! Hi Fabio, Anyone did a sucessful build of a eclipse plugin, using the maven-bundle-plugin? yes :) If yes, can you share the pom.xml or some tips of how to do? Or the right direction? I'm trying right now, but some

Re: Bundle and OBR plugins

2008-01-29 Thread Stuart McCulloch
already do for install - and whether to use the same parameter names or make them more consistent with the other ones in the bundleplugin. Patrick -Original Message- From: Stuart McCulloch [EMAIL PROTECTED] Sent: Tuesday, January 29, 2008 4:42pm To: [EMAIL PROTECTED], [EMAIL PROTECTED

[VOTE] Future of the maven-obr-plugin

2008-01-29 Thread Stuart McCulloch
Hi folks, I'd like to get your feedback about the OBR plugin and its future. Patrick has suggested merging the OBR plugin with the bundleplugin, because they both work with bundles. This is something that was considered in the past, but we decided to just add the OBR install goal to the 'bundle'

Re: Bundle and OBR plugins

2008-01-29 Thread Stuart McCulloch
way or another. Patrick -Original Message- From: Stuart McCulloch [EMAIL PROTECTED] Sent: Tuesday, January 29, 2008 6:51pm To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], users@felix.apache.org Subject: Re: Bundle and OBR plugins On 30/01/2008, Patrick Shea [EMAIL PROTECTED] wrote

Re: maven-bundle-plugin generates unnecessary uses attribute values

2008-02-02 Thread Stuart McCulloch
On 03/02/2008, Sahoo [EMAIL PROTECTED] wrote: Hi, I am confused by the manifest headers generated by maven-bundle-plugin. I have a class called Bar.class which is defined in a OSGi bundle called osgi-test2-bar like this: package sahoo.osgitest2.bar; import org.osgi.framework.*; import

[Vote Result] Future of the maven-obr-plugin

2008-02-04 Thread Stuart McCulloch
Hi folks, Just to let you know the results of the vote on the future of the maven-obr-plugin +1 merge bundle and OBR plugins and add OBR deploy to the 'bundle' lifecycle PMC: Niclas Hedhman, Carsten Ziegeler, Felix Meschberger, Stuart McCulloch non-binding: Clement Escoffier 0 keep

Upcoming releases of maven-bundle-plugin and maven-obr-plugin

2008-02-05 Thread Stuart McCulloch
Hi folks, In the next week or so I'd like to sort out releases of the maven-bundle-plugin and maven-obr-plugin. maven-bundle-plugin 1.2.1 is a maintenance release (the main fix is better uses: support) - there's also one outstanding issue, http://issues.apache.org/jira/browse/FELIX-477

Re: Getting maven-plugin-bundle to work with maven's eclipse:eclipse

2008-02-06 Thread Stuart McCulloch
] HTH Thanks. -Marshall Stuart McCulloch wrote: On 05/02/2008, Marshall Schor [EMAIL PROTECTED] wrote: I read http://felix.apache.org/site/maven-bundle-plugin-bnd.html and used the information there to get a library plugin to build, that holds jars from other projects, as an Eclipse

Re: avoiding common=split in import of org.eclipse.core.runtime

2008-02-10 Thread Stuart McCulloch
On 08/02/2008, Marshall Schor [EMAIL PROTECTED] wrote: I am converting an older Eclipse plugin (pre Eclipse 3.2) to build with maven-bundle-plugin. When I run the bundle:bundle goal, it generates an Import-Package that includes: org.eclipse.core.runtime;common=split. Hi Marshall,

Re: avoiding common=split in import of org.eclipse.core.runtime

2008-02-10 Thread Stuart McCulloch
is having him spend way more time trying to get to the bottom of this than is probably rational... :-) Stuart McCulloch wrote: On 08/02/2008, Marshall Schor [EMAIL PROTECTED] wrote: I am converting an older Eclipse plugin (pre Eclipse 3.2) to build with maven-bundle-plugin. When I run

Re: avoiding common=split in import of org.eclipse.core.runtime

2008-02-10 Thread Stuart McCulloch
On 11/02/2008, Marshall Schor [EMAIL PROTECTED] wrote: OK - I did this just now. First I shut down Eclipse so there's no possibility of overwriting from there... I looked at the generated manifest. The code in the first package listed under Export-Package contains references to

Re: avoiding common=split in import of org.eclipse.core.runtime

2008-02-12 Thread Stuart McCulloch
On 13/02/2008, Marshall Schor [EMAIL PROTECTED] wrote: Just an interesting note: pax:eclipse needs the scope to be provided|test in order to add the dependency to the classpath. eclipse:eclipse needs the scope to be compile in order to add the dependency to the classpath. yes, because in

Re: avoiding common=split in import of org.eclipse.core.runtime

2008-02-12 Thread Stuart McCulloch
On 12/02/2008, Marshall Schor [EMAIL PROTECTED] wrote: Stuart McCulloch wrote: this was an interesting one - I compiled the plug-in and used javap to check the bytecode, and didn't see any reference to org.eclipse.swt! this is because javac optimizes away the reference to SWT.ABORT

Re: class not getting unloaded when bundle is uninstalled

2008-02-14 Thread Stuart McCulloch
On 14/02/2008, Sahoo [EMAIL PROTECTED] wrote: Hi, I am a bit surprised to see that classes are not getting unloaded when I uninstall my bundle. In my program, I try to force the GC by calling Runtime.gc() a couple of times. Looking at the gc log, I do see Full GC happening. I am using

maven-bundle-plugin 1.3.0-SNAPSHOT

2008-02-19 Thread Stuart McCulloch
Hi folks, The 1.3.0-SNAPSHOT of the bundleplugin now incorporates both bundle and OBR mojos, and also provides two cool new features: FELIX-247 - support creating Ant build script (mvn ant:ant bundle:ant) FELIX-492 - enable bundle:bundle goal to generate classified artifact I'd appreciate

Re: class not getting unloaded when bundle is uninstalled

2008-02-19 Thread Stuart McCulloch
On 19/02/2008, Sahoo [EMAIL PROTECTED] wrote: Our scenarios are likely to be different. In my case, the autostart property is making the difference. I can clearly see it when I run my test case in two configurations as described below: Case 1. I use autostart property to install only the

Re: maven-bundle-plugin 1.3.0-SNAPSHOT

2008-02-19 Thread Stuart McCulloch
On 20/02/2008, Stuart McCulloch [EMAIL PROTECTED] wrote: On 20/02/2008, Patrick Shea [EMAIL PROTECTED] wrote: I think that the plugins should only default to project of type bundle and not both jar and bundle. This is causing problems when you have the plugin defined in a top project

Re: ClassLoader question

2008-02-21 Thread Stuart McCulloch
On 22/02/2008, Richard S. Hall [EMAIL PROTECTED] wrote: I understand that you resolved the issue, but I am not sure that this is the best approach in the long run. I have some suggestions for different approaches too, but these are not good for the long run either. 1. Since the default

Re: Howto TestDebug Felix Bundles with Maven under Netbeans

2008-02-28 Thread Stuart McCulloch
On 29/02/2008, Rodrigo Madera [EMAIL PROTECTED] wrote: Docktor, Please take a look at Spring OSGi (which has been renamed to Spring Dynamic Modules due to legal issues). http://www.springframework.org/osgi Read the part (and examples) on testing. You will be relieved ;-) You can also

Re: Suggestions for tutorials

2008-03-01 Thread Stuart McCulloch
On 01/03/2008, Richard S. Hall [EMAIL PROTECTED] wrote: jaredmac wrote: After an initial hiccup, I've found these tutorials immensely helpful, and thought I'd offer a few suggestions to make better still. Tutorial Example 1 * Is missing the note about the trailing carriage return

Re: Bundle Plugin: Force final JAR filename

2008-03-01 Thread Stuart McCulloch
On 02/03/2008, Rodrigo Madera [EMAIL PROTECTED] wrote: Hello community, Is there a way to force the final filename for a given bundle using maven-bundle-plugin? yes - as with any Maven project just set the finalName in the build descriptor, for example: build

Re: non-jar as bundle unit

2008-03-03 Thread Stuart McCulloch
On 03/03/2008, jaredmac [EMAIL PROTECTED] wrote: Hello, Is there any way to have something other than a jar file be a bundle/plugin? That is, is there any way to express that this list of classes, or this particular package, is the bundle? Hi Jared, as Richard mentioned, you can install

Re: problem with maven bundle plugin

2008-03-03 Thread Stuart McCulloch
On 04/03/2008, Sergey N. Zaitsev [EMAIL PROTECTED] wrote: Hi, It seems that bundle plugin incorrectly packaging resources. I have two property files containing externalized text, one of them should be converted from utf to ascii (simple native2ascii ant task by means of

Fwd: File Install bundle

2008-03-05 Thread Stuart McCulloch
Hi folks, This is an ideal candidate if someone would like to get involved more in Felix. It's a small codebase (Peter Kriens' FileInstall bundle) which needs only a bit of attention - but has the potential for some exciting possibilities... Feel free to test it out, fix bugs, suggest extensions

Re: File Install bundle

2008-03-05 Thread Stuart McCulloch
, that's the sort of thing we need - anyone want to whip up a patch and attach it to JIRA? http://issues.apache.org/jira/browse/FELIX/component/12312204 Regards, Rodrigo On Thu, Mar 6, 2008 at 2:10 AM, Stuart McCulloch [EMAIL PROTECTED] wrote: Hi folks, This is an ideal candidate

Re: Maven Bundle + Eclipse RCP

2008-03-06 Thread Stuart McCulloch
-plugin:eclipse it tries to produce a more workable .classpath for when your target platform doesn't contain those plug-ins/bundles available to maven. HTH Thanks again! Stuart McCulloch wrote: On 29/01/2008, Fabio Braga de Oliveira [EMAIL PROTECTED] wrote: Hi list! Hi Fabio

Re: felix and android

2008-03-18 Thread Stuart McCulloch
On 18/03/2008, Cristina Tabacaru [EMAIL PROTECTED] wrote: Hi, I've just had a look on the documentation page http://cwiki.apache.org/FELIX/apache-felix-and-google-android.html and I've noticed all external links are disabled (Android, Android SDK installation) as well as the

Re: Export-Package and classes in bundle

2008-03-29 Thread Stuart McCulloch
On 30/03/2008, Sebastien ARBOGAST [EMAIL PROTECTED] wrote: I have a bundle with some service interfaces in com.mycompany.myapp and their implementations in com.mycompany.myapp.implSince I only want to export interfaces and not implementations, I add the following directive to

Re: Runtime annotations missing from classes

2008-03-30 Thread Stuart McCulloch
On 31/03/2008, Mark Derricutt [EMAIL PROTECTED] wrote: Hi all, I've recently started working with OSGi and Apache Felix and have just spent the afternoon running in circles trying to work out why some code works from unit tests but not when run from Felix. From what I can gather, when

Re: [maven-bundle-plugin] How to stop exporting a resource from an inlined jar?

2008-03-31 Thread Stuart McCulloch
On 31/03/2008, Sahoo [EMAIL PROTECTED] wrote: Hi, I am trying to use maven-bundle-plugin v1.4.0. I prepare a bundle (say bundle.jar) which inlines the contents of another jar type artifact called javax.faces:jsf-impl. There is a resource called

Re: Parent class loader of bundle class loader

2008-04-01 Thread Stuart McCulloch
On 01/04/2008, Sahoo [EMAIL PROTECTED] wrote: Richard S. Hall wrote: Sahoo wrote: I would have to agree that the spec does not mandate this, but won't it be nice to allow users to set the parent class loader as per their requirement? Defaulting to system classloader can be very dangerous

Re: Parent class loader of bundle class loader

2008-04-01 Thread Stuart McCulloch
On 01/04/2008, Sahoo [EMAIL PROTECTED] wrote: Stuart McCulloch wrote: On 01/04/2008, Sahoo [EMAIL PROTECTED] wrote: Richard S. Hall wrote: Sahoo wrote: I would have to agree that the spec does not mandate this, but won't it be nice to allow users to set the parent class loader

Re: non-daemon thread in Felix

2008-04-02 Thread Stuart McCulloch
On 02/04/2008, Sahoo [EMAIL PROTECTED] wrote: Stuart McCulloch wrote: On 02/04/2008, Felix Meschberger [EMAIL PROTECTED] wrote: Hi Sahoo, Am Mittwoch, den 02.04.2008, 10:40 +0530 schrieb Sahoo: My observation is that the EventDispatcher thread is the only thread that can

Re: maven-bundle-plugin does not import inheritance dependencies when maven-compiler-plugin is present in build

2008-04-09 Thread Stuart McCulloch
On 09/04/2008, Rowe, James [EMAIL PROTECTED] wrote: Hi, I'm having a problem getting maven-compiler-plugin and maven-bundle-plugin to play nicely together. Here's the build section of my pom: build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: Arbitrary XML (e.g., like plugin.xml) in Felix bundle

2008-04-12 Thread Stuart McCulloch
On 12/04/2008, jaredmac [EMAIL PROTECTED] wrote: Is there a way to achieve the functionality of Eclipse-like plugin.xml files just using Felix and Declarative Services? Or to include additional data with a plugin, am I limited to name-value pairs in the manifest? you mean does Declarative

Re: When is the next maintenance release?

2008-04-12 Thread Stuart McCulloch
On 13/04/2008, Sahoo [EMAIL PROTECTED] wrote: Is there a maintenance release scheduled anytime in near future? I am seeing a serious performance issue while using org.apache.felix.main: 1.0.3. If I build felix from the trunk and use that, the problem disappears. I am trying to find out the

Re: Can I find the Felix commons OSGi wrapped bundles somewhere in Maven?

2008-04-17 Thread Stuart McCulloch
On 17/04/2008, David Bosschaert [EMAIL PROTECTED] wrote: Hi, I need to use some of the Apache Commons libraries as OSGi bundles. Some of the libraries that I need are listed in the Felix Commons project, however since my build system is maven-based I need to pull these in from

Re: Can I find the Felix commons OSGi wrapped bundles somewhere in Maven?

2008-04-17 Thread Stuart McCulloch
On 17/04/2008, David Bosschaert [EMAIL PROTECTED] wrote: On 17/04/2008, Stuart McCulloch [EMAIL PROTECTED] wrote: Hi David, snapshots can be found here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/felix/commons but note that this also contains snapshots

Re: maven-osgi-plugin 'gone' ?

2008-04-21 Thread Stuart McCulloch
On 18/04/2008, Rob Lintern [EMAIL PROTECTED] wrote: We still have copies of the jar around, but will refrain from deploying it to one of our own repositories unless it is 'officially' gone from all the main public maven repositories. Cheers, Rob AFAIK the maven-osgi-plugin was never

Re: Is it possible to use the maven-bundle-plugin on a WAR project?

2008-04-21 Thread Stuart McCulloch
On 19/04/2008, Niall Pemberton [EMAIL PROTECTED] wrote: On Fri, Apr 18, 2008 at 4:07 PM, mraible [EMAIL PROTECTED] wrote: I have a Maven 2 project with packagingwar/packaging. I've hand-written a MANIFEST.MF to make my WAR OSGi-aware and have proven it works with Spring DM. Now

Re: Deploying a remote obr

2008-04-22 Thread Stuart McCulloch
regards, Anne -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Stuart McCulloch Envoyé : mardi 22 avril 2008 04:02 À : users@felix.apache.org Objet : Re: Deploying a remote obr 2008/4/21 [EMAIL PROTECTED]: Hi everybody, I'm trying to use

Re: NPE while tring to deploy a bundle from my obr

2008-04-23 Thread Stuart McCulloch
2008/4/23 Julien Vermillard [EMAIL PROTECTED]: Hi, I'm using maven bnd plugin for generating my local obr repository. I'm using the following command on my top level parent pom.xml : mvn install -DremoteOBR org.apache.felix:maven-bundle-plugin:1.4.0:deploy Everything is deployed using scp

Re: felix-maven-plugin appends classifier to Bundle-Version for attached artefacts

2008-04-24 Thread Stuart McCulloch
2008/4/25 Derek Baum [EMAIL PROTECTED]: Hi, I'm using the felix-maven-plugin in a pom with attached artefacts. you mean the maven-bundle-plugin? the maven-felix-plugin is a different beast... Although it generates the expected artefacts (${pom.artefactId}-${pom.version}-boot.jar and

Re: invalid LOC header error during bnd execution

2008-04-25 Thread Stuart McCulloch
2008/4/25 Sahoo [EMAIL PROTECTED]: Hi, While using maven-bundle-plugin, fairly regularly I see an error (details given below) emitted by bnd. The jar file it complains about is not fixed. Upon subsequent attempt, the error either disappears or it complains about a different jar file. I am

Re: isAssignableFrom - class loading issues when reloading bundles

2008-04-29 Thread Stuart McCulloch
2008/4/30 Mark Derricutt [EMAIL PROTECTED]: Oops - my bad. Yes, simply stopping/starting Bundle A works fine, if I update Bundle A however it doesn't. I can work around things by using reflection to execute the class I'm loading from Bundle B, and moving the object I was passing over as a

Re: Is it possible to use the maven-bundle-plugin on a WAR project?

2008-05-06 Thread Stuart McCulloch
2008/5/7 mraible [EMAIL PROTECTED]: Stuart McCulloch-3 wrote: On 24/04/2008, mraible [EMAIL PROTECTED] wrote: For some reason, the following doesn't work for me: plugin artifactIdmaven-war-plugin/artifactId configuration archive !--manifestFilesrc/main/webapp

  1   2   3   4   5   6   >