Hello

I've encountered two inconvenient bugs in the HEAD too:
1. When writing a comment at the end of a line the carret position is set
before every character which is entered. For example when typing #comment it
results in tnemmoc#. When having a white space or any other characters
behind the carret it works correctly.

2. When creating a new ruby class the file is created correctly but it is
empty and an error occures: Creation of element failed. And an exception is
thrown.

Both errors occure under Windows (Vista) and Linux aswell.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Werner Schuster (murphee)
Sent: Sunday, March 18, 2007 9:07 PM
To: Christopher Williams
Cc: rubyeclipse-development@lists.sourceforge.net
Subject: Re: [RDT-Dev] Two severe bugs in HEAD

Christopher Williams wrote:
> murphee,
>  I just ran a quick smoke test on launching a Test::Unit testcase and 
> I didn't see the problem you're mentioning. Can you send along the 
> file (and make sure you're using the latest from svn).
Yes, I'm using the latest version from svn.
What does your smoke test look like?

I created a new Test::Unit launch (in the LaunchConfiguration dialog) and
ran that - from stepping through the code, I found the problem in:
org.rubypeople.rdt.launching.RubyLaunchDelegate.launch(ILaunchConfiguration
configuration, String mode, ILaunch launch, IProgressMonitor monitor) in
line 51:
String mainTypeName = verifyFileToLaunch(configuration);
This returns null, because:
TestUnitLaunchConfigurationDelegate
.getFileToLaunch(ILaunchConfiguration configuration)
       String mainType = configuration.getAttribute(
IRubyLaunchConfigurationConstants.ATTR_FILE_NAME,(String) null);

returns null, because the LaunchConfiguration tab hasn't set the
IRubyLaunchConfigurationConstants.ATTR_FILE_NAME value.

Do you get this behavior?
I fixed it (for me) by setting the
IRubyLaunchConfigurationConstants.ATTR_FILE_NAME in the setDefaults method
in the LaunchConfiguration tab;

murphee


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's
Techsay panel and you'll get the chance to share your opinions on IT &
business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development

Reply via email to