From: Mina K. <mu0...@bu...> - 2004-03-23 13:55:23
|
Hi! I've used the Java Compressor to compress some javascript files using the jsCompressor.xml file (see below). Everything seems to work fine. The result is one single js file. However, when I try to use it I get an error (both in IE and Mozilla Firebird). It seems as if there are no dynapi object (!?). I've checked the js file for the text "var dynapi=new DynAPIObject()" and it does exist... I don't have a clue of what's wrong. IE and Firebird doesn't give me much help... Has anyone succeeded in using the Java Compressor??? Thank you for your help. Here is the jsCompressor.xml file that I use <jscompressor> <compressed-file name="C:\dyn.js"> <input-file name="C:\js\src\dynapi.js"/> <input-file name="C:\js\src\api\event.js"/> <input-file name="C:\js\src\api\dyndocument.js"/> <input-file name="C:\js\src\api\dynlayer_base.js"/> <input-group> <input-file name="C:\js\src\api\dynlayer_ie.js" compare-value="dynapi.ua.ie" /> <input-file name="C:\js\src\api\dynlayer_dom.js"/> </input-group> <input-group> <input-file name="C:\js\src\api\mouse_ie.js" compare-value="dynapi.ua.ie" /> <input-file name="C:\js\src\api\mouse_dom.js"/> </input-group> <input-file name="C:\js\src\api\ext\dynlayer.inline.js"/> </compressed-file> </jscompressor> This is the output from the program: C:\java.compressor>java JSCompressor ---- Compressing Files ---- -- Using configuration found in jsCompressor.xml Line separator: -- Compressed File Summary: output file name: C:\dyn.js input file names: C:\js\src\dynapi.js C:\js\src\api\event.js C:\js\src\api\dyndocument.js C:\js\src\api\dynlayer_base.js input group: C:\js\src\api\dynlayer_ie.js C:\js\src\api\dynlayer_dom.js input group: C:\js\src\api\mouse_ie.js C:\js\src\api\mouse_dom.js C:\js\src\api\ext\dynlayer.inline.js C:\java.compressor> |