atom feed4 messages in org.apache.felix.devRe: Commons FileUpload 1.2.1 & OSGi
FromSent OnAttachments
Niall PembertonJan 15, 2008 3:07 pm 
Felix MeschbergerJan 15, 2008 11:47 pm 
Carsten ZiegelerJan 16, 2008 12:09 am 
Niall PembertonJan 16, 2008 2:34 am 
Subject:Re: Commons FileUpload 1.2.1 & OSGi
From:Felix Meschberger (
Date:Jan 15, 2008 11:47:23 pm

Hi Niall,

To me the manifest looks good, except perhaps for the import of the javax.portlet package: I fear, not all servlet containers have this package, so it might be a good idea to either import it dynamically or optional:

Dynamic import:


Optional import:

<Import-Package> ..., javax.portlet;resolution:=optional, ... </Import-Package>

The advantage of the dynamic resolution is that, it may get automatically resolved as soon as the javax.portlet package gets available and will be required the first time. The optional import will only be tried to be resolved at bundle resolution time and will not be retried unless the bundle is resolved again.


Thanks and Regards Felix

Am Dienstag, den 15.01.2008, 23:07 +0000 schrieb Niall Pemberton:

Hi Carsten,

The vote on Commons FileUpload 1.2.1 has problems and it seems likely that there will be a new RC since the issues are resolved by the latest release of our parent pom. I've added OSGi parameters to its pom in case the RM does cut another RC:

I've built the jar and it and the manifest generated are here:

Don't know if you (or anyone else) have time to review to make sure I haven't screwed up, plus it may not get into the release anyway and be a waste of your time. But I thought I would try...