Simple question:
I have one javaScript File , and eclipse.
Is it possible to run that script file using eclipse through command line.
If yes:
what i have to do .
If no:
Is there is any possibility to do this. any input will appreciated.
Thanks.
Simple question:
I have one javaScript File , and eclipse.
Is it possible to run that script file using eclipse through command line.
If yes:
what i have to do .
If no:
Is there is any possibility to do this. any input will appreciated.
Thanks.
Eclipse's JSDT has a built-in rhino interpreter (new in Eclipse Juno). I have never used it myself, but it is possible to use it for interpreting your JS scripts. More information here.
Now if your JS script interacts with the DOM or the window, then rhino will not help you, but for pure, headless JS this will work.
if you are using eclipse juno(e4) , command /handler support calling JavaScript.