I’ve been asked several times how people can try out the specfile editor that Andrew and I have been working on for the past month or so. We’re not including it in the update site where our other plugins reside just yet because I don’t think it’s stable/usable enough for that, and it’s not in fedora extras yet for the same reason. I hope that maybe by the time of FC6 final or a bit after it’ll reach a good enough state that we will put it in those places.
If you just one of those people that want to try it now, awesome! You have 2 options:
1. You want to just try it out for a bit but not really use it for editing specfiles:
Just check out the org.eclipse.cdt.rpm.editor plugin from :pserver:anonymous@sourceware.org:/cvs/eclipse (hint: copy paste that string into the Eclipse CVS checkout dialog), under the rpm module, and just run it as an Eclipse Application. Click on the Run menu, Run. Then right-click on Eclipse Application, click new, pick the plugin in the plug-in tab, and run. You can now create a new project (just a general project is good) and import your specfile into it. You can now edit the specfile with the specfile editor, which will open automatically for files ending with .spec.
2. If you want to actually use it for anything more than just a cursory glance you don’t want to have 2 Eclipse instances around, unless you’re very RAM-happy. Here’s what you do:
From :pserver:anonymous@sourceware.org:/cvs/eclipse checkout org.eclipse.cdt.rpm.editor and org.eclipse.cdt.rpm.editor.feature (under the rpm module) into your workspace. Now create a new project, this will be an Update Site Project, under the Plug-in Development category in the New Project wizard. Note that you need the PDE installed for this, under Fedora all you need to do is ‘yum install eclipse-pde’. Now double-click on the site.xml file in your new project, create a new category, under that category add a feature, select the org.eclipse.cdt.rpm.editor.feature project in your workspace as the one to add. Now click on the ‘Build’ button. This will create a local update site in your workspace. You can now use this to install the plug-in.
Go to Help-> Software Updates ->Find and Install, pick New Local Site on the second page, and pick your newly created update site. Now if you want to update the plugin, all you have to do is CVS update the plugin in your workspace, hit build in the site.xml of the update site. And then go to the Find and Install dialog again. Only instead of installing a new feature pick ‘Search for updates’.
Enjoy.
> Now click on the ‘Build’ button.
> This will create a local update site in your workspace.
> You can now use this to install the plug-in.
I have received the following problem:
Unable to find plug-in: org.eclipse.cdt.rpm.editor_0.0.0
What I’m doing wrong?