Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] [GSOC 2013] SnipEditor weekly report

Hi Stefan,

> I will try and replace the hard-coded versions in the target platform.
> Also, I’d like to ask something regarding this. I had some troubles
> solving 3rd party dependencies from o.e.r.utils.gson, so I added the
> head build from o.e.r [1] to the snipeditor.target. Should this
> dependencies be solved in a different manner(except changing the version)?

I don't exactly get what the problem is, i.e., what you mean by "solving
3rd party dependencies from o.e.r.utils.gson". Anyways, your build
should work against the org.eclipse.recommenders:kepler:1.100.0-SNAPSHOT
and org.eclipse.recommenders:luna:1.100.0-SNAPSHOT target definitions +
whatever extra dependencies you need.

Unfortunately, this requires some copy-and-pasting; although Tycho can
handle more than one target definition active during the build (you
could thus merge your snipeditor.target [1] with our
kepler/luna.target), the Eclipse IDE doesn't support setting more than
one target definition at the same time.

Have a look at how we switch profiles depending on the active profile
(-Pkepler or -Pluna) [2].

Hope this helps.

Andreas

[1]
<https://github.com/stefanprisca/SnipEditor/blob/master/snipeditor/snipeditor.target>
[2]
<https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/pom.xml#n408>

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top