[daisy] importPackage does not work in Document Task
Jonas Tamsyn
jt at schaubroeck.be
Wed Sep 5 08:03:50 CDT 2007
Hi,
When I try to use the importPackage (or inputClass) function in a document
task script I get the following error:
org.mozilla.javascript.EcmaError: ReferenceError: "importPackage" is not
defined. (#1)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229)
at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219)
at
org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3292)
at
org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(ScriptRuntime.ja
va:1894)
at
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2923)
at script(:1)
at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161
)
at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
at
org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:172
)
at
org.outerj.daisy.doctaskrunner.serverimpl.TaskRunner.run(TaskRunner.java:96)
at java.lang.Thread.run(Unknown Source)
Normally you should be able to use this function here.
Could it be an error in the execution of the script in the doctaskrunner?
Kind regards
Jonas Tamsyn
Schaubroeck Informatica
Steenweg Deinze 154
9810 Nazareth
jt at schaubroeck.be
**** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20070905/3bb8cca9/attachment.htm
More information about the daisy
mailing list