[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] how set qualifier as revision from svn during every build?
- From: e92-330cd@xxxxxxxxx
- Date: Tue, 04 Sep 2012 13:15:25 +0200 (CEST)
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=seznam.cz; h=In-Reply-To:Received:Date:To:From:Subject:Mime-Version:Message-Id:Content-Transfer-Encoding:Content-Type:X-Country:X-Abuse:X-Seznam-User; b=FkeIS8DcCz/levTgoxavLgPV6iWJCWE4YpL/2zZrHDOR333psTW6uE5cZdFtIKw8w OYhs2q2JmrVOrrGxttSGfrAhJJWeC9jo3qiMLKfmAZYR9uAbAR+LC82pOfv/TLP/mCB WQA3pQ/MmiSLuazOrN3vSgsPDYUHJyENdYbO468=
Well its nice that it is possible :] but some step by step with examples would by fine :D
Now I am just playing with " tycho-packaging:build-qualifier" but i cant force the tycho to change the qualifier with the easy way...
What I have done and tried:
1] set Bundle-Version: 1.0.0.qualifier into Manifest.mf
2] set qualifier = v12345 into build.properties
3] set <version>1.0.0.qualifier</version> into pom.xml of bundle (plugin)
4] set clean install -Dmaven.test.skip=true -DforceContextQualifier=xxxyyy -Dbuild.qualifier=build01 into jenkins as goals and options
5] set into parrent pom.xml
but I still get the "1.0.0.qualifier" - name of jar. The only thing what works is that -DforceContextQualifier=xxxyyy , which is stored in target/manifest.mf as bundle version
what i am doing wrong please?
> ------------ PÅvodnÃ zprÃva ------------
> Od: Jeff MAURY <jeffmaury@xxxxxxxxxxxxx>
> PÅedmÄt: Re: [tycho-user] how set qualifier as revision from svn during every
> Datum: 04.9.2012 12:44:19
> Load the SVN revision into a property (don't know if you can do it with the
> maven scn plugin) and pass this property to the
> tycho-packaging:build-qualifier plugin
> There is also a tycho plugin that does it for git so you may perhaps start
> from here
> On Tue, Sep 4, 2012 at 12:40 PM, <e92-330cd@xxxxxxxxx> wrote:
> > I have found that with tycho-packaging:build-qualifier plugin is possible
> > to change the qualifier. I would like to set the qualifier as the last
> > revision from svn in every build on jenkins... any ideas how to manage this?
> > Thanks David
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> Jeff MAURY
> "Legacy code" often differs from its suggested alternative by actually
> working and scaling.
> - Bjarne Stroustrup