[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Push to Gerrit enhancement

2012/12/6 Kamil SoboÅ <iso.poczta@xxxxxxxxx>
W dniu 2012-12-06 22:16, Matthias Sohn pisze:
2012/12/6 Kamil SoboÅ <iso.poczta@xxxxxxxxx>
I have some problems with setting-up environment (I was following guides from: http://wiki.eclipse.org/EGit/Contributor_Guide).

1. First of all I was really surprised that I cannot develop my feature In Eclipse Indigo (3.7.2) - egit/jgit master branch.

why ? This should work.

Yes, you are right. It only concerns org.eclipse.egit.import

the import bundle requires an API which was introduced in Juno, so it can't compile on Indigo, if you set the 4.2 target platform it should compile also in IndigoÂ
2. I have change my target platform to egit-4.2 and after that i still have some compilation errors, e.g. in Archive class (org.eclipse.jgit.pgm.Archive):
The import org.apache cannot be resolved  ÂArchive.java /org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm  Âline 54  ÂJava Problem

yeah, this is a problem which was introduced recently,Âsee [1]. Jonathan's change was accepted as soon as the CQ for the new dependency to apache commons compress was approved but it seems this library isn't yet available in Orbit. We need to fix this before releasing 2.2. As long as you don't work on pgm you can ignore this for now.
Â
3. There are a lot of "Missing @since tag" errors

see [2,3]

how did you set the API baseline ?


I didn't know to follow this step: "download the p2 repository for the latest EGit release (which includes the JGit artifacts, at the moment the latest release is 1.3.0) to a local folder, e.g. ~/egit-releases/updates-1.3, find the p2 repository URLs here". I don't know how to download p2 repository to some local folder.

the zipped p2 repository is linked on the download page [1] "EGit p2 repository download..." links to [2].
Alternatively you may download it using p2 mirroring [3] from http://download.eclipse.org/egit/updates-2.1
Feel free to review the change fixing @since tag issues ;-)

[1] http://www.eclipse.org/egit/download/
[2]Âhttp://download.eclipse.org/egit/updates-2.1/org.eclipse.egit.repository-2.1.0.201209190230-r.zip
[3]Âhttp://wiki.eclipse.org/Equinox_p2_Repository_Mirroring
Â
--
Matthias