[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] How to add whole directory in classpath and how to controll osgi console log

Tom, 
Thank you for the comment. 
I hope next version of OSGi implementations will add support for this classpath case. 

Thanks,
Swapnil 

On Wed, Feb 17, 2010 at 9:32 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:

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



Inactive hide details for Swapnil Patil ---02/17/2010 01:28:30 AM---Hi Ali,Swapnil Patil ---02/17/2010 01:28:30 AM---Hi Ali,


From:

Swapnil Patil <swapnil123patil@xxxxxxxxx>

To:

Ali Naddaf <ali.naddaf@xxxxxxxxx>, Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

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 <ali.naddaf@xxxxxxxxx> 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
        equinox-dev@xxxxxxxxxxx
        https://dev.eclipse.org/mailman/listinfo/equinox-dev
         




--
Thanks & Regards
Swapnil Patil.
_______________________________________________

equinox-dev mailing list
equinox-dev@xxxxxxxxxxx


_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev




--
Thanks & Regards
Swapnil Patil.

GIF image

GIF image