The package containing those classes is actually named ot-script (due to a filename length restriction on windows... long story).

You'll need to add the following as dependencies in the pom.xml:
ot-script-api, ot-bsf, ot-script-view

and one or more of:
ot-_javascript_, ot-jruby, ot-jython (depending on which languages you want to support)

I don't think you can just depend on ot-script.

ex:
<dependency>
      <groupId>org.concord.otrunk.ot-script</groupId>
      <artifactId>ot-script-api</artifactId>
      <version>0.1.0-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>
<dependency>
      <groupId>org.concord.otrunk.ot-script</groupId>
      <artifactId>ot-bsf</artifactId>
      <version>0.1.0-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>
<dependency>
      <groupId>org.concord.otrunk.ot-script</groupId>
      <artifactId>ot-_javascript_</artifactId>
      <version>0.1.0-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>
<dependency>
      <groupId>org.concord.otrunk.ot-script</groupId>
      <artifactId>ot-script-view</artifactId>
      <version>0.1.0-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>
... etc. ...

-- Aaron

Geoffrey Kwan wrote:
Does anyone have a little time to create this jar for us? This isn't a high priority so whenever anyone happens to have some free time, I'd appreciate it.

Thanks,
Geoff

On Wed, Jul 2, 2008 at 5:50 PM, Geoffrey Kwan <[EMAIL PROTECTED]> wrote:
When I run the authoring tool jnlp with the Thermodynamics.otml project, I receive this error

Invalid OTType: OTScriptEngineBundle
   located at: otrunk/objects/OTSystem/bundles/OTScriptEngineBundle
   if this is supposed to be an OTObject check the imports
java.lang.IllegalStateException: Can't find OTClass for <OTScriptObject> check the imports
    at org.concord.otrunk.xml.ObjectTypeHandler.handleChildResource(ObjectTypeHandler.java:335)
    at org.concord.otrunk.xml.ObjectTypeHandler.handleElement(ObjectTypeHandler.java:209)
    at org.concord.otrunk.xml.TypeService.handleLiteralElement(TypeService.java:308)
    at org.concord.otrunk.xml.ListTypeHandler.handleElement(ListTypeHandler.java:103)
    at org.concord.otrunk.xml.ObjectTypeHandler.handleChildResource(ObjectTypeHandler.java:363)
    at org.concord.otrunk.xml.ObjectTypeHandler.handleElement(ObjectTypeHandler.java:209)
    ...

I believe this is caused by not having otrunk-script as a dependency so I tried adding otrunk-script as a dependency for pas-author-runtime but then realized otrunk-script does not have a jar snapshot. I was wondering if Concord could create an otrunk-script jar so I could add it as a dependency?

Thanks,
Geoff





--~--~---------~--~----~------------~-------~--~----~
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