Skip to main content

[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)

On 23:01:13 Friday 19 August 2011 Andrew Overholt wrote:
> * Alexander Kurtakov <akurtako@xxxxxxxxxx> [2011-08-19 15:22]:
> > On 22:19:57 Friday 19 August 2011 Andrew Overholt wrote:
> > > * Alexander Kurtakov <akurtako@xxxxxxxxxx> [2011-08-19 14:57]:
> > > > mvn tycho-versions:set-version -DnewVersion=YOUR_VERSION will do the
> > > > right thing keeping things in sync.
> > > 
> > > [...]
> > 
> > Are you sure you use maven 3 ? I've seen this error only when people try
> > to use maven 2.x for tycho builds.
> 
> Oops, you're right :)  It did a nice job of changing all pom.xml files
> but didn't modify the feature.xml.  Do you know if Tycho plans to have
> this functionality?  Or perhaps I'm just using it wrong.  I tried
> setting the valgrind version to 0.8.1 but it didn't change the
> feature.xml version from 0.8.0.

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. Rightfully so because I don't want 
everything bumped when updating the module's pom.
If you want to change the version of the feature go into the feature directory 
(org.eclipse.linuxtools.valgrind-feature) and run the command again. Here is 
the output I got:
[INFO] 
[INFO] --- tycho-versions-plugin:0.12.0:set-version (default-cli) @ 
org.eclipse.linuxtools.valgrind ---
[INFO] Making changes in 
/home/akurtakov/work/org.eclipse.linuxtools/valgrind/org.eclipse.linuxtools.valgrind-
feature
[INFO]   pom.xml//project/version: 0.8.0-SNAPSHOT => 0.8.3
[INFO]   feature.xml//feature/@version: 0.8.0.qualifier => 0.8.3

As you see it works correctly. :)


Alex

> 
> > > Speaking of that, should have a Juno profile?  Maybe once M1 is out?
> > 
> > I have no idea whether there is even Juno repository yet. Should be
> > fairly easy to add one.
> 
> 6 minutes before I got your email, I received another one saying that
> the Juno repository had just been created :)
> 
> http://download.eclipse.org/releases/juno/
> 
> I'll take care of this in master.
> 
> Andrew
> _______________________________________________
> linuxtools-dev mailing list
> linuxtools-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Back to the top