Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » is the file ConsoleProxy.js missing?
is the file ConsoleProxy.js missing? [message #486537] Fri, 18 September 2009 01:47 Go to next message
Zhongwei Zhao is currently offline Zhongwei Zhao
Messages: 11
Registered: July 2009
Junior Member
the method getConsoleProxy of class org.eclipse.dltk.javascript.launching.JavaScriptLaunchingPlu gin of project org.eclipse.dltk.javascript.launching


public IFileHandle getConsoleProxy(IExecutionEnvironment exeEnv)
throws IOException {
IDeployment deployment = exeEnv.createDeployment();
if (deployment == null) {
return null;
}
IPath path = deployment.add(this.getBundle(), "console");
path.append("ConsoleProxy.js");
return deployment.getFile(path);
}


but i could not find the file ConsoleProxy.js.

can everyone give me a hand,thank you very much.
Re: is the file ConsoleProxy.js missing? [message #487000 is a reply to message #486537] Mon, 21 September 2009 09:03 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
Hi,

Actually ConsoleProxy.js file was never written.

Initially the related java code was copied from the Tcl implementation,
but Tcl console approach does not suit well for rhino/javascript, so
this code doesn't work.

Regards,
Alex

zhaozhongwei wrote:
> the method getConsoleProxy of class
> org.eclipse.dltk.javascript.launching.JavaScriptLaunchingPlu gin of
> project org.eclipse.dltk.javascript.launching
>
>
> public IFileHandle getConsoleProxy(IExecutionEnvironment exeEnv)
> throws IOException {
> IDeployment deployment = exeEnv.createDeployment();
> if (deployment == null) {
> return null;
> }
> IPath path = deployment.add(this.getBundle(), "console");
> path.append("ConsoleProxy.js");
> return deployment.getFile(path);
> }
>
>
> but i could not find the file .
>
> can everyone give me a hand,thank you very much.
Re: is the file ConsoleProxy.js missing? [message #487037 is a reply to message #487000] Mon, 21 September 2009 11:36 Go to previous message
Zhongwei Zhao is currently offline Zhongwei Zhao
Messages: 11
Registered: July 2009
Junior Member
ok i see

thank you very much
Previous Topic:TCL Open Method
Next Topic:ISourceModule from Non-DLTK Project
Goto Forum:
  


Current Time: Fri Apr 18 22:10:25 EDT 2014

Powered by FUDForum. Page generated in 0.07559 seconds