Your first question is not supported in OSGi.  You must explicitly list all
entries you want on the bundle class path.  There is no wildcard support.

Tom




|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Swapnil Patil <[email protected]>                                    
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Ali Naddaf <[email protected]>, Equinox development mailing list 
<[email protected]>                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |02/17/2010 01:28 AM                                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [equinox-dev] How to add whole directory in classpath and how to         
controll osgi console log                                                 |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





Hi Ali,

Thanx for the comment. You are right, it seems that one of the supporting
bundle/plugin is taking controll of consoel output.(there are many budles
in the project) I am trying to figure the machanism used for loging. out
that.


Do you any comment for me on my 1st question ?

Thanks
Swapnil

On Mon, Feb 15, 2010 at 7:13 PM, Ali Naddaf <[email protected]> wrote:
  Swapnil ,

  OSGi framework doesn't provide any direct way to "write" the log into the
  file system; the OSGi log service is in-memory, so what mechanism are you
  using to write to the file system? Once that is cleared up, one can see
  how you can go about achieving (2).

  Ali


  On 2/15/2010 7:27 AM, Swapnil Patil wrote:

        Hi all,


        1. OSGi setting equivalent to java runtime option
        -Djava.ext.dirs=c:/jars

        My plugin need few 3rd party jars in classpath.
        In my MANIFEST.MF I have following entry

        Bundle-ClassPath: .,
         jars/a1.jar,
         jars/b1.jar,
         jars/c1.jar,
        ...

        Is there a way I can define  like jars/*.jar .
        Actually I am looking for OSGi setting equivalent to java runtime
        option -Djava.ext.dirs=c:/jars


        2. Controlling OSGi log file.

        Is there any way of controlling logs generated in workspace
        directory of OSGi container.

        Over the time log file is consuming considerable amount of hard
        drive space. Is there any way of control this log file.  Typically
        I would like to created multiple log files of predefined size and
        then over-writing oldest file log file. ... similar to setting
        provided by Log4j library



        Sorry if this is not the right forum to ask these kind of
        questions,
        I will appreciate if somebody can point my to right mailing list.



        --
        Thanks & Regards
        Swapnil Patil.

        _______________________________________________
        equinox-dev mailing list
        [email protected]
        https://dev.eclipse.org/mailman/listinfo/equinox-dev




--
Thanks & Regards
Swapnil Patil._______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to