thomas.deweese wrote:
> 
> 
> Did you include the resources directory?  In particular the
> resources/META-INF/services/org.apache.batik.script.InterpreterFactory
> is important for finding the ECMA Script interpreter.
> 
> 

Thanks for the reply, I thought no body had replied to this as I never
received an email maybe it was blocked, anyway not important.

That file existed in a few JAR files that are on the classpath but that file
was not in a resources folder itself. So I have extracted the file from one
of the jars. I have a folder called resources already which is on the build
path in eclipse and put the file
"org.apache.batik.script.InterpreterFactory" in there, that didn't work. So
under resources I tried adding directories "META-INF/services" and putting
it under there, that also didn't work. Both same error "Unknown language:
text/emcascript".

Any ideas? I did mention that the file you mention was in a few of the JAR
files, maybe they are causing a conflict with each other, I just added all
the jars onto classpath (listed at bottom), maybe I need to remove some?
Also how is that file picked up in the Batix code? just a resource bundle?
If I knew I could check my code can reference the file.

TIA,
Dale

batik-rasterizer.jar
batik-slideshow.jar
batik-squiggle.jar
batik-svgpp.jar
batik-ttf2svg.jar
batik.jar
batik-rasterizer-ext.jar
batik-squiggle-ext.jar
batik-anim.jar
batik-awt-util.jar
batik-bridge.jar
batik-codec.jar
batik-css.jar
batik-dom.jar
batik-ext.jar
batik-extension.jar
batik-gui-util.jar
batik-gvt.jar
batik-parser.jar
batik-script.jar
batik-svg-dom.jar
batik-svggen.jar
batik-swing.jar
batik-transcoder.jar
batik-util.jar
batik-xml.jar
js.jar
pdf-transcoder.jar
xalan-2.6.0.jar
xerces_2_5_0.jar
xml-apis-ext.jar
xml-apis.jar
-- 
View this message in context: 
http://old.nabble.com/Unknown-language%3A-text-ecmascript-tp25962063p26160071.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to