logo       

Re: evaluate(file) inside script fails: msg#00126

lang.groovy.user

Subject: Re: evaluate(file) inside script fails

Answering to myself.

groovy test1.groovy

Environment: windows XP, jdk 1.5 throws exception
same situation but using jdk 1.4.2_06 works fine

------------------ test1.groovy
a=2;
evaluate(new java.io.File("test2.groovy"));
println a;
------------------ test2.groovy
a=12;




__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise