From Fedora Project Wiki

Line 18: Line 18:
* [http://git.fedorahosted.org/git/?p=eclipse-fedorapackager.git;a=tree git]
* [http://git.fedorahosted.org/git/?p=eclipse-fedorapackager.git;a=tree git]
* [https://admin.fedoraproject.org/pkgdb/users/packages/akurtakov Alex Kurtakov packages]
* [https://admin.fedoraproject.org/pkgdb/users/packages/akurtakov Alex Kurtakov packages]
== Mercurial Eclipse ==
* Clone the source from [http://www.javaforge.com/project/HGE javaforge] using <code> hg clone http://javaforge.com:8000/hgeclipse</code>
* Create an archive of the latest release source: [http://mercurial.selenic.com/wiki/TipsAndTricks#Make_a_clean_copy_of_a_source_tree.2C_like_CVS_export how to create an archive of a specific tag in mercurial]
* Create a new '''feature''' in Eclipse using '''New''' -> '''feature'''
: type '''mercurialeclipse-feature'''
: change the featureID to '''com.vectrace.mercurialeclipse''' (the plug-in needed for this feature)
* Add this feature id to '''%build''' in .spec file in -f option
: Don't need to add -d (dependencies) for now, until it complains
* Create an archive file of the feature then add it to the '''SOURCES''' in RPM project.
: you may need to add that to the '''%prep''' in .spec file.

Revision as of 20:19, 7 June 2011

References

Case Study

Mercurial Eclipse

type mercurialeclipse-feature
change the featureID to com.vectrace.mercurialeclipse (the plug-in needed for this feature)
  • Add this feature id to %build in .spec file in -f option
Don't need to add -d (dependencies) for now, until it complains
  • Create an archive file of the feature then add it to the SOURCES in RPM project.
you may need to add that to the %prep in .spec file.