env-js icon indicating copy to clipboard operation
env-js copied to clipboard

Ant build failure

Open robb1e opened this issue 15 years ago • 5 comments

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

robb1e avatar Apr 18 '10 13:04 robb1e

fixed

client9 avatar Apr 18 '10 14:04 client9

sorry for the terse reply.. github was "shooting blanks" on form posts.

Please 'git pull'. It should work now!

--nickg

client9 avatar Apr 18 '10 14:04 client9

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

robb1e avatar Apr 18 '10 15:04 robb1e

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

client9 avatar Apr 18 '10 15:04 client9

Great, thanks

robb1e avatar Apr 18 '10 15:04 robb1e