| Summary: | Specfile editor doesn't work on Windows | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] Linux Tools | Reporter: | Martin Gerhardy <martin.gerhardy> | ||||||
| Component: | RPM | Assignee: | Alexander Kurtakov <akurtakov> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | linux.rpm-inbox, mat.booth, overholt | ||||||
| Version: | unspecified | Keywords: | helpwanted | ||||||
| Target Milestone: | 0.3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Vista | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Martin Gerhardy
Created attachment 132608 [details]
Workspace log
Damn, beaten to it!
I just this morning tried installing the Specfile Editor on Windows in Eclipse Version: 3.4.1 Build id: M20080911-1700
I got the following error:
Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor's class name was mistyped in plugin.xml.
I've attached my workspace log for you perusal.
It looks like we need some guards in org.eclipse.linuxtools.rpm.ui.editor.RpmPackageBuildProposalsJob.retrievePackageList. Attaching my Mylyn context in case anyone's interested. Created attachment 132611 [details]
mylyn/context/zip
We'd love some help here. I've added some guards. Someone with Windows machine should test with out nightly builds ( http://download.eclipse.org/technology/linuxtools/updates-nightly/ ) and verify that I haven't missed something. (In reply to comment #5) > I've added some guards. Someone with Windows machine should test with out > nightly builds ( > http://download.eclipse.org/technology/linuxtools/updates-nightly/ ) and verify > that I haven't missed something. > Thanks for the update, that mostly works. The only problem I can see is an unhandled exception when I try and run rpmlint (I don't have rpmlint installed): java.io.IOException: CreateProcess: \usr\bin\rpmlint -i C:/workspace/MMSConfig/machine_specific/exxmmscom1.spec error=3 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at org.eclipse.linuxtools.rpm.ui.editor.Utils.runCommandToInputStream(Utils.java:61) at org.eclipse.linuxtools.rpm.ui.editor.Utils.runCommandToString(Utils.java:67) at org.eclipse.linuxtools.rpm.rpmlint.actions.RunRpmlintAction.run(RunRpmlintAction.java:62) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) Could you try again with latest from updates-nightly? (In reply to comment #7) > Could you try again with latest from updates-nightly? > Yeah, that's spot on, thanks. It works now so I'm closing this bug. |