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 05: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 13: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 15: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: Tue Sep 23 08:36:02 GMT 2014

Powered by FUDForum. Page generated in 0.02801 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software