Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » InterpreterInstallTypes(Programatically adding InterpreterInstallTypes)
InterpreterInstallTypes [message #999891] Sun, 13 January 2013 10:38 Go to next message
Kevin Hagel is currently offline Kevin HagelFriend
Messages: 24
Registered: December 2012
Junior Member
The normal way of adding InterpreterInstallTypes is through the extension org.eclipse.dltk.launching.interpreterInstallTypes.
It seems that's the only way to add install types so that ScriptRuntime sees them.
ScriptRuntime stores them in
private static IInterpreterInstallType[] fgInterpreterTypes = null;


Is there a way to programatically add interpreter install types without using the interpreterInstallTypes extension, to do it during runtime?

[Updated on: Sun, 13 January 2013 10:39]

Report message to a moderator

Re: InterpreterInstallTypes [message #1000269 is a reply to message #999891] Mon, 14 January 2013 11:58 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
Hi,

At the moment they are loaded only from the extension point.
The idea seems strange, what is the use case for adding interpreter
install type dynamically?

Regards,
Alex

On 01/13/2013 05:39 PM, Kevin Hagel wrote:
> The normal way of adding InterpreterInstallTypes is through the
> extension org.eclipse.dltk.launching.interpreterInstallTypes.
> It seems that's the only way to add install types so that ScriptRuntime
> sees them.
> ScriptRuntime stores them in
> private static IInterpreterInstallType[] fgInterpreterTypes = null;
>
>
> Is there a way to programatically add interpreter install types without
> using the interpreterInstallTypes extension, to do it during runtime?
>
Re: InterpreterInstallTypes [message #1002729 is a reply to message #1000269] Sat, 19 January 2013 08:23 Go to previous message
Kevin Hagel is currently offline Kevin HagelFriend
Messages: 24
Registered: December 2012
Junior Member
If found another way to deal with this problem
http://www.eclipse.org/forums/index.php/m/1002721/#msg_1002721
Previous Topic:Debugging Ruby on Eclipse
Next Topic:Installing custom language intepreter
Goto Forum:
  


Current Time: Mon Dec 22 07:48:35 GMT 2014

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

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