[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [linuxtools-dev] Syncing pom.xml and feature.xml/MANIFEST.MF (was Re: Build failed in Hudson: linuxtools-master #483)
|
* Alexander Kurtakov <akurtako@xxxxxxxxxx> [2011-08-20 01:56]:
> On 08:50:01 Saturday 20 August 2011 Andrew Overholt wrote:
> > * Andrew Overholt <overholt@xxxxxxxxxx> [2011-08-19 16:33]:
> > > * Alexander Kurtakov <akurtako@xxxxxxxxxx> [2011-08-19 16:31]:
> > > > On 23:29:56 Friday 19 August 2011 Andrew Overholt wrote:
> > > > > > > > > > mvn tycho-versions:set-version -DnewVersion=YOUR_VERSION
> > > > > > > > > > will do the
> > > > > >
> > > > > > Please note that if you run it in valgrind directory it will change
> > > > > > the valgrind parent pom and all references to it but it will not
> > > > > > change the versions of the bundles and features.
> > > > >
> > > > > Ah. But if we want the source tarballs [1] to match the overall
> > > > > release version, we have to change the parent POM versions, right?
> > > >
> > > > Yup, that's why rpm has the correct version in the tarball :P
> > >
> > > I'll make all of them 0.8.1 on stable-0.8 and 0.9.0 on master. This
> > > won't affect the feature or plugin versions in any way.
> >
> > Should it be 0.8.1-SNAPSHOT and 0.9.0-SNAPSHOT?
>
> Yes
Okay, I tried this:
for f in autotools/ changelog/ gcov/ gprof/ libhover/ lttng/ man/ \
oprofile/ profiling/ releng/ rpm rpmstubby/ systemtap/ valgrind/; do \
pushd $f; mvn3 org.eclipse.tycho:tycho-versions-plugin:set-version \
-DnewVersion=0.8.1-SNAPSHOT; popd; done
and since the release of Tycho it's using doesn't have this commit in
it (it'll be in the next release):
https://github.com/sonatype/sonatype-tycho/commit/7dfcd7fd484f7e436dfae27a28bf26f5b1f84067
the line endings ended up getting switched to Windows from UNIX (a
bunch of ^Ms in the diff). I re-ran after setting this:
git config --global core.autocrlf input
and ended up with some MANIFEST.MF changes, too. It turns out that if a
plugin has the exact same version as the parent that's changing, Tycho
will change that, too. I'll work around this and push everything soon.
Andrew