Andrew Niefer | 1 Mar 01:34
Picon

Splash launcher demo


I have just released the initial implementation of the launcer demo for the splash screen.
equinox-incubator/demos/splash

There are 2 bundles:
org.eclipse.equinox.examples.splash :
        This bundle implements a very basic "early splash" which uses the StartupMonitor interface.

org.eclipse.equinox.examples.splash.ui :
This bundle contributes an extension to the ui to do splash screen after the application takes over.  Note the patch ui.workbench.patch, this is required on the org.eclipse.ui.workbench bundle until https://bugs.eclipse.org/bugs/show_bug.cgi?id=175889 is fixed.  The current implementation of this bundle is showing the flash movie from here: http://www.eclipse.org/equinox/documents/osgicongress2005/debugging.html.  I may replace this with "cooler" content later :)

Use the splash.product file to export a standalone rcp app that uses this splash screen.

-Andrew


Jeff McAffer | 1 Mar 04:30
Picon

Re: app model demo


I tweaked the wiki by moving the content for that demo to its own page and doing a few edits.  

i also tried running the headless launch config but could not get it to run.  Is there some magic?  I get an error about the applicaiton not being found (we likely don't actually want an Eclipse application to be found right?) and the app bundle is left in STARTING state
id        State       Bundle
0        ACTIVE      org.eclipse.osgi_3.3.0.v20070208
1        STARTING    org.eclipse.core.jobs_3.3.0.v20070202
4        STARTING    org.eclipse.equinox.common_3.3.0.v20070122
5        RESOLVED    org.eclipse.equinox.examples.sharedisplay_1.0.0
6        STARTING    org.eclipse.equinox.registry_3.2.100.v20061204
7        RESOLVED    org.eclipse.osgi.services_3.1.100.v20060918
8        RESOLVED    org.eclipse.swt_3.3.0.v3325g
                    Fragments=14
9        RESOLVED    org.eclipse.swt.examples.addressbook_1.0.0
10        RESOLVED    org.eclipse.swt.examples.browserexample_1.0.0
11        RESOLVED    org.eclipse.swt.examples.clipboard_1.0.0
12        RESOLVED    org.eclipse.swt.examples.graphics_1.0.0
13        RESOLVED    org.eclipse.swt.examples.paint_1.0.0
14        RESOLVED    org.eclipse.swt.win32.win32.x86_3.3.0.v3325
                    Master=8
15        STARTING    org.eclipse.equinox.app_1.0.0.qualifier

Thoughts?

Jeff



Thomas Watson <tjwatson-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

02/28/2007 06:55 PM

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

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
Re: [equinox-dev] app model demo






I updated the wiki (see http://wiki.eclipse.org/index.php/Equinox_Demos#Application_Model).  I spent some time creating a UI front end.  Its nothing fancy but it seems to work good enough.  I did not spend any time making the console commands any better.  I don't want to spend any more time on this demo right now.

TODOs after EclipseCon

- make app console commands more user friendly
- provide instructions for running on foundation.

Tom.


Jeff McAffer <Jeff_McAffer-G1DYhSM1WHTQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

02/28/2007 04:04 PM

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

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
Re: [equinox-dev] app model demo








Tom Watson wrote on 02/28/2007 09:32:49 AM:

>
> Wow Jeff, I'm surprised you got it working with no instructions!!  I
> was working on some instructions earlier this week and they all got
> lost when I went to save them on the wiki.  Unfortunately I was not
> smart enough to copy a backup, I was working directly on the wiki
> page (I will never do that again!!) and when I went to save it
> somehow wiped out the whole demo page.  No matter what I did I could
> not get back to my new content.  I had to go to history to restore
> the previous version of the page without my new content.
>
> See more comments below
>
> Tom.
>
> equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org wrote on 02/27/2007 10:37:33 PM:
>
> >
> > I was just playing with the app model demo code. It may not be
> > complete but here is what I observed.
> >
> > - Way cool!
> > - the launch config when loaded into my workspace seemed to include
> > all the bundles in my workspace.  The option to "add new workspace
> > plugins..." should be deselected.
>
> I will fix this.
>
> > - The launch config is setup to use a Foundation 1.0 JRE if
> > available.  I indeed to have one but using the launch config does
> > not work because hte javax.xml related packages were not found.  
> > there likely needs to be a parser supplied somewheere and the
> > appropriate system properties set to direct the framework what
> > classes to bind as the XML services.  I changed the JRE to be 1.5
> > and all worked fine.
>
> Foundation 1.0 would likely work if we installed a parser bundle,
> but for the demo I will just use 1.4.2 or higher.

Can you put up instructions of rhow to run this on Foundation?

> > - We need a set of instructions on the Equinox Demos wiki
> >         http://wiki.eclipse.org/index.php/Equinox_Demos
>
> See comments above !! :(
>
> > - as a point of demo-ability it would be good if the various console
> > commands like startApp and stopApp took short forms of the
> > application ids.  Basically do an indexof over the set of available
> > apps (e.g., inactive or active ones as appropriate) with the given
> > app id fragment.  If there is only one, act on it, if there are
> > more, bail and report ambiguity.  That way you could say "startApp paint"
>
> I was looking into providing a small jface/swt front end to drive
> the apps It should be simple to do, correct?  But I am ignorant when
> it comes to UI programming (I would love to learn, but may not have
> the time).  Do you think using the console to drive the apps is good
> enough for this demo?

Console is definitely good enough. Actually I'm thinking it is even better.  feels retro but new at the same time :-)

> > - It seems that you need to have the runtime bundle (and its
> > attendant prereqs) in the launch config for the app model bundle to
> > start.  Otherwise the app bundle is left in starting state.  Ideally
> > users could simply install the app bundle and its prereqs (is the
> > registry even really needed?)  So the question is, what is the
> > minimal configuration that allows for MEG applications to be run and
> > then what is the recommended/simple configuration.
>
> I can setup an equinox launcher or use a custom config.ini with the
> minimal set of bundles.  This will give us the control to start the
> app model bundle without org.eclipse.core.runtime.  In full eclipse
> platform org.eclipse.core.runtime is started and it ensures the org.
> eclipse.equinox.app bundle gets started.   The registry is
> definately needed because the eclipse application container
> registers ApplicationDescriptor services based on extensions of the
> org.eclipse.core.runtime.applications extension point.

Ok on the registry.  Some configuration that does not include the runtime (and its prereqs would be cool)  I could not get that to wokr.

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

Jeff McAffer | 1 Mar 04:35
Picon

Re: Splash launcher demo


That is pretty cool.  the choice of movie is hilarious and eiriely recursive...  Surely there is something funny and not offensive on YouTube that we could link to...

These demos are great fun
Jeff



Andrew Niefer/Ottawa/IBM <at> IBMCA
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

02/28/2007 07:34 PM

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

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
[equinox-dev] Splash launcher demo






I have just released the initial implementation of the launcer demo for the splash screen.
equinox-incubator/demos/splash

There are 2 bundles:
org.eclipse.equinox.examples.splash :
       This bundle implements a very basic "early splash" which uses the StartupMonitor interface.

org.eclipse.equinox.examples.splash.ui :
This bundle contributes an extension to the ui to do splash screen after the application takes over.  Note the patch ui.workbench.patch, this is required on the org.eclipse.ui.workbench bundle until https://bugs.eclipse.org/bugs/show_bug.cgi?id=175889 is fixed.  The current implementation of this bundle is showing the flash movie from here: http://www.eclipse.org/equinox/documents/osgicongress2005/debugging.html.  I may replace this with "cooler" content later :)

Use the splash.product file to export a standalone rcp app that uses this splash screen.

-Andrew

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

BJ Hargrave | 1 Mar 05:05
Picon
Favicon

Re: app model demo

(on a side note...)

With the changes to lazy activation, we now see bundles in the STARTING 
state a lot more. I think we should modify the console  commands (eg. ss) 
to say something more that just "STARTING" . It would be more useful if 
the console detected the bundle was awaiting activation and said LAZY 
instead of STARTING. This way we can distinguish between a bundle 
functioning normally and waiting for activation and those which have 
abnormally been "stuck" in activation?

Thoughts? If folks agree, I can work up a change to the console.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
hargrave@...

office: +1 386 848 1781
mobile: +1 386 848 3788

Jeff McAffer <Jeff_McAffer@...> 
Sent by: equinox-dev-bounces@...
02/28/2007 10:30 PM
Please respond to
Equinox development mailing list <equinox-dev@...>

To
Equinox development mailing list <equinox-dev@...>
cc

Subject
Re: [equinox-dev] app model demo

I tweaked the wiki by moving the content for that demo to its own page and 
doing a few edits.   

i also tried running the headless launch config but could not get it to 
run.  Is there some magic?  I get an error about the applicaiton not being 
found (we likely don't actually want an Eclipse application to be found 
right?) and the app bundle is left in STARTING state 
id        State       Bundle 
0        ACTIVE      org.eclipse.osgi_3.3.0.v20070208 
1        STARTING    org.eclipse.core.jobs_3.3.0.v20070202 
4        STARTING    org.eclipse.equinox.common_3.3.0.v20070122 
5        RESOLVED    org.eclipse.equinox.examples.sharedisplay_1.0.0 
6        STARTING    org.eclipse.equinox.registry_3.2.100.v20061204 
7        RESOLVED    org.eclipse.osgi.services_3.1.100.v20060918 
8        RESOLVED    org.eclipse.swt_3.3.0.v3325g 
                    Fragments=14 
9        RESOLVED    org.eclipse.swt.examples.addressbook_1.0.0 
10        RESOLVED    org.eclipse.swt.examples.browserexample_1.0.0 
11        RESOLVED    org.eclipse.swt.examples.clipboard_1.0.0 
12        RESOLVED    org.eclipse.swt.examples.graphics_1.0.0 
13        RESOLVED    org.eclipse.swt.examples.paint_1.0.0 
14        RESOLVED    org.eclipse.swt.win32.win32.x86_3.3.0.v3325 
                    Master=8 
15        STARTING    org.eclipse.equinox.app_1.0.0.qualifier 

Thoughts? 

Jeff 

Thomas Watson <tjwatson@...> 
Sent by: equinox-dev-bounces@... 
02/28/2007 06:55 PM 

Please respond to
Equinox development mailing list <equinox-dev@...>

To
Equinox development mailing list <equinox-dev@...> 
cc

Subject
Re: [equinox-dev] app model demo

I updated the wiki (see 
http://wiki.eclipse.org/index.php/Equinox_Demos#Application_Model).  I 
spent some time creating a UI front end.  Its nothing fancy but it seems 
to work good enough.  I did not spend any time making the console commands 
any better.  I don't want to spend any more time on this demo right now. 

TODOs after EclipseCon 

- make app console commands more user friendly 
- provide instructions for running on foundation. 

Tom.

Jeff McAffer <Jeff_McAffer@...> 
Sent by: equinox-dev-bounces@... 
02/28/2007 04:04 PM 

Please respond to
Equinox development mailing list <equinox-dev@...>

To
Equinox development mailing list <equinox-dev@...> 
cc

Subject
Re: [equinox-dev] app model demo

Tom Watson wrote on 02/28/2007 09:32:49 AM:

> 
> Wow Jeff, I'm surprised you got it working with no instructions!!  I
> was working on some instructions earlier this week and they all got 
> lost when I went to save them on the wiki.  Unfortunately I was not 
> smart enough to copy a backup, I was working directly on the wiki 
> page (I will never do that again!!) and when I went to save it 
> somehow wiped out the whole demo page.  No matter what I did I could
> not get back to my new content.  I had to go to history to restore 
> the previous version of the page without my new content. 
> 
> See more comments below 
> 
> Tom. 
> 
> equinox-dev-bounces@... wrote on 02/27/2007 10:37:33 PM:
> 
> > 
> > I was just playing with the app model demo code. It may not be 
> > complete but here is what I observed. 
> > 
> > - Way cool! 
> > - the launch config when loaded into my workspace seemed to include 
> > all the bundles in my workspace.  The option to "add new workspace 
> > plugins..." should be deselected. 
> 
> I will fix this. 
> 
> > - The launch config is setup to use a Foundation 1.0 JRE if 
> > available.  I indeed to have one but using the launch config does 
> > not work because hte javax.xml related packages were not found. 
> > there likely needs to be a parser supplied somewheere and the 
> > appropriate system properties set to direct the framework what 
> > classes to bind as the XML services.  I changed the JRE to be 1.5 
> > and all worked fine. 
> 
> Foundation 1.0 would likely work if we installed a parser bundle, 
> but for the demo I will just use 1.4.2 or higher. 

Can you put up instructions of rhow to run this on Foundation? 

> > - We need a set of instructions on the Equinox Demos wiki 
> >         http://wiki.eclipse.org/index.php/Equinox_Demos 
> 
> See comments above !! :( 
> 
> > - as a point of demo-ability it would be good if the various console
> > commands like startApp and stopApp took short forms of the 
> > application ids.  Basically do an indexof over the set of available 
> > apps (e.g., inactive or active ones as appropriate) with the given 
> > app id fragment.  If there is only one, act on it, if there are 
> > more, bail and report ambiguity.  That way you could say "startApp 
paint" 
> 
> I was looking into providing a small jface/swt front end to drive 
> the apps It should be simple to do, correct?  But I am ignorant when
> it comes to UI programming (I would love to learn, but may not have 
> the time).  Do you think using the console to drive the apps is good
> enough for this demo? 

Console is definitely good enough. Actually I'm thinking it is even 
better.  feels retro but new at the same time :-) 

> > - It seems that you need to have the runtime bundle (and its 
> > attendant prereqs) in the launch config for the app model bundle to 
> > start.  Otherwise the app bundle is left in starting state.  Ideally
> > users could simply install the app bundle and its prereqs (is the 
> > registry even really needed?)  So the question is, what is the 
> > minimal configuration that allows for MEG applications to be run and
> > then what is the recommended/simple configuration. 
> 
> I can setup an equinox launcher or use a custom config.ini with the 
> minimal set of bundles.  This will give us the control to start the 
> app model bundle without org.eclipse.core.runtime.  In full eclipse 
> platform org.eclipse.core.runtime is started and it ensures the org.
> eclipse.equinox.app bundle gets started.   The registry is 
> definately needed because the eclipse application container 
> registers ApplicationDescriptor services based on extensions of the 
> org.eclipse.core.runtime.applications extension point. 

Ok on the registry.  Some configuration that does not include the runtime 
(and its prereqs would be cool)  I could not get that to wokr. 

Jeff _______________________________________________
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
_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Kimberly Horne | 1 Mar 14:16

Re: Splash launcher demo

*cough* http://youtube.com/watch?v=dP_tfVGKxdE *cough*
On Feb 28, 2007, at 10:35 PM, Jeff McAffer wrote:

>
> That is pretty cool.  the choice of movie is hilarious and eiriely  
> recursive...  Surely there is something funny and not offensive on  
> YouTube that we could link to...
>
> These demos are great fun
> Jeff
>
>
>
> Andrew Niefer/Ottawa/IBM <at> IBMCA
> Sent by: equinox-dev-bounces@...
> 02/28/2007 07:34 PM
> Please respond to
> Equinox development mailing list <equinox-dev@...>
>
>
> To
> Equinox development mailing list <equinox-dev@...>
> cc
> Subject
> [equinox-dev] Splash launcher demo
>
>
>
>
>
>
> I have just released the initial implementation of the launcer demo  
> for the splash screen.
> equinox-incubator/demos/splash
>
> There are 2 bundles:
> org.eclipse.equinox.examples.splash :
>        This bundle implements a very basic "early splash" which  
> uses the StartupMonitor interface.
>
> org.eclipse.equinox.examples.splash.ui :
> This bundle contributes an extension to the ui to do splash screen  
> after the application takes over.  Note the patch  
> ui.workbench.patch, this is required on the  
> org.eclipse.ui.workbench bundle until https://bugs.eclipse.org/bugs/ 
> show_bug.cgi?id=175889 is fixed.  The current implementation of  
> this bundle is showing the flash movie from here: http:// 
> www.eclipse.org/equinox/documents/osgicongress2005/debugging.html.   
> I may replace this with "cooler" content later :)
>
> Use the splash.product file to export a standalone rcp app that  
> uses this splash screen.
>
> -Andrew
>
> _______________________________________________
> 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

Thomas Watson | 1 Mar 14:48
Picon
Favicon

Re: app model demo


Thanks for moving the page.  I did not anticipate the content to be so long.  It is better on a separate page.

The headless launch config (equinoxShareDisplay) should work as.  It looks like the org.eclipse.equinox.app bundle is not marked for start in you environment.  Check the Plug-ins tab of the config and ensure that org.eclipse.equinox.app is marked for start.  I just checked the projects out into a new workspace using this weeks I-Build and it seems to work for me.  This is what I get at the console when I run this config.  The org.eclipse.equinox.app bundle is ACTIVE.  We do want an Eclipse application to be found (the headless one provied by org.eclipse.equinox.examples.sharedisplay).  This application is what creates the SWT Display and runs the SWT event loop on the main thread.

osgi> ss

Framework is launched.

id        State       Bundle
0        ACTIVE      org.eclipse.osgi_3.3.0.v20070226
1        STARTING    org.eclipse.core.jobs_3.3.0.v20070226
2        RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.2.100.v20060828
                    Master=6
3        ACTIVE      org.eclipse.equinox.app_1.0.0.v20070226
4        ACTIVE      org.eclipse.equinox.common_3.3.0.v20070226
5        RESOLVED    org.eclipse.equinox.examples.sharedisplay_1.0.0
6        ACTIVE      org.eclipse.equinox.registry_3.2.100.v20070226
                    Fragments=2
7        RESOLVED    org.eclipse.osgi.services_3.1.100.v20060918
8        RESOLVED    org.eclipse.swt_3.3.0.v3328
                    Fragments=14
9        RESOLVED    org.eclipse.swt.examples.addressbook_1.0.0
10        RESOLVED    org.eclipse.swt.examples.browserexample_1.0.0
11        RESOLVED    org.eclipse.swt.examples.clipboard_1.0.0
12        RESOLVED    org.eclipse.swt.examples.graphics_1.0.0
13        RESOLVED    org.eclipse.swt.examples.paint_1.0.0
14        RESOLVED    org.eclipse.swt.win32.win32.x86_3.3.0.v3328
                    Master=8

Also in the wiki you state that exiting the app selector is leaving all applications running.  All the active applications are exiting for me.  Can you run with -consoleLog and see if any exceptions are being logged?  Thanks.

Tom



Jeff McAffer <Jeff_McAffer-G1DYhSM1WHTQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

02/28/2007 09:30 PM

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

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
Re: [equinox-dev] app model demo






I tweaked the wiki by moving the content for that demo to its own page and doing a few edits.  

i also tried running the headless launch config but could not get it to run.  Is there some magic?  I get an error about the applicaiton not being found (we likely don't actually want an Eclipse application to be found right?) and the app bundle is left in STARTING state
id        State       Bundle
0        ACTIVE      org.eclipse.osgi_3.3.0.v20070208
1        STARTING    org.eclipse.core.jobs_3.3.0.v20070202
4        STARTING    org.eclipse.equinox.common_3.3.0.v20070122
5        RESOLVED    org.eclipse.equinox.examples.sharedisplay_1.0.0
6        STARTING    org.eclipse.equinox.registry_3.2.100.v20061204
7        RESOLVED    org.eclipse.osgi.services_3.1.100.v20060918
8        RESOLVED    org.eclipse.swt_3.3.0.v3325g
                   Fragments=14
9        RESOLVED    org.eclipse.swt.examples.addressbook_1.0.0
10        RESOLVED    org.eclipse.swt.examples.browserexample_1.0.0
11        RESOLVED    org.eclipse.swt.examples.clipboard_1.0.0
12        RESOLVED    org.eclipse.swt.examples.graphics_1.0.0
13        RESOLVED    org.eclipse.swt.examples.paint_1.0.0
14        RESOLVED    org.eclipse.swt.win32.win32.x86_3.3.0.v3325
                   Master=8
15        STARTING    org.eclipse.equinox.app_1.0.0.qualifier

Thoughts?

Jeff


Thomas Watson <tjwatson-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

02/28/2007 06:55 PM

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

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
Re: [equinox-dev] app model demo








I updated the wiki (see http://wiki.eclipse.org/index.php/Equinox_Demos#Application_Model).  I spent some time creating a UI front end.  Its nothing fancy but it seems to work good enough.  I did not spend any time making the console commands any better.  I don't want to spend any more time on this demo right now.

TODOs after EclipseCon

- make app console commands more user friendly
- provide instructions for running on foundation.

Tom.

Jeff McAffer <Jeff_McAffer-G1DYhSM1WHTQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

02/28/2007 04:04 PM

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


To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
Re: [equinox-dev] app model demo










Tom Watson wrote on 02/28/2007 09:32:49 AM:

>
> Wow Jeff, I'm surprised you got it working with no instructions!!  I
> was working on some instructions earlier this week and they all got
> lost when I went to save them on the wiki.  Unfortunately I was not
> smart enough to copy a backup, I was working directly on the wiki
> page (I will never do that again!!) and when I went to save it
> somehow wiped out the whole demo page.  No matter what I did I could
> not get back to my new content.  I had to go to history to restore
> the previous version of the page without my new content.
>
> See more comments below
>
> Tom.
>
> equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org wrote on 02/27/2007 10:37:33 PM:
>
> >
> > I was just playing with the app model demo code. It may not be
> > complete but here is what I observed.
> >
> > - Way cool!
> > - the launch config when loaded into my workspace seemed to include
> > all the bundles in my workspace.  The option to "add new workspace
> > plugins..." should be deselected.
>
> I will fix this.
>
> > - The launch config is setup to use a Foundation 1.0 JRE if
> > available.  I indeed to have one but using the launch config does
> > not work because hte javax.xml related packages were not found.  
> > there likely needs to be a parser supplied somewheere and the
> > appropriate system properties set to direct the framework what
> > classes to bind as the XML services.  I changed the JRE to be 1.5
> > and all worked fine.
>
> Foundation 1.0 would likely work if we installed a parser bundle,
> but for the demo I will just use 1.4.2 or higher.

Can you put up instructions of rhow to run this on Foundation?

> > - We need a set of instructions on the Equinox Demos wiki
> >         http://wiki.eclipse.org/index.php/Equinox_Demos
>
> See comments above !! :(
>
> > - as a point of demo-ability it would be good if the various console
> > commands like startApp and stopApp took short forms of the
> > application ids.  Basically do an indexof over the set of available
> > apps (e.g., inactive or active ones as appropriate) with the given
> > app id fragment.  If there is only one, act on it, if there are
> > more, bail and report ambiguity.  That way you could say "startApp paint"
>
> I was looking into providing a small jface/swt front end to drive
> the apps It should be simple to do, correct?  But I am ignorant when
> it comes to UI programming (I would love to learn, but may not have
> the time).  Do you think using the console to drive the apps is good
> enough for this demo?

Console is definitely good enough. Actually I'm thinking it is even better.  feels retro but new at the same time :-)

> > - It seems that you need to have the runtime bundle (and its
> > attendant prereqs) in the launch config for the app model bundle to
> > start.  Otherwise the app bundle is left in starting state.  Ideally
> > users could simply install the app bundle and its prereqs (is the
> > registry even really needed?)  So the question is, what is the
> > minimal configuration that allows for MEG applications to be run and
> > then what is the recommended/simple configuration.
>
> I can setup an equinox launcher or use a custom config.ini with the
> minimal set of bundles.  This will give us the control to start the
> app model bundle without org.eclipse.core.runtime.  In full eclipse
> platform org.eclipse.core.runtime is started and it ensures the org.
> eclipse.equinox.app bundle gets started.   The registry is
> definately needed because the eclipse application container
> registers ApplicationDescriptor services based on extensions of the
> org.eclipse.core.runtime.applications extension point.

Ok on the registry.  Some configuration that does not include the runtime (and its prereqs would be cool)  I could not get that to wokr.

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

Thomas Watson | 1 Mar 15:54
Picon
Favicon

Re: app model demo


Sounds like a fine idea, but how are you going to determine if the bundle is in the "LAZY" state?  You will need to use framework internals to get such information.

Tom




BJ Hargrave/Austin/IBM <at> IBMUS
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

02/28/2007 10:05 PM

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

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
Re: [equinox-dev] app model demo





(on a side note...)

With the changes to lazy activation, we now see bundles in the STARTING
state a lot more. I think we should modify the console  commands (eg. ss)
to say something more that just "STARTING" . It would be more useful if
the console detected the bundle was awaiting activation and said LAZY
instead of STARTING. This way we can distinguish between a bundle
functioning normally and waiting for activation and those which have
abnormally been "stuck" in activation?

Thoughts? If folks agree, I can work up a change to the console.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
hargrave-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org

office: +1 386 848 1781
mobile: +1 386 848 3788




Jeff McAffer <Jeff_McAffer-G1DYhSM1WHTQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
02/28/2007 10:30 PM
Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>


To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc

Subject
Re: [equinox-dev] app model demo







I tweaked the wiki by moving the content for that demo to its own page and
doing a few edits.  

i also tried running the headless launch config but could not get it to
run.  Is there some magic?  I get an error about the applicaiton not being
found (we likely don't actually want an Eclipse application to be found
right?) and the app bundle is left in STARTING state
id        State       Bundle
0        ACTIVE      org.eclipse.osgi_3.3.0.v20070208
1        STARTING    org.eclipse.core.jobs_3.3.0.v20070202
4        STARTING    org.eclipse.equinox.common_3.3.0.v20070122
5        RESOLVED    org.eclipse.equinox.examples.sharedisplay_1.0.0
6        STARTING    org.eclipse.equinox.registry_3.2.100.v20061204
7        RESOLVED    org.eclipse.osgi.services_3.1.100.v20060918
8        RESOLVED    org.eclipse.swt_3.3.0.v3325g
                   Fragments=14
9        RESOLVED    org.eclipse.swt.examples.addressbook_1.0.0
10        RESOLVED    org.eclipse.swt.examples.browserexample_1.0.0
11        RESOLVED    org.eclipse.swt.examples.clipboard_1.0.0
12        RESOLVED    org.eclipse.swt.examples.graphics_1.0.0
13        RESOLVED    org.eclipse.swt.examples.paint_1.0.0
14        RESOLVED    org.eclipse.swt.win32.win32.x86_3.3.0.v3325
                   Master=8
15        STARTING    org.eclipse.equinox.app_1.0.0.qualifier

Thoughts?

Jeff



Thomas Watson <tjwatson-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
02/28/2007 06:55 PM

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


To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc

Subject
Re: [equinox-dev] app model demo









I updated the wiki (see
http://wiki.eclipse.org/index.php/Equinox_Demos#Application_Model).  I
spent some time creating a UI front end.  Its nothing fancy but it seems
to work good enough.  I did not spend any time making the console commands
any better.  I don't want to spend any more time on this demo right now.

TODOs after EclipseCon

- make app console commands more user friendly
- provide instructions for running on foundation.

Tom.


Jeff McAffer <Jeff_McAffer-G1DYhSM1WHTQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
02/28/2007 04:04 PM

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



To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc

Subject
Re: [equinox-dev] app model demo











Tom Watson wrote on 02/28/2007 09:32:49 AM:

>
> Wow Jeff, I'm surprised you got it working with no instructions!!  I
> was working on some instructions earlier this week and they all got
> lost when I went to save them on the wiki.  Unfortunately I was not
> smart enough to copy a backup, I was working directly on the wiki
> page (I will never do that again!!) and when I went to save it
> somehow wiped out the whole demo page.  No matter what I did I could
> not get back to my new content.  I had to go to history to restore
> the previous version of the page without my new content.
>
> See more comments below
>
> Tom.
>
> equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org wrote on 02/27/2007 10:37:33 PM:
>
> >
> > I was just playing with the app model demo code. It may not be
> > complete but here is what I observed.
> >
> > - Way cool!
> > - the launch config when loaded into my workspace seemed to include
> > all the bundles in my workspace.  The option to "add new workspace
> > plugins..." should be deselected.
>
> I will fix this.
>
> > - The launch config is setup to use a Foundation 1.0 JRE if
> > available.  I indeed to have one but using the launch config does
> > not work because hte javax.xml related packages were not found.
> > there likely needs to be a parser supplied somewheere and the
> > appropriate system properties set to direct the framework what
> > classes to bind as the XML services.  I changed the JRE to be 1.5
> > and all worked fine.
>
> Foundation 1.0 would likely work if we installed a parser bundle,
> but for the demo I will just use 1.4.2 or higher.

Can you put up instructions of rhow to run this on Foundation?

> > - We need a set of instructions on the Equinox Demos wiki
> >         http://wiki.eclipse.org/index.php/Equinox_Demos
>
> See comments above !! :(
>
> > - as a point of demo-ability it would be good if the various console
> > commands like startApp and stopApp took short forms of the
> > application ids.  Basically do an indexof over the set of available
> > apps (e.g., inactive or active ones as appropriate) with the given
> > app id fragment.  If there is only one, act on it, if there are
> > more, bail and report ambiguity.  That way you could say "startApp
paint"
>
> I was looking into providing a small jface/swt front end to drive
> the apps It should be simple to do, correct?  But I am ignorant when
> it comes to UI programming (I would love to learn, but may not have
> the time).  Do you think using the console to drive the apps is good
> enough for this demo?

Console is definitely good enough. Actually I'm thinking it is even
better.  feels retro but new at the same time :-)

> > - It seems that you need to have the runtime bundle (and its
> > attendant prereqs) in the launch config for the app model bundle to
> > start.  Otherwise the app bundle is left in starting state.  Ideally
> > users could simply install the app bundle and its prereqs (is the
> > registry even really needed?)  So the question is, what is the
> > minimal configuration that allows for MEG applications to be run and
> > then what is the recommended/simple configuration.
>
> I can setup an equinox launcher or use a custom config.ini with the
> minimal set of bundles.  This will give us the control to start the
> app model bundle without org.eclipse.core.runtime.  In full eclipse
> platform org.eclipse.core.runtime is started and it ensures the org.
> eclipse.equinox.app bundle gets started.   The registry is
> definately needed because the eclipse application container
> registers ApplicationDescriptor services based on extensions of the
> org.eclipse.core.runtime.applications extension point.

Ok on the registry.  Some configuration that does not include the runtime
(and its prereqs would be cool)  I could not get that to wokr.

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


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

BJ Hargrave | 1 Mar 17:16
Picon
Favicon

Re: app model demo

Not  sure. I will let you know when I figure it out!

I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=176049 to track 
this change.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
hargrave@...

office: +1 386 848 1781
mobile: +1 386 848 3788

Thomas Watson/Austin/IBM <at> IBMUS 
Sent by: equinox-dev-bounces@...
03/01/2007 09:54 AM
Please respond to
Equinox development mailing list <equinox-dev@...>

To
Equinox development mailing list <equinox-dev@...>
cc

Subject
Re: [equinox-dev] app model demo

Sounds like a fine idea, but how are you going to determine if the bundle 
is in the "LAZY" state?  You will need to use framework internals to get 
such information. 

Tom 

BJ Hargrave/Austin/IBM <at> IBMUS 
Sent by: equinox-dev-bounces@... 
02/28/2007 10:05 PM 

Please respond to
Equinox development mailing list <equinox-dev@...>

To
Equinox development mailing list <equinox-dev@...> 
cc

Subject
Re: [equinox-dev] app model demo

(on a side note...)

With the changes to lazy activation, we now see bundles in the STARTING 
state a lot more. I think we should modify the console  commands (eg. ss) 
to say something more that just "STARTING" . It would be more useful if 
the console detected the bundle was awaiting activation and said LAZY 
instead of STARTING. This way we can distinguish between a bundle 
functioning normally and waiting for activation and those which have 
abnormally been "stuck" in activation?

Thoughts? If folks agree, I can work up a change to the console.

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
hargrave@...

office: +1 386 848 1781
mobile: +1 386 848 3788

Jeff McAffer <Jeff_McAffer@...> 
Sent by: equinox-dev-bounces@...
02/28/2007 10:30 PM
Please respond to
Equinox development mailing list <equinox-dev@...>

To
Equinox development mailing list <equinox-dev@...>
cc

Subject
Re: [equinox-dev] app model demo

I tweaked the wiki by moving the content for that demo to its own page and 

doing a few edits. 

i also tried running the headless launch config but could not get it to 
run.  Is there some magic?  I get an error about the applicaiton not being 

found (we likely don't actually want an Eclipse application to be found 
right?) and the app bundle is left in STARTING state 
id        State       Bundle 
0        ACTIVE      org.eclipse.osgi_3.3.0.v20070208 
1        STARTING    org.eclipse.core.jobs_3.3.0.v20070202 
4        STARTING    org.eclipse.equinox.common_3.3.0.v20070122 
5        RESOLVED    org.eclipse.equinox.examples.sharedisplay_1.0.0 
6        STARTING    org.eclipse.equinox.registry_3.2.100.v20061204 
7        RESOLVED    org.eclipse.osgi.services_3.1.100.v20060918 
8        RESOLVED    org.eclipse.swt_3.3.0.v3325g 
                   Fragments=14 
9        RESOLVED    org.eclipse.swt.examples.addressbook_1.0.0 
10        RESOLVED    org.eclipse.swt.examples.browserexample_1.0.0 
11        RESOLVED    org.eclipse.swt.examples.clipboard_1.0.0 
12        RESOLVED    org.eclipse.swt.examples.graphics_1.0.0 
13        RESOLVED    org.eclipse.swt.examples.paint_1.0.0 
14        RESOLVED    org.eclipse.swt.win32.win32.x86_3.3.0.v3325 
                   Master=8 
15        STARTING    org.eclipse.equinox.app_1.0.0.qualifier 

Thoughts? 

Jeff 

Thomas Watson <tjwatson@...> 
Sent by: equinox-dev-bounces@... 
02/28/2007 06:55 PM 

Please respond to
Equinox development mailing list <equinox-dev@...>

To
Equinox development mailing list <equinox-dev@...> 
cc

Subject
Re: [equinox-dev] app model demo

I updated the wiki (see 
http://wiki.eclipse.org/index.php/Equinox_Demos#Application_Model).  I 
spent some time creating a UI front end.  Its nothing fancy but it seems 
to work good enough.  I did not spend any time making the console commands 

any better.  I don't want to spend any more time on this demo right now. 

TODOs after EclipseCon 

- make app console commands more user friendly 
- provide instructions for running on foundation. 

Tom.

Jeff McAffer <Jeff_McAffer@...> 
Sent by: equinox-dev-bounces@... 
02/28/2007 04:04 PM 

Please respond to
Equinox development mailing list <equinox-dev@...>

To
Equinox development mailing list <equinox-dev@...> 
cc

Subject
Re: [equinox-dev] app model demo

Tom Watson wrote on 02/28/2007 09:32:49 AM:

> 
> Wow Jeff, I'm surprised you got it working with no instructions!!  I
> was working on some instructions earlier this week and they all got 
> lost when I went to save them on the wiki.  Unfortunately I was not 
> smart enough to copy a backup, I was working directly on the wiki 
> page (I will never do that again!!) and when I went to save it 
> somehow wiped out the whole demo page.  No matter what I did I could
> not get back to my new content.  I had to go to history to restore 
> the previous version of the page without my new content. 
> 
> See more comments below 
> 
> Tom. 
> 
> equinox-dev-bounces@... wrote on 02/27/2007 10:37:33 PM:
> 
> > 
> > I was just playing with the app model demo code. It may not be 
> > complete but here is what I observed. 
> > 
> > - Way cool! 
> > - the launch config when loaded into my workspace seemed to include 
> > all the bundles in my workspace.  The option to "add new workspace 
> > plugins..." should be deselected. 
> 
> I will fix this. 
> 
> > - The launch config is setup to use a Foundation 1.0 JRE if 
> > available.  I indeed to have one but using the launch config does 
> > not work because hte javax.xml related packages were not found. 
> > there likely needs to be a parser supplied somewheere and the 
> > appropriate system properties set to direct the framework what 
> > classes to bind as the XML services.  I changed the JRE to be 1.5 
> > and all worked fine. 
> 
> Foundation 1.0 would likely work if we installed a parser bundle, 
> but for the demo I will just use 1.4.2 or higher. 

Can you put up instructions of rhow to run this on Foundation? 

> > - We need a set of instructions on the Equinox Demos wiki 
> >         http://wiki.eclipse.org/index.php/Equinox_Demos 
> 
> See comments above !! :( 
> 
> > - as a point of demo-ability it would be good if the various console
> > commands like startApp and stopApp took short forms of the 
> > application ids.  Basically do an indexof over the set of available 
> > apps (e.g., inactive or active ones as appropriate) with the given 
> > app id fragment.  If there is only one, act on it, if there are 
> > more, bail and report ambiguity.  That way you could say "startApp 
paint" 
> 
> I was looking into providing a small jface/swt front end to drive 
> the apps It should be simple to do, correct?  But I am ignorant when
> it comes to UI programming (I would love to learn, but may not have 
> the time).  Do you think using the console to drive the apps is good
> enough for this demo? 

Console is definitely good enough. Actually I'm thinking it is even 
better.  feels retro but new at the same time :-) 

> > - It seems that you need to have the runtime bundle (and its 
> > attendant prereqs) in the launch config for the app model bundle to 
> > start.  Otherwise the app bundle is left in starting state.  Ideally
> > users could simply install the app bundle and its prereqs (is the 
> > registry even really needed?)  So the question is, what is the 
> > minimal configuration that allows for MEG applications to be run and
> > then what is the recommended/simple configuration. 
> 
> I can setup an equinox launcher or use a custom config.ini with the 
> minimal set of bundles.  This will give us the control to start the 
> app model bundle without org.eclipse.core.runtime.  In full eclipse 
> platform org.eclipse.core.runtime is started and it ensures the org.
> eclipse.equinox.app bundle gets started.   The registry is 
> definately needed because the eclipse application container 
> registers ApplicationDescriptor services based on extensions of the 
> org.eclipse.core.runtime.applications extension point. 

Ok on the registry.  Some configuration that does not include the runtime 
(and its prereqs would be cool)  I could not get that to wokr. 

Jeff _______________________________________________
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
_______________________________________________
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
_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Michael Furtak | 1 Mar 17:22

Equinox/OSGi class loading and [de]serialization

Hello,

 

I am looking for some advice regarding coping with the Equinox/OSGi bundle classloader architecture within the framework I am building.  The scenario is this:

 

I have a bundle that defines an API for developing application components than can then be assembled into composite components.  Component.java and CompositeComponent.java are defined within that API bundle.  Also defined within that API bundle is a class to help me serialize and deserialize [Composite]Components.

 

Concrete component types are intended to be developed separately and contributed as plug-in bundles.  Therefore you could have a CompositeComponent consisting of 3 concrete components of differing types, A, B and C.

 

The issue I am running into is the inability to deserialize a CompositeComponent containing types A, B, and C, because their concrete component class types are only defined within their respective bundles’ classloaders.  i.e. when the CompositeComponent is instantiated, ClassNotFoundExceptions are thrown for types A, B, and C within the API bundle.

 

Does anyone have a recommendation or strategy to cope with this?  I recognize that the classloader separation is part of the core of the architecture, but it seems to make [de]serialization a real challenge.

 

Thanks,

-Mike Furtak

Matthew Webster | 1 Mar 17:40
Picon
Favicon

[Aspects] info cannot supplement org.eclipse.team.ui


Oren wrote:

Hi Matthew,
 
I am writing an aspect targeted to be woven into org.eclipse.team.ui.synchronize.ModelOperation (defined in bundle org.eclipse.team.ui).
However, I get the following message:
 
[org.aspectj.osgi] info cannot supplement org.eclipse.team.ui
 
Why?
 
Thanks,
Oren

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM United Kingdom Limited
Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)




Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU







Gmane