Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » JRuby
JRuby [message #11836] |
Mon, 06 August 2007 20:33  |
Eclipse User |
|
|
|
Hello:
Nice technology!
I have downloaded and installed the ingeneration build
(I200708031400-200708031400) and configured the
Window->Preferences->Ruby->Interpreters manager as described in an earlier
note.
When I attempt to run a simple script I get the error message on the
console: "The system cannot find the path specified."
Any suggestion on how to proceed and troubleshoot?
I am operating on windows XP, eclipse 3.3, and europa. I've also provided
about a half dozed directories to the jruby system libraries.
Thanks in advance.
Steve
|
|
|
Re: JRuby [message #11870 is a reply to message #11836] |
Tue, 07 August 2007 23:07   |
Eclipse User |
|
|
|
Upon further investigation I am seeing a java.io.FileNotFound exception
being throw because the file:
~/.metadata/.plugins/org.eclipse.core.runtime/.settings/ecli pse.dltk.debug.prefs
is expected but not found.
Can one of the dltk/ruby developers try creating a clean new run environment
and see if this problem is true?
I've also tried putting an empty file in this location, but there are
additional start-up problem. I believe I'm also seeing an IOException on
file metadata\.plugins\org.eclipse.dltk.core\path.rb (which is present), but
I'm not totally sure about this.
Thanks for any help.
Steve
"Steven Punte" <steven.punte@testlens.com> wrote in message
news:f980ii$82f$1@build.eclipse.org...
> Hello:
>
> Nice technology!
>
> I have downloaded and installed the ingeneration build
> (I200708031400-200708031400) and configured the
> Window->Preferences->Ruby->Interpreters manager as described in an earlier
> note.
>
> When I attempt to run a simple script I get the error message on the
> console: "The system cannot find the path specified."
>
> Any suggestion on how to proceed and troubleshoot?
>
> I am operating on windows XP, eclipse 3.3, and europa. I've also provided
> about a half dozed directories to the jruby system libraries.
>
> Thanks in advance.
>
> Steve
>
|
|
|
Re: JRuby [message #11898 is a reply to message #11870] |
Wed, 08 August 2007 18:04   |
Eclipse User |
|
|
|
Hello Steven,
The problem you described is very strange. I've created clean new
workspace and jruby works correctly there, at least the simple "puts
'Hello, World'". Interpreter search also works.
Please, if it possible, provide the stack trace of
FileNotFoundException, this should greatly help us to fix the problem.
By the way, I've also checked the ".settings" directory on my machine
and it doesn't contain "eclipse.dltk.debug.prefs". All files in this
folder has names begins with "org.eclipse", e.g.
"org.eclipse.debug.ui.prefs".
--
Dmitriy Kovalev
> Upon further investigation I am seeing a java.io.FileNotFound exception
> being throw because the file:
> ~/.metadata/.plugins/org.eclipse.core.runtime/.settings/ecli pse.dltk.debug.prefs
> is expected but not found.
>
> Can one of the dltk/ruby developers try creating a clean new run environment
> and see if this problem is true?
>
> I've also tried putting an empty file in this location, but there are
> additional start-up problem. I believe I'm also seeing an IOException on
> file metadata\.plugins\org.eclipse.dltk.core\path.rb (which is present), but
> I'm not totally sure about this.
>
> Thanks for any help.
>
> Steve
>
>
>
> "Steven Punte" <steven.punte@testlens.com> wrote in message
> news:f980ii$82f$1@build.eclipse.org...
>> Hello:
>>
>> Nice technology!
>>
>> I have downloaded and installed the ingeneration build
>> (I200708031400-200708031400) and configured the
>> Window->Preferences->Ruby->Interpreters manager as described in an earlier
>> note.
>>
>> When I attempt to run a simple script I get the error message on the
>> console: "The system cannot find the path specified."
>>
>> Any suggestion on how to proceed and troubleshoot?
>>
>> I am operating on windows XP, eclipse 3.3, and europa. I've also provided
>> about a half dozed directories to the jruby system libraries.
>>
>> Thanks in advance.
>>
>> Steve
>>
>
>
|
|
|
Re: JRuby [message #12899 is a reply to message #11870] |
Wed, 08 August 2007 18:05   |
Eclipse User |
|
|
|
Hello Steven,
The problem you described is very strange. I've created clean new
workspace and jruby works correctly there, at least the simple "puts
'Hello, World'". Interpreter search also works.
Please, if it possible, provide the stack trace of
FileNotFoundException, this should greatly help us to fix the problem.
By the way, I've also checked the ".settings" directory on my machine
and it doesn't contain "eclipse.dltk.debug.prefs". All files in this
folder has names begins with "org.eclipse", e.g.
"org.eclipse.debug.ui.prefs".
--
Dmitriy Kovalev
> Upon further investigation I am seeing a java.io.FileNotFound exception
> being throw because the file:
> ~/.metadata/.plugins/org.eclipse.core.runtime/.settings/ecli pse.dltk.debug.prefs
> is expected but not found.
>
> Can one of the dltk/ruby developers try creating a clean new run environment
> and see if this problem is true?
>
> I've also tried putting an empty file in this location, but there are
> additional start-up problem. I believe I'm also seeing an IOException on
> file metadata\.plugins\org.eclipse.dltk.core\path.rb (which is present), but
> I'm not totally sure about this.
>
> Thanks for any help.
>
> Steve
>
>
>
> "Steven Punte" <steven.punte@testlens.com> wrote in message
> news:f980ii$82f$1@build.eclipse.org...
>> Hello:
>>
>> Nice technology!
>>
>> I have downloaded and installed the ingeneration build
>> (I200708031400-200708031400) and configured the
>> Window->Preferences->Ruby->Interpreters manager as described in an earlier
>> note.
>>
>> When I attempt to run a simple script I get the error message on the
>> console: "The system cannot find the path specified."
>>
>> Any suggestion on how to proceed and troubleshoot?
>>
>> I am operating on windows XP, eclipse 3.3, and europa. I've also provided
>> about a half dozed directories to the jruby system libraries.
>>
>> Thanks in advance.
>>
>> Steve
>>
>
>
|
|
|
Re: JRuby [message #12912 is a reply to message #11870] |
Wed, 08 August 2007 18:06   |
Eclipse User |
|
|
|
Hello Steven,
The problem you described is very strange. I've created clean new
workspace and jruby works correctly there, at least the simple "puts
'Hello, World'". Interpreter search also works.
Please, if it possible, provide the stack trace of
FileNotFoundException, this should greatly help us to fix the problem.
By the way, I've also checked the ".settings" directory on my machine
and it doesn't contain "eclipse.dltk.debug.prefs". All files in this
folder has names begins with "org.eclipse", e.g.
"org.eclipse.debug.ui.prefs".
--
Dmitriy Kovalev
Steven Punte wrote:
> Upon further investigation I am seeing a java.io.FileNotFound exception
> being throw because the file:
> ~/.metadata/.plugins/org.eclipse.core.runtime/.settings/ecli pse.dltk.debug.prefs
> is expected but not found.
>
> Can one of the dltk/ruby developers try creating a clean new run environment
> and see if this problem is true?
>
> I've also tried putting an empty file in this location, but there are
> additional start-up problem. I believe I'm also seeing an IOException on
> file metadata\.plugins\org.eclipse.dltk.core\path.rb (which is present), but
> I'm not totally sure about this.
>
> Thanks for any help.
>
> Steve
>
>
>
> "Steven Punte" <steven.punte@testlens.com> wrote in message
> news:f980ii$82f$1@build.eclipse.org...
>> Hello:
>>
>> Nice technology!
>>
>> I have downloaded and installed the ingeneration build
>> (I200708031400-200708031400) and configured the
>> Window->Preferences->Ruby->Interpreters manager as described in an earlier
>> note.
>>
>> When I attempt to run a simple script I get the error message on the
>> console: "The system cannot find the path specified."
>>
>> Any suggestion on how to proceed and troubleshoot?
>>
>> I am operating on windows XP, eclipse 3.3, and europa. I've also provided
>> about a half dozed directories to the jruby system libraries.
>>
>> Thanks in advance.
>>
>> Steve
>>
>
>
|
|
|
Re: JRuby [message #12937 is a reply to message #11870] |
Wed, 08 August 2007 18:07   |
Eclipse User |
|
|
|
Hello Steven,
The problem you described is very strange. I've created clean new
workspace and jruby works correctly there, at least the simple "puts
'Hello, World'". Interpreter search also works.
Please, if it possible, provide the stack trace of
FileNotFoundException, this should greatly help us to fix the problem.
By the way, I've also checked the ".settings" directory on my machine
and it doesn't contain "eclipse.dltk.debug.prefs". All files in this
folder has names begins with "org.eclipse", e.g.
"org.eclipse.debug.ui.prefs".
--
Dmitriy Kovalev
Steven Punte wrote:
> Upon further investigation I am seeing a java.io.FileNotFound exception
> being throw because the file:
> ~/.metadata/.plugins/org.eclipse.core.runtime/.settings/ecli pse.dltk.debug.prefs
> is expected but not found.
>
> Can one of the dltk/ruby developers try creating a clean new run environment
> and see if this problem is true?
>
> I've also tried putting an empty file in this location, but there are
> additional start-up problem. I believe I'm also seeing an IOException on
> file metadata\.plugins\org.eclipse.dltk.core\path.rb (which is present), but
> I'm not totally sure about this.
>
> Thanks for any help.
>
> Steve
>
>
>
> "Steven Punte" <steven.punte@testlens.com> wrote in message
> news:f980ii$82f$1@build.eclipse.org...
>> Hello:
>>
>> Nice technology!
>>
>> I have downloaded and installed the ingeneration build
>> (I200708031400-200708031400) and configured the
>> Window->Preferences->Ruby->Interpreters manager as described in an earlier
>> note.
>>
>> When I attempt to run a simple script I get the error message on the
>> console: "The system cannot find the path specified."
>>
>> Any suggestion on how to proceed and troubleshoot?
>>
>> I am operating on windows XP, eclipse 3.3, and europa. I've also provided
>> about a half dozed directories to the jruby system libraries.
>>
>> Thanks in advance.
>>
>> Steve
>>
>
>
|
|
|
Re: JRuby [message #12966 is a reply to message #11870] |
Wed, 08 August 2007 18:08   |
Eclipse User |
|
|
|
Hello Steven,
The problem you described is very strange. I've created clean new
workspace and jruby works correctly there, at least the simple "puts
'Hello, World'". Interpreter search also works.
Please, if it possible, provide the stack trace of
FileNotFoundException, this should greatly help us to fix the problem.
By the way, I've also checked the ".settings" directory on my machine
and it doesn't contain "eclipse.dltk.debug.prefs". All files in this
folder has names begins with "org.eclipse", e.g.
"org.eclipse.debug.ui.prefs".
--
Dmitriy Kovalev
Steven Punte wrote:
> Upon further investigation I am seeing a java.io.FileNotFound exception
> being throw because the file:
> ~/.metadata/.plugins/org.eclipse.core.runtime/.settings/ecli pse.dltk.debug.prefs
> is expected but not found.
>
> Can one of the dltk/ruby developers try creating a clean new run environment
> and see if this problem is true?
>
> I've also tried putting an empty file in this location, but there are
> additional start-up problem. I believe I'm also seeing an IOException on
> file metadata\.plugins\org.eclipse.dltk.core\path.rb (which is present), but
> I'm not totally sure about this.
>
> Thanks for any help.
>
> Steve
>
>
>
> "Steven Punte" <steven.punte@testlens.com> wrote in message
> news:f980ii$82f$1@build.eclipse.org...
>> Hello:
>>
>> Nice technology!
>>
>> I have downloaded and installed the ingeneration build
>> (I200708031400-200708031400) and configured the
>> Window->Preferences->Ruby->Interpreters manager as described in an earlier
>> note.
>>
>> When I attempt to run a simple script I get the error message on the
>> console: "The system cannot find the path specified."
>>
>> Any suggestion on how to proceed and troubleshoot?
>>
>> I am operating on windows XP, eclipse 3.3, and europa. I've also provided
>> about a half dozed directories to the jruby system libraries.
>>
>> Thanks in advance.
>>
>> Steve
>>
>
>
|
|
|
Re: JRuby [message #12994 is a reply to message #11870] |
Wed, 08 August 2007 18:09   |
Eclipse User |
|
|
|
Hello Steven,
The problem you described is very strange. I've created clean new
workspace and jruby works correctly there, at least the simple "puts
'Hello, World'". Interpreter search also works.
Please, if it possible, provide the stack trace of
FileNotFoundException, this should greatly help us to fix the problem.
By the way, I've also checked the ".settings" directory on my machine
and it doesn't contain "eclipse.dltk.debug.prefs". All files in this
folder has names begins with "org.eclipse", e.g.
"org.eclipse.debug.ui.prefs".
--
Dmitriy Kovalev
Steven Punte wrote:
> Upon further investigation I am seeing a java.io.FileNotFound exception
> being throw because the file:
> ~/.metadata/.plugins/org.eclipse.core.runtime/.settings/ecli pse.dltk.debug.prefs
> is expected but not found.
>
> Can one of the dltk/ruby developers try creating a clean new run environment
> and see if this problem is true?
>
> I've also tried putting an empty file in this location, but there are
> additional start-up problem. I believe I'm also seeing an IOException on
> file metadata\.plugins\org.eclipse.dltk.core\path.rb (which is present), but
> I'm not totally sure about this.
>
> Thanks for any help.
>
> Steve
>
>
>
> "Steven Punte" <steven.punte@testlens.com> wrote in message
> news:f980ii$82f$1@build.eclipse.org...
>> Hello:
>>
>> Nice technology!
>>
>> I have downloaded and installed the ingeneration build
>> (I200708031400-200708031400) and configured the
>> Window->Preferences->Ruby->Interpreters manager as described in an earlier
>> note.
>>
>> When I attempt to run a simple script I get the error message on the
>> console: "The system cannot find the path specified."
>>
>> Any suggestion on how to proceed and troubleshoot?
>>
>> I am operating on windows XP, eclipse 3.3, and europa. I've also provided
>> about a half dozed directories to the jruby system libraries.
>>
>> Thanks in advance.
>>
>> Steve
>>
>
>
|
|
|
Re: JRuby [message #13023 is a reply to message #11898] |
Thu, 09 August 2007 21:42  |
Eclipse User |
|
|
|
Hello Dmitriy,
Thanks for the assistance. The stack trace you requested is below.
Yes, something seems very strange, most likely some type of installation
problem, but I can't determine what.
Installation:
Windows NT
JDK 1.5.0
Eclipse 3.3
Europa
DLTK Integration Build I200708031400-200708031400
Configure:
Interpreter selected for both classical Ruby (1.8.6) and JRuby (1.0)
Note: I do not see external libraries automatically added when setting up
JRuby like is does for Ruby, but I manually add them anyway.
Run-time (.metadata/*) cleared out.
Project:
Create simple ruby project.
Create one line ruby script (i.e. puts "Hello World").
Works properly when script run with classical Ruby.
When run with JRuby, console gives error message: "The system cannot find
the path specified."
When run in debug mode with JRuby and exception break point set on
java.lang.FileNoFoundException, the back trace appended below is observed.
At one frame up from where exception is thrown in constructor
FileInputStream() I observer variable arg0->path =
" C:\\testlens\\proto7x\\dltkjruby\\.metadata\\.plugins\\org.e clipse.core.runtime\\.settings\\org.eclipse.dltk.debug.prefs "
Note: It seems odd to see observe error. It seems like running with
classical Ruby should have produced this error too. And furthermore, I'm
NOT even attempting to run the DLTK debugger. Something is strange.
However, I did install plugin org.eclipse.dltk.ruby.debug and debug.ui.
Steve
Thread [Worker-5] (Suspended (exception FileNotFoundException))
FileInputStream.open(String) line: not available [native method]
FileInputStream.<init>(File) line: 106
EclipsePreferences.loadProperties(IPath) line: 595
InstancePreferences(EclipsePreferences).load(IPath) line: 623
InstancePreferences(EclipsePreferences).load() line: 586
InstancePreferences(EclipsePreferences).create(EclipsePrefer ences,
String, Object) line: 307
InstancePreferences(EclipsePreferences).internalNode(String, boolean,
Object) line: 543
InstancePreferences(EclipsePreferences).node(String) line: 662
PreferenceForwarder.getPluginPreferences(boolean) line: 123
PreferenceForwarder.getBoolean(String) line: 206
ScriptDebugLogManager.launchChanged(ILaunch) line: 57
LaunchManager$LaunchNotifier.run() line: 444
SafeRunner.run(ISafeRunnable) line: 37
LaunchManager$LaunchNotifier.notify(ILaunch, int) line: 425
LaunchManager.fireUpdate(ILaunch, int) line: 950
Launch.fireChanged() line: 388
Launch.addProcess(IProcess) line: 351
RuntimeProcess.<init>(ILaunch, Process, String, Map) line: 125
DebugPlugin.newProcess(ILaunch, Process, String, Map) line: 692
RubyInterpreterRunner(AbstractInterpreterRunner).newProcess( ILaunch,
Process, String, Map) line: 170
RubyInterpreterRunner(AbstractInterpreterRunner).rawRun(ILau nch,
String[], File, String[]) line: 204
RubyInterpreterRunner(AbstractInterpreterRunner).run(Interpr eterConfig,
ILaunch, IProgressMonitor) line: 235
RubyLaunchConfigurationDelegate(AbstractScriptLaunchConfigur ationDelegate).runRunner(ILaunchConfiguration,
IInterpreterRunner, InterpreterConfig, ILaunch, IProgressMonitor) line: 795
RubyLaunchConfigurationDelegate(AbstractScriptLaunchConfigur ationDelegate).launch(ILaunchConfiguration,
String, ILaunch, IProgressMonitor) line: 767
LaunchConfiguration.launch(String, IProgressMonitor, boolean, boolean)
line: 766
LaunchConfiguration.launch(String, IProgressMonitor, boolean) line:
608
DebugUIPlugin.buildAndLaunch(ILaunchConfiguration, String,
IProgressMonitor) line: 899
DebugUIPlugin$7.run(IProgressMonitor) line: 1102
Worker.run() line: 55
"Dmitriy Kovalev" <kds@xored.com> wrote in message
news:46BA05A4.3060106@xored.com...
> Hello Steven,
>
> The problem you described is very strange. I've created clean new
> workspace and jruby works correctly there, at least the simple "puts
> 'Hello, World'". Interpreter search also works.
>
> Please, if it possible, provide the stack trace of FileNotFoundException,
> this should greatly help us to fix the problem.
>
> By the way, I've also checked the ".settings" directory on my machine and
> it doesn't contain "eclipse.dltk.debug.prefs". All files in this folder
> has names begins with "org.eclipse", e.g. "org.eclipse.debug.ui.prefs".
>
> --
> Dmitriy Kovalev
>
>
>> Upon further investigation I am seeing a java.io.FileNotFound exception
>> being throw because the file:
>> ~/.metadata/.plugins/org.eclipse.core.runtime/.settings/ecli pse.dltk.debug.prefs
>> is expected but not found.
>>
>> Can one of the dltk/ruby developers try creating a clean new run
>> environment and see if this problem is true?
>>
>> I've also tried putting an empty file in this location, but there are
>> additional start-up problem. I believe I'm also seeing an IOException on
>> file metadata\.plugins\org.eclipse.dltk.core\path.rb (which is present),
>> but I'm not totally sure about this.
>>
>> Thanks for any help.
>>
>> Steve
>>
>>
>>
>> "Steven Punte" <steven.punte@testlens.com> wrote in message
>> news:f980ii$82f$1@build.eclipse.org...
>>> Hello:
>>>
>>> Nice technology!
>>>
>>> I have downloaded and installed the ingeneration build
>>> (I200708031400-200708031400) and configured the
>>> Window->Preferences->Ruby->Interpreters manager as described in an
>>> earlier note.
>>>
>>> When I attempt to run a simple script I get the error message on the
>>> console: "The system cannot find the path specified."
>>>
>>> Any suggestion on how to proceed and troubleshoot?
>>>
>>> I am operating on windows XP, eclipse 3.3, and europa. I've also
>>> provided about a half dozed directories to the jruby system libraries.
>>>
>>> Thanks in advance.
>>>
>>> Steve
>>>
>>
|
|
|
Goto Forum:
Current Time: Sat Feb 15 05:15:07 GMT 2025
Powered by FUDForum. Page generated in 0.28901 seconds
|