If we're going to keep the 1.5+ spec, we need another app that works
on 1.4 that users can run to get their system set up correctly.  Think
that'll be possible?  I'm imagining you click on that; it checks your
OS; if it's OSX it makes sure you have Java 5 and that it's set as the
default handler for JNLPs.

I write this now because Jim just called me from in front of a laptop
with Java 1.4.2 that he wanted to use to demo to a chemistry professor
interested in SAIL.  He got the "only JNLP version 1.0 is supported"
message and had no idea what to do.

Whether the Windows version does the smart message to help you
upgrade, the Mac version doesn't, so we need to make or find an app to
do it.  Who wants to?  :)
  http://telscenter.org/jira/browse/OWL-270

Regarding MIME type handlers, I was thinking we'd have a small curnit
handler app that asked the user what they want to do with the file,
then delegate.  So double-clicking on a .curnit file would pop up a
small dialog with a short list of buttons, e.g. Info, Preview, Edit,
Upload.

With the other service we can detect *and* act intelligently on
multiple launches.  For example it could tell you that there is a VLE
running already with the same curnit and it can focus on that window.
Or if it's a different curnit it can tell you that another curnit is
already running, but if you want this one click Confirm to launch (in
the same JVM).


-Turadg


On Jul 24, 7:38 am, Scott Cytacki <[EMAIL PROTECTED]> wrote:
> Turadg wrote:
> > Ok, I'll take the plunge.  If anything bad happens in the next couple
> > days, I can address it.  If the badness doesn't show up till later, I
> > may not be available, but simply reverting the template should fix it.
>
> > So I'm checking in a bump to "1.5" of the both the j2se version *and*
> > the spec version.
>
> I tested it with webstart 1.4.2 on the mac, by just opening the file
> explicitly with the 1.4 webstart application.  Here is the error message
> I get:
> --------
> An error occurred while launching/running the application.
>
> Title: WISE 3.0 Test
> Vendor: Created by the TELS Project and Concord Consortium
> Category: Launch File Error
>
> Unsupported JNLP version in launch file: 1.5+. Only version 1.0 is
> supported with this version. Please contact the application vendor to
> report this problem.
> --------
>
> If I manually change the spec back to 1.0.  And try the same thing, it
> runs the application.  That is because the java 1.5 vm has been
> registered with the 1.4 webstart on OSX.   But because it is using 1.4
> webstart it doesn't use pack200 so it has to download 31MB of jars.  So
> one good thing about bumping the spec is that it will make sure people
> are using a pack200 enabled webstart.
>
> Someone should test this on windows with only 1.4 installed.  I think in
> that case if the spec is 1.0 and the j2se version is 1.5+ a relative
> nice message will come up saying you need to install a newer version of
> java.  I think it also offers to install it for you.   So bumping the
> spec on windows is probably not the best thing to do, but
> as long as we make it clear the message above means you need to upgrade
> your java then its probably ok.>   The newer spec adds these useful features:
> > Allow applications to associate with a file ext / mime-type
> >http://jcp.org/aboutJava/communityprocess/maintenance/jsr056/jnlp_spe...
>
> I'm not sure how we can use this one.  It might be good for the
> authoring tool, but that will have to deal with different sets of jar
> files depending on which curnit you are authoring.  So it probably isn't
> possible to have a single binding between all curnits and one jnlp.> 
> SingleInstanceService
> >http://jcp.org/aboutJava/communityprocess/maintenance/jsr056/jnlp_spe...
>
> We should be using this one to detect multiple VLE launches.
>
> Scott


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to