I was able to successfully convert some of the Pedagogica Steps, I haven't tried them all yet though, and I was wondering how to deal with the jar files. It seems as if there are two ways to handle them. One would be to always keep the jar files with the otml files so the otml file could access the jars locally. Another would be to put the jar files on a web server so that the otml could access it remotely. How are you guys handling this?
I can't run the JNLP at the url http://itsidiy.concord.org/models/2. It gives me this "Unable to launch the application" error, the stack trace is below. Do I need to install something? java.lang.NullPointerException at com.sun.deploy.net.DownloadEngine.applyPatch(DownloadEngine.java:607) at com.sun.deploy.cache.CacheEntry.processTempDataFile(CacheEntry.java:645) at com.sun.deploy.cache.Cache.downloadResourceToCache(Cache.java:500) at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:947) at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1059) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1134) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1068) at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:142) at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:826) at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:742) at com.sun.javaws.Launcher.downloadResources(Launcher.java:1165) at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:540) at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:157) at com.sun.javaws.Launcher.launch(Launcher.java:95) at com.sun.javaws.Main.launchApp(Main.java:302) at com.sun.javaws.Main.continueInSecureThread(Main.java:212) at com.sun.javaws.Main$1.run(Main.java:107) at java.lang.Thread.run(Thread.java:613) Thanks, Geoff On Thu, Jun 19, 2008 at 11:23 AM, Aaron Unger <[EMAIL PROTECTED]> wrote: > Some of the pedagogica models also include Model Logging (the greenhouse > model does, iirc), which wouldn't get carried over if you converted it to a > more specific type (OTNLogoModel, etc.). > > -- Aaron > > > On Thu, Jun 19, 2008 at 11:02 AM, Stephen Bannasch < > [EMAIL PROTECTED]> wrote: > >> >> >> >> At 12:40 PM -0400 6/19/08, Scott Cytacki wrote: >> >Geoffrey Kwan wrote: >> >> So it turns out I was looking at old versions of our projects, sorry. >> >> After checking out the most recent versions of the projects we use the >> >> most, I found that none of the model steps were authored as Evidence >> >> steps with a button anymore. Models showed up in 3 ways, shown below. >> >> >> >> Here are examples of the wise2 steps with models >> >> >> >> Berkeley Pedagogica >> >> Launch Button for JNLP >> >> Base HREF of software: >> >> http://wise25.concord.org/workspaces/wise25/Build/ >> > > Saved activity: GreenhouseNetLogo.save.jar >> >> >> >> Is that model the same as this NetLogo Greenhouse Earth model (open the >> page below and click the Ru link)? >> >> http://itsidiy.concord.org/models/2 >> >> That uses the NetLogo4 model at this url: >> >> >> http://itsi.concord.org/share/NL_activities/02_Global_warming/Climate_change-1-v40.nlogo >> >> If so you should be able to embed this as an OTNLogoModel. >> >> See NetLogo examples: >> >> http://continuum.concord.org/otrunk/examples/NetLogo/ot-index.html >> >> > > OTrunk (Methane MW) >> >> Launched JNLP when step is clicked >> >> Uses OTML >> >> >> >> > > OTrunkModel (Hydrogen MW) >> >> Launched JNLP when step is clicked >> >> Url: http://wise.berkeley.edu/upload/30398/hydrogen1.cml >> >> >> Same thing for MW models. See many examples: >> >> >> http://continuum.concord.org/otrunk/examples/MolecularWorkbench/ot-index.html >> >> >> > > >> >> >> >> >> >> Looks like the ones I need to still handle are the Berkeley Pedagogica >> >> and the OTrunkModel steps. >> >OTrunkModel steps are really the same as OTrunk steps. They are otml >> >files. Thy just come from a different place in the WISE-DIY. If you >> >look at the existing converter you should be able to figure out how to >> >handle them. >> >> >> >> For Berkeley Pedagogica, there isn't currently an OTPedagogica is >> >> there? The Berkeley Pedagogica steps look as if they have a codebase >> >> url and a jar attached to them. How can I incorporate them into my >> otml? >> >There is an OTPedagogica its real name is: >> >org.concord.pedagogica.ui.RunActivityProperties >> > >> >Its view is: >> >org.concord.pedagogica.ui.RunActivity >> > >> >This way of using Pedagogica hasn't been used much, but I think we can >> >fix any problems that come up. If the step can be run when you convert >> >it Pod based curnit, then it should run inside of PasOTrunk. There >> >will be some Pedagogica steps that won't run because they are based on >> >older jar files. But any project that has been used as a Sail project, >> >should be up-to-date. >> >> >> >> >> See example here: >> >> http://continuum.concord.org/otrunk/examples/Pedagogica/ot-index.html >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
