Re: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Steve Loughran
On Tue, Apr 15, 2008 at 11:38 AM, Stephan Koops <[EMAIL PROTECTED]> wrote:
> I'm using JDJ 1.5, because 1.6 causes trouble eith JAXB. or do you updated
> this, so that both JDKs are possible?

Java 1.6>= update 4 has better JAXB support, though the whole idea of
bundling something as unstable as JAXB into the JRE is still a
complete nightmare for me. Try with a very recent Java 6


RE: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Jerome Louvel

Stephan,

I'm only running Eclipse with JDK 1.6. My Restlet projects are still based
on JDK 1.5.

Best regards,
Jerome  

> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 15 avril 2008 12:38
> À : discuss@restlet.tigris.org
> Cc : [EMAIL PROTECTED]
> Objet : Re: [BUG] OSGi manifest, please don't use 
> Require-Bundle, re: com.noelios.restle
> 
> I'm using JDJ 1.5, because 1.6 causes trouble eith JAXB. or do you 
> updated this, so that both JDKs are possible?
> 
> best regards
>Stephan
> 
> Jerome Louvel schrieb:
> > Hi all,
> >
> > That's strange. In my environment (Eclipse 3.3 + JDK 1.6), 
> everything works
> > fine. 
> >
> > Can an OSGi expert have a look at this issue? Hendy maybe?
> >
> > Best regards,
> > Jerome  
> >
> >   
> >> -Message d'origine-----
> >> De : Thierry Boileau [mailto:[EMAIL PROTECTED] 
> >> Envoyé : mardi 15 avril 2008 11:53
> >> À : discuss@restlet.tigris.org
> >> Objet : Re: [BUG] OSGi manifest, please don't use 
> >> Require-Bundle, re: com.noelios.restle
> >>
> >> Hi all,
> >>
> >> I've problems with com.noelios.restlet.ext.httpclient_3.1 
> (import not 
> >> found) and com.noelios.restlet.ext.oauth (access restriction with 
> >> package org.apache.commons.digest).
> >>
> >> best regards,
> >> Thierry Boileau
> >>
> >> 
> >>> Hi,
> >>>
> >>> I've problems now in com.noelios.restlet.ext.httpclient_3.1, 
> >>> com.noelios.restlet.ext.jetty_6.1, 
> >>>   
> >> com.noelios.restlet.ext.oauth and 
> >> 
> >>> com.noelios.restlet.test, because a lot of imports could 
> >>>   
> >> not be found. 
> >> 
> >>> Did others had the same problem?
> >>>
> >>> The problems go away, if I go back to the version with the 
> >>> Require-Bundle (SVN rev 3009) for com.noelios.restlet, 
> >>> com.noelios.restlet.ext.httpclient_3.1, 
> >>> com.noelios.restlet.ext.jetty_6.1 and 
> com.noelios.restlet.ext.oauth
> >>>
> >>> best regards
> >>>   Stephan
> >>>
> >>>   
> >>>> Hi Hendy,
> >>>>
> >>>> Thanks for reporting this. Your suggestion makes sense 
> and is more 
> >>>> flexible.
> >>>> I have converted all manifests in SVN trunk.
> >>>>
> >>>> 
> >>>>> -Message d'origine-
> >>>>> De : Hendy Irawan [mailto:[EMAIL PROTECTED] Envoyé 
> >>>>>   
> >> : mercredi 
> >> 
> >>>>> 9 avril 2008 23:01
> >>>>> À : discuss@restlet.tigris.org
> >>>>> Objet : [BUG] OSGi manifest, please don't use 
> Require-Bundle, re: 
> >>>>> com.noelios.restlet.ext.servlet
> >>>>>
> >>>>> Regarding com.noelios.restlet.ext.servlet JAR in 1.1 M3
> >>>>>
> >>>>> Please don't use Require-Bundle manifest header. Please use
> >>>>>
> >>>>> Import-Package: javax.servlet,javax.servlet.http
> >>>>>
> >>>>> or others as needed.
> >>>>>
> >>>>> Require-Bundle hardcodes the bundle name.
> >>>>>   
> >>>
> >>>   
> >
> >   



Re: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Stephan Koops
I'm using JDJ 1.5, because 1.6 causes trouble eith JAXB. or do you 
updated this, so that both JDKs are possible?


best regards
  Stephan

Jerome Louvel schrieb:

Hi all,

That's strange. In my environment (Eclipse 3.3 + JDK 1.6), everything works
fine. 


Can an OSGi expert have a look at this issue? Hendy maybe?

Best regards,
Jerome  

  

-Message d'origine-
De : Thierry Boileau [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 15 avril 2008 11:53

À : discuss@restlet.tigris.org
Objet : Re: [BUG] OSGi manifest, please don't use 
Require-Bundle, re: com.noelios.restle


Hi all,

I've problems with com.noelios.restlet.ext.httpclient_3.1 (import not 
found) and com.noelios.restlet.ext.oauth (access restriction with 
package org.apache.commons.digest).


best regards,
Thierry Boileau



Hi,

I've problems now in com.noelios.restlet.ext.httpclient_3.1, 
com.noelios.restlet.ext.jetty_6.1, 
  
com.noelios.restlet.ext.oauth and 

com.noelios.restlet.test, because a lot of imports could 
  
not be found. 


Did others had the same problem?

The problems go away, if I go back to the version with the 
Require-Bundle (SVN rev 3009) for com.noelios.restlet, 
com.noelios.restlet.ext.httpclient_3.1, 
com.noelios.restlet.ext.jetty_6.1 and com.noelios.restlet.ext.oauth


best regards
  Stephan

  

Hi Hendy,

Thanks for reporting this. Your suggestion makes sense and is more 
flexible.

I have converted all manifests in SVN trunk.



-Message d'origine-
De : Hendy Irawan [mailto:[EMAIL PROTECTED] Envoyé 
  
: mercredi 


9 avril 2008 23:01
À : discuss@restlet.tigris.org
Objet : [BUG] OSGi manifest, please don't use Require-Bundle, re: 
com.noelios.restlet.ext.servlet


Regarding com.noelios.restlet.ext.servlet JAR in 1.1 M3

Please don't use Require-Bundle manifest header. Please use

Import-Package: javax.servlet,javax.servlet.http

or others as needed.

Require-Bundle hardcodes the bundle name.
  


  


  


RE: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Jerome Louvel

Hi all,

That's strange. In my environment (Eclipse 3.3 + JDK 1.6), everything works
fine. 

Can an OSGi expert have a look at this issue? Hendy maybe?

Best regards,
Jerome  

> -Message d'origine-
> De : Thierry Boileau [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 15 avril 2008 11:53
> À : discuss@restlet.tigris.org
> Objet : Re: [BUG] OSGi manifest, please don't use 
> Require-Bundle, re: com.noelios.restle
> 
> Hi all,
> 
> I've problems with com.noelios.restlet.ext.httpclient_3.1 (import not 
> found) and com.noelios.restlet.ext.oauth (access restriction with 
> package org.apache.commons.digest).
> 
> best regards,
> Thierry Boileau
> 
> > Hi,
> >
> > I've problems now in com.noelios.restlet.ext.httpclient_3.1, 
> > com.noelios.restlet.ext.jetty_6.1, 
> com.noelios.restlet.ext.oauth and 
> > com.noelios.restlet.test, because a lot of imports could 
> not be found. 
> > Did others had the same problem?
> >
> > The problems go away, if I go back to the version with the 
> > Require-Bundle (SVN rev 3009) for com.noelios.restlet, 
> > com.noelios.restlet.ext.httpclient_3.1, 
> > com.noelios.restlet.ext.jetty_6.1 and com.noelios.restlet.ext.oauth
> >
> > best regards
> >   Stephan
> >
> >> Hi Hendy,
> >>
> >> Thanks for reporting this. Your suggestion makes sense and is more 
> >> flexible.
> >> I have converted all manifests in SVN trunk.
> >>
> >>> -Message d'origine-
> >>> De : Hendy Irawan [mailto:[EMAIL PROTECTED] Envoyé 
> : mercredi 
> >>> 9 avril 2008 23:01
> >>> À : discuss@restlet.tigris.org
> >>> Objet : [BUG] OSGi manifest, please don't use Require-Bundle, re: 
> >>> com.noelios.restlet.ext.servlet
> >>>
> >>> Regarding com.noelios.restlet.ext.servlet JAR in 1.1 M3
> >>>
> >>> Please don't use Require-Bundle manifest header. Please use
> >>>
> >>> Import-Package: javax.servlet,javax.servlet.http
> >>>
> >>> or others as needed.
> >>>
> >>> Require-Bundle hardcodes the bundle name.
> >
> >
> >
> 



Re: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Thierry Boileau

Hi all,

I've problems with com.noelios.restlet.ext.httpclient_3.1 (import not 
found) and com.noelios.restlet.ext.oauth (access restriction with 
package org.apache.commons.digest).


best regards,
Thierry Boileau


Hi,

I've problems now in com.noelios.restlet.ext.httpclient_3.1, 
com.noelios.restlet.ext.jetty_6.1, com.noelios.restlet.ext.oauth and 
com.noelios.restlet.test, because a lot of imports could not be found. 
Did others had the same problem?


The problems go away, if I go back to the version with the 
Require-Bundle (SVN rev 3009) for com.noelios.restlet, 
com.noelios.restlet.ext.httpclient_3.1, 
com.noelios.restlet.ext.jetty_6.1 and com.noelios.restlet.ext.oauth


best regards
  Stephan


Hi Hendy,

Thanks for reporting this. Your suggestion makes sense and is more 
flexible.

I have converted all manifests in SVN trunk.


-Message d'origine-
De : Hendy Irawan [mailto:[EMAIL PROTECTED] Envoyé : mercredi 
9 avril 2008 23:01

À : discuss@restlet.tigris.org
Objet : [BUG] OSGi manifest, please don't use Require-Bundle, re: 
com.noelios.restlet.ext.servlet


Regarding com.noelios.restlet.ext.servlet JAR in 1.1 M3

Please don't use Require-Bundle manifest header. Please use

Import-Package: javax.servlet,javax.servlet.http

or others as needed.

Require-Bundle hardcodes the bundle name.








Re: [BUG] OSGi manifest, please don't use Require-Bundle, re: com.noelios.restle

2008-04-15 Thread Stephan Koops

Hi,

I've problems now in com.noelios.restlet.ext.httpclient_3.1, 
com.noelios.restlet.ext.jetty_6.1, com.noelios.restlet.ext.oauth and 
com.noelios.restlet.test, because a lot of imports could not be found. 
Did others had the same problem?


The problems go away, if I go back to the version with the 
Require-Bundle (SVN rev 3009) for com.noelios.restlet, 
com.noelios.restlet.ext.httpclient_3.1, 
com.noelios.restlet.ext.jetty_6.1 and com.noelios.restlet.ext.oauth


best regards
  Stephan


Hi Hendy,

Thanks for reporting this. Your suggestion makes sense and is more flexible.
I have converted all manifests in SVN trunk.


-Message d'origine-
De : Hendy Irawan [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 9 avril 2008 23:01

À : discuss@restlet.tigris.org
Objet : [BUG] OSGi manifest, please don't use Require-Bundle, 
re: com.noelios.restlet.ext.servlet


Regarding com.noelios.restlet.ext.servlet JAR in 1.1 M3

Please don't use Require-Bundle manifest header. Please use

Import-Package: javax.servlet,javax.servlet.http

or others as needed.

Require-Bundle hardcodes the bundle name.