LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Help with using eclipse-rpm-editor (https://www.linuxquestions.org/questions/programming-9/help-with-using-eclipse-rpm-editor-4175517355/)

bradvan 09-04-2014 05:52 AM

Help with using eclipse-rpm-editor
 
I'm trying to create some rpm packages. I thought it might be easier if I used the above package. I installed it and started eclipse, but I don't see that it is loaded anywhere. The server is not connected to the Internet. All of the instructions I can find for installing it say to use Help->Install_New_Software which wants you to insert a URL for a site and download it. I already have it installed on the computer. I can see the files in /usr/share/eclipse/dropins/rpm-editor. The system is running RHEL 6.5. I've asked the Red Hat support, but still waiting on an answer. I was hoping maybe someone here might now. :)

Thanks!

NevemTeve 09-05-2014 02:41 AM

If you want to build rpm packages then google for 'build rpm packages'
eg: https://fedoraproject.org/wiki/How_t...an_RPM_package

bradvan 09-05-2014 06:55 AM

No, I know how, I just wanted to try and use the tool: http://www.eclipse.org/linuxtools/pr...ages/specfile/. It's installation instructions: http://wiki.eclipse.org/Linux_Tools_...ginInstallHelp aren't very helpful when I already have the package installed on my system. I did a yum install of eclipse-rpm-editor and it was pulled from our internal satellite server. However, when I start eclipse, the plugin is not installed. I can see the jar files on the system. I'm just trying to figure out how to tell eclipse to load the jar files from the local OS. They are found under /usr/share/eclipse/dropins/rpm-editor/eclipse/plugins.

bradvan 09-11-2014 04:56 AM

I did find that if I run "eclipse -console" I can load the jar files at the osgi prompt:
Code:

install file:///usr/share/.../org.eclipse.linuxtools.rpm.core_0.4...jar
install file:///usr/share/.../org.eclipse.linuxtools.rpmlint_0.4.3...jar
install file:///usr/share/.../org.eclipse.linuxtools.rpm.ui_0.4.3...jar
install file:///usr/share/.../org.eclipse.linuxtools.rpm.ui.editor_0.4.3...jar
install file:///usr/share/.../org.eclipse.linuxtools.changelog.core_2.7.0...jar

each install returns an ID. If I then:
Code:

start ID1
start ID2
start ID3
start ID4
start ID5

then the rpm editor is available for that session of eclipse only. Anyone have an idea how to make this permanent?

bradvan 10-10-2014 05:26 AM

It turns out to be a bug in how Red Hat has dependencies between the various Eclipse rpms and it is one they aren't going to fix under RHEL 6. They said it was too late in the RHEL 6 life cycle. I was able to get it working by removing all aspects of eclipse from my system and then doing a
Code:

yum install @Eclipse
. :)


All times are GMT -5. The time now is 03:25 PM.