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).
Thanks,
Chris
On 3/17/07, Werner Schuster (murphee) <[EMAIL PROTECTED]> wrote:
howdy,
there seem to be some problems in the current head:
- Test:Unit launches seem to be missing
IRubyLaunchConfigurationConstants.ATTR_FILE_NAME attributes;
This causes the launch to fail and a error dialog "Main type not
specified" to pop up;
I guess the org.rubypeople.rdt.testunit.launcher.TestUnitMainTab
needs to set this attribute to the filename in the launch object;
(it does that, but only for the CONTAINER attribute);
- I attached a file that can't be opened with the Ruby editor, it
causes this exception (see below);
I presume there's some bug in the SyntaxHighlighting code, but I
don't have time to look into this right now;
java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:3462)
at org.eclipse.swt.SWT.error(SWT.java:3401)
at org.eclipse.swt.SWT.error(SWT.java:3372)
at
org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:7735)
at
org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:7829)
at
org.eclipse.jface.text.TextViewer.applyTextPresentation(TextViewer.java
:4405)
at
org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java
:4457)
at
org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection
(PresentationReconciler.java:578)
at
org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(
PresentationReconciler.java:567)
at
org.eclipse.jface.text.presentation.PresentationReconciler.access$3(
PresentationReconciler.java:563)
at
org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.inputDocumentChanged
(PresentationReconciler.java:119)
at
org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java
:2660)
at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2709)
at
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java
:518)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(
ProjectionViewer.java:370)
at
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java
:473)
at
org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(
AbstractTextEditor.java:3454)
at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(
AbstractTextEditor.java:3018)
at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(
StatusTextEditor.java:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(
AbstractDecoratedTextEditor.java:373)
at
org.rubypeople.rdt.internal.ui.rubyeditor.RubyAbstractEditor.createPartControl
(RubyAbstractEditor.java:327)
at
org.rubypeople.rdt.internal.ui.rubyeditor.RubyEditor.createPartControl(
RubyEditor.java:276)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(
EditorReference.java:662)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java
:421)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(
WorkbenchPartReference.java:586)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java
:257)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(
WorkbenchPage.java:2598)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java
:2524)
at
org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2516)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java
:2501)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java
:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2496)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2480)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java
:334)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:326)
at
org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:190)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1097)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java
:3238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2905)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2264)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2103)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java
:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java
:452)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java
:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(
IDEApplication.java:101)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(
EclipseAppHandle.java:146)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java
:354)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java
:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:476)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
at org.eclipse.equinox.launcher.Main.main(Main.java:1099)
BTW: I'm running on Eclipse 3.3M5;
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
--
http://cwilliams.textdriven.com
-------------------------------------------------------------------------
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