Title: Re: IMPORTANT javascript naming convention
About the Rhino compression working on windows/unix/etc.
 
In the Dojo build process it looks like the only _javascript_ file they compress is the main dojo.js, and any other files you pull in separately and uncompressed.
 
I wrote a small java program that compresses every xap file. However I ran into problems in that if I had the jar in the classpath and called it for each file the state would not reset between files and each file would include all the previous ones.
 
To get around this I used Runtime.exec() so that each call the the jar for each file to compress was distinct and would reset. That is why my uncertainty comes in, since Runtime.exec() relies on a command-line string that might be different on different OSs.
 
---
 
I'll convert a couple of files to a package system this week so people can see what it looks like. One file. xap.util.Character, already is a part of a package, I did that a while ago as a test.
 
James Margaris

Reply via email to