Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ant build failure #6

Open
robb1e opened this issue Apr 18, 2010 · 5 comments
Open

Ant build failure #6

robb1e opened this issue Apr 18, 2010 · 5 comments

Comments

@robb1e
Copy link

robb1e commented Apr 18, 2010

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

@client9
Copy link

client9 commented Apr 18, 2010

fixed

@client9
Copy link

client9 commented Apr 18, 2010

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

Please 'git pull'. It should work now!

--nickg

@robb1e
Copy link
Author

robb1e commented Apr 18, 2010

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

@client9
Copy link

client9 commented Apr 18, 2010

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

@robb1e
Copy link
Author

robb1e commented Apr 18, 2010

Great, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants