Jeff McAffer | 1 Apr 04:38
Favicon
Gravatar

SDK features

As discussed in the call today, I created features for the various SDK 
slicings of the Equinox world.  See
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=270694
and comment there.

Jeff
Sameera Jayasoma | 3 Apr 04:54
Picon
Gravatar

Re: Equinox Declarative Services : Context Class Loader

Hi Stoyan,

On Tue, Mar 31, 2009 at 5:39 PM, Stoyan Boshev <s.boshev-gIMOvL9Iw+9BDgjK7y7TUQ@public.gmane.org> wrote:
You should get the latest Equinox 3.5 bundles. The latest stable release is Equinox 3.5M6. I am afraid you will not be able to update only the two bundles because their requirements have changed and they will not run on Equinox 3.4. The best case would be to switch to Equinox 3.5 if possible.

I switched to Equinox 3.5M6 and I am no longer seeing the above  problems. Thanks a lot.

BTW, When are you people planning to release Equinox 3.5.

Thanks

 


Stoyan

Sameera Jayasoma wrote:
Hi Stoyan,

Here are the exact versions of the bundles I am using.

org.eclipse.equinox.ds-1.0.0.v20080427-0830.jar
org.eclipse.equinox.util-1.0.0.v20080414.jar

Can you please tell me versions of the bundle I should use in order to overcome this issue?

Thanks
Sameera
 


   Sameera
   


       Stoyan

       Sameera Jayasoma wrote:

           Hi all

           I am using Equinox Declarative Services implementation. When
           my component gets activated, the “activate” method is
           invoked on the component implementation class and that is
           expected behavior. But the context class loader of the
           thread which invoke the “activate” method is null. I am
           having problems because of this. Is this the expected
           behavior in the DS implementation? Any help would be greatly
           appreciated.

           Thanks

           --            Sameera Jayasoma


           ------------------------------------------------------------------------


           _______________________________________________
           equinox-dev mailing list
           equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org <mailto:equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

           https://dev.eclipse.org/mailman/listinfo/equinox-dev


       --        ---------------------------------------------------------
       dipl. eng. Stoyan Boshev . Department manager
       ProSyst Labs EOOD
       1606 Sofia, Bulgaria . 48 Vladajska Str.
       Tel. +359 2 953 05 88; Fax +359 2 953 26 17
       Mobile: +359 88 898 29 17
       http://www.prosyst.com . s.boshev-gIMOvL9Iw+9BDgjK7y7TUQ@public.gmane.org
       <mailto:s.boshev-gIMOvL9Iw+9BDgjK7y7TUQ@public.gmane.org>

       ---------------------------------------------------------
       stay in touch with your product
       ---------------------------------------------------------

       _______________________________________________
       equinox-dev mailing list
       equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org <mailto:equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

       https://dev.eclipse.org/mailman/listinfo/equinox-dev




------------------------------------------------------------------------

_______________________________________________
equinox-dev mailing list
equinox-dev <at> eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

--
---------------------------------------------------------
dipl. eng. Stoyan Boshev . Department manager
ProSyst Labs EOOD
1606 Sofia, Bulgaria . 48 Vladajska Str.
Tel. +359 2 953 05 88; Fax +359 2 953 26 17
Mobile: +359 88 898 29 17
http://www.prosyst.com . s.boshev <at> prosyst.com
---------------------------------------------------------
stay in touch with your product
---------------------------------------------------------
_______________________________________________
equinox-dev mailing list
equinox-dev <at> eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev



--
Sameera Jayasoma
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://tech.jayasoma.org
Thomas Watson | 3 Apr 05:20
Picon
Favicon

Re: Equinox Declarative Services : Context Class Loader

3.5 is part of the Galileo release which will be final by the end of June.

Tom



Sameera Jayasoma ---04/02/2009 09:54:17 PM---Hi Stoyan,


From:

Sameera Jayasoma <sameera.madushan <at> gmail.com>

To:

Equinox development mailing list <equinox-dev <at> eclipse.org>

Date:

04/02/2009 09:54 PM

Subject:

Re: [equinox-dev] Equinox Declarative Services : Context Class Loader



Hi Stoyan,

On Tue, Mar 31, 2009 at 5:39 PM, Stoyan Boshev <s.boshev <at> prosyst.com> wrote:
    You should get the latest Equinox 3.5 bundles. The latest stable release is Equinox 3.5M6. I am afraid you will not be able to update only the two bundles because their requirements have changed and they will not run on Equinox 3.4. The best case would be to switch to Equinox 3.5 if possible.

I switched to Equinox 3.5M6 and I am no longer seeing the above  problems. Thanks a lot.

BTW, When are you people planning to release Equinox 3.5.

Thanks

 


    Stoyan

    Sameera Jayasoma wrote:
    Hi Stoyan,

    Here are the exact versions of the bundles I am using.

    org.eclipse.equinox.ds-1.0.0.v20080427-0830.jar
    org.eclipse.equinox.util-1.0.0.v20080414.jar

    Can you please tell me versions of the bundle I should use in order to overcome this issue?

    Thanks
    Sameera
     


       Sameera
       


           Stoyan

           Sameera Jayasoma wrote:

               Hi all

               I am using Equinox Declarative Services implementation. When
               my component gets activated, the “activate” method is
               invoked on the component implementation class and that is
               expected behavior. But the context class loader of the
               thread which invoke the “activate” method is null. I am
               having problems because of this. Is this the expected
               behavior in the DS implementation? Any help would be greatly
               appreciated.

               Thanks

               --            Sameera Jayasoma


               ------------------------------------------------------------------------


               _______________________________________________
               equinox-dev mailing list
               equinox-dev <at> eclipse.org <mailto:equinox-dev <at> eclipse.org>

               https://dev.eclipse.org/mailman/listinfo/equinox-dev


           --        ---------------------------------------------------------
           dipl. eng. Stoyan Boshev . Department manager
           ProSyst Labs EOOD
           1606 Sofia, Bulgaria . 48 Vladajska Str.
           Tel. +359 2 953 05 88; Fax +359 2 953 26 17
           Mobile: +359 88 898 29 17
           http://www.prosyst.com . s.boshev <at> prosyst.com
           <mailto:s.boshev <at> prosyst.com>

           ---------------------------------------------------------
           stay in touch with your product
           ---------------------------------------------------------

           _______________________________________________
           equinox-dev mailing list
           equinox-dev <at> eclipse.org <mailto:equinox-dev <at> eclipse.org>

           https://dev.eclipse.org/mailman/listinfo/equinox-dev




    ------------------------------------------------------------------------

    _______________________________________________
    equinox-dev mailing list
    equinox-dev <at> eclipse.org
    https://dev.eclipse.org/mailman/listinfo/equinox-dev

    --
    ---------------------------------------------------------
    dipl. eng. Stoyan Boshev . Department manager
    ProSyst Labs EOOD
    1606 Sofia, Bulgaria . 48 Vladajska Str.
    Tel. +359 2 953 05 88; Fax +359 2 953 26 17
    Mobile: +359 88 898 29 17
    http://www.prosyst.com . s.boshev <at> prosyst.com
    ---------------------------------------------------------
    stay in touch with your product
    ---------------------------------------------------------
    _______________________________________________
    equinox-dev mailing list
    equinox-dev <at> eclipse.org
    https://dev.eclipse.org/mailman/listinfo/equinox-dev



--
Sameera Jayasoma
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://tech.jayasoma.org_______________________________________________
equinox-dev mailing list
equinox-dev <at> eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Jeff McAffer | 3 Apr 16:24
Favicon
Gravatar

Re: Using Equinox Declarative services in another OSGI framework

Not sure if you did already but a bug report here would be useful.  Anything that makes stuff easier to use is a good thing.

Jeff


Alin Dreghiciu wrote:
Thanx Stuart. That resolved the import problem so now DS is up and running (using the supplement bundle). In this case, as debug stuff is not so important and can work without debug stuff based on system params I would rather make the imports optional then having to bring in just another bundle to make it resolve. Even more in this case as the DebugOptions service is not there the supplement bundle is not of any use beside exporting the debug package. So, if I have the supplement bundle in I would expect that the supplement bundle is also publishing service implementations for the services it can, and this supplement bundle just has the classes (api + some impl) but not use them as there is no bundle activator. Could be that this (publish the services) is not possible outside Equinox system bundle, is that the case? On Mon, Mar 9, 2009 at 10:05 AM, Stuart McCulloch <mcculls-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
2009/3/9 Alin Dreghiciu <adreghiciu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi Guys, I was trying to use Declarative Services implementation from equinox in another OSGi framework and looks like that is not possible. DS has an import on org.eclipse.osgi.service.debug;version="1.0" package that I could only find in the Equinox framework itself. Is it available from somewhere else?
Hi Alin, have you looked in the org.eclipse.equinox.supplement bundle? I'm using this to run the Eclipse extension point registry on Felix which also needs that debug import You can find releases of org.eclipse.equinox.supplement here:    http://download.eclipse.org/equinox/ just pick from either the 3.4 / 3.5 stream
If not, can the org.eclipse.osgi.service.debug be made available at least as a separate bundle, even better together with DebugOptions impl? Another simpler option would be to make this import optional and handle the fact that package is not available in the DS Activator, case when DS can work as in case that no DebugOptions service is available = using system properties. Thanx, -- Alin Dreghiciu http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. http://www.codedragons.com - New Energy for Projects - Great People working on Great Projects at Great Places _______________________________________________ equinox-dev mailing list equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
-- Cheers, Stuart _______________________________________________ equinox-dev mailing list equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org https://dev.eclipse.org/mailman/listinfo/equinox-dev
Patrik Schalin | 6 Apr 12:01
Favicon

Device Access Howto?


Hi all,

I've embarked on a exploratory mission on the device access part for OSGi 4
with the goal of maybe getting a small/simple prototype up and running for
talking to devices over USB.

I've read through the specification but I'm just not able to wrap my head
around this thing and get a clear picture of how it is supposed to work...

Does anybody know of a "HelloWorld" and/or books on the subject?

Thanks
--

-- 
View this message in context: http://www.nabble.com/Device-Access-Howto--tp22821252p22821252.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.

Thomas Watson | 6 Apr 15:41
Picon
Favicon

Re: Device Access Howto?

You may have better luck asking this question on the OSGi developers mailing list.

https://mail.osgi.org/mailman/listinfo/osgi-dev

There are a few books on OSGi coming out very soon but I am not sure they will include any examples of device access in them.

Tom



Patrik Schalin ---04/06/2009 05:04:23 AM---Hi all,


From:

Patrik Schalin <patrik.schalin-9i8gj6P76NcrvcF+QRKbHQ@public.gmane.org>

To:

equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

Date:

04/06/2009 05:04 AM

Subject:

[equinox-dev] Device Access Howto?




Hi all,

I've embarked on a exploratory mission on the device access part for OSGi 4
with the goal of maybe getting a small/simple prototype up and running for
talking to devices over USB.

I've read through the specification but I'm just not able to wrap my head
around this thing and get a clear picture of how it is supposed to work...

Does anybody know of a "HelloWorld" and/or books on the subject?

Thanks
--
View this message in context: http://www.nabble.com/Device-Access-Howto--tp22821252p22821252.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.

_______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Patrik Schalin | 6 Apr 16:19
Favicon

Re: Device Access Howto?


Thanks,

I'll try the OSGi dev list...

Waiting for the "OSGi in action" release...  :thinking:

Regards
Patrik

Thomas Watson wrote:
> 
> 
> You may have better luck asking this question on the OSGi developers
> mailing list.
> 
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 
> There are a few books on OSGi coming out very soon but I am not sure they
> will include any examples of device access in them.
> 
> Tom
> 
> 
> 
> 
>                                                                        
>   From:       Patrik Schalin <patrik.schalin@...>         
>                                                                        
>   To:         equinox-dev@...                                  
>                                                                        
>   Date:       04/06/2009 05:04 AM                                      
>                                                                        
>   Subject:    [equinox-dev] Device Access Howto?                       
>                                                                        
> 
> 
> 
> 
> 
> 
> Hi all,
> 
> I've embarked on a exploratory mission on the device access part for OSGi
> 4
> with the goal of maybe getting a small/simple prototype up and running for
> talking to devices over USB.
> 
> I've read through the specification but I'm just not able to wrap my head
> around this thing and get a clear picture of how it is supposed to work...
> 
> Does anybody know of a "HelloWorld" and/or books on the subject?
> 
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Device-Access-Howto--tp22821252p22821252.html
> Sent from the Equinox - Dev mailing list archive at Nabble.com.
> 
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
> 
>  
>  
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
> 

--

-- 
View this message in context: http://www.nabble.com/Device-Access-Howto--tp22821252p22909715.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.

prasanna Venkatesh | 6 Apr 17:05
Picon
Favicon

Reg : Loading bundles to OSGI framwork

Hi all ,
   I am relatively new user of Equinox . I dont know whether the same question had been asked before or not .

  In our project we intend to use Equinox .  I would like to know what are the possible ways to load bundles into OSGI framwork .

      I know we can use config.ini , Is there any other way to load a set of bundles to the framwork ? . To understand the technology better , we are not using Eclipse , for even gerenating Mainfest file . So apart from these options , is there any way to load a set of
bundles from  a predefined location  ( like can we have a bundle , which loads all other bundles )   ??  . Kinldy request you to  give your comments. 

Thanks in advance
Prasanna


Simon J Archer | 6 Apr 17:14
Picon
Favicon

Re: Reg : Loading bundles to OSGI framwork


To load a bundle programmatically, use the BundleContext APIs:

public Bundle installBundle(String);
public Bundle installBundle(String, InputStream);

Both APIs return a Bundle object, which you'll want to hold onto if you wish to be able to stop it at some time, but this is not absolutely necessary.

Please note that config.ini is not an OSGi mechanism, but something specific to Eclipse/Equinox.



prasanna Venkatesh <itmpras-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

04/06/2009 11:05 AM

Please respond to
itmpras-/E1597aS9LQAvxtiuMwx3w@public.gmane.org; Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

To
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
cc
Subject
[equinox-dev] Reg : Loading bundles to OSGI framwork





Hi all ,
  I am relatively new user of Equinox . I dont know whether the same question had been asked before or not .

 In our project we intend to use Equinox .  I would like to know what are the possible ways to load bundles into OSGI framwork .

     I know we can use config.ini , Is there any other way to load a set of bundles to the framwork ? . To understand the technology better , we are not using Eclipse , for even gerenating Mainfest file . So apart from these options , is there any way to load a set of
bundles from  a predefined location  ( like can we have a bundle , which loads all other bundles )   ??  . Kinldy request you to  give your comments.  

Thanks in advance
Prasanna

_______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Thomas Watson | 6 Apr 17:20
Picon
Favicon

Re: Reg : Loading bundles to OSGI framwork

Generally this is done by installing/starting a bundle which installs the rest of your bundles. This is what Eclipse does with the org.eclipse.equinox.simpleconfigurator bundle. This bundle understands the mete-data managed by the p2 management system in Equinox. But you don't have to use p2. You can develop your own simple bundle that installs bundles in what ever way you want. You can also look at something like file install from felix (http://felix.apache.org/site/apache-felix-file-install.html)

The config.ini file is used to configure your initial "boot" strap bundle so it can be installed and activated. But eventually you will want a more complete management story for your OSGi based product. When you get to that point I strongly encourage you to investigate using p2 in Equinox to manage your system.

HTH.

Tom



prasanna Venkatesh ---04/06/2009 10:06:20 AM---Hi all ,


From:

prasanna Venkatesh <itmpras-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>

To:

equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

Date:

04/06/2009 10:06 AM

Subject:

[equinox-dev] Reg : Loading bundles to OSGI framwork



Hi all ,
I am relatively new user of Equinox . I dont know whether the same question had been asked before or not .

In our project we intend to use Equinox . I would like to know what are the possible ways to load bundles into OSGI framwork .

I know we can use config.ini , Is there any other way to load a set of bundles to the framwork ? . To understand the technology better , we are not using Eclipse , for even gerenating Mainfest file . So apart from these options , is there any way to load a set of
bundles from a predefined location ( like can we have a bundle , which loads all other bundles ) ?? . Kinldy request you to give your comments.

Thanks in advance
Prasanna
_______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev



Gmane