Ant build failure
Hi,
I'm trying to build env.js and I'm getting this error:
html-spec: [echo] [echo] Executing HTML Spec [java] js: Couldn't read source file "dist/parser.js: dist/parser.js (No such file or directory)". [java] js: Couldn't read source file "dist/xhr.js: dist/xhr.js (No such file or directory)". [java] js: Couldn't read source file "dist/window.js: dist/window.js (No such file or directory)". [java] js: Couldn't read source file "local_settings.js: local_settings.js (No such file or directory)".
I can confirm that the files aren't in the directories that Ant it looking for.
Cheers
Robbie
fixed
sorry for the terse reply.. github was "shooting blanks" on form posts.
Please 'git pull'. It should work now!
--nickg
No problem. Pulling now, previously I got the source from envjs.com itself.
BTW, I had to use "-opt -1" as described (http://groups.google.com/group/envjs/browse_thread/thread/2df1db45ed266368), otherwise I was getting an error that Envjs wasn't declared. Is that a separate issue? Happy to create one if that is.
This is very cool, and just what I needed for some server side javascript work I've started.
Cheers
Robbie
yup
If you use linux/unix/bsd... here's a mini bash script I use
$ cat envjs.sh #!/bin/bash java -Xmx512M -jar env-js/rhino/js.jar -opt -1 $*
./envjs.sh a_file other args etc
Great, thanks