Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

02/28/2007 06:55 PM

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

To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
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@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

02/28/2007 04:04 PM

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

To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
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@xxxxxxxxxxx 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@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

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


Back to the top