Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Getting .qualifier working in tycho



On 2 May 2012 17:03, Harshana Eranga Martin <harshana05@xxxxxxxxx> wrote:
Hi Tom,

On 2 May 2012 16:37, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> wrote:
But then all my plugins will be versioned with "-SNAPSHOT" instead of
the build timestamp which i want to be part of the bundle-version number.

Yes. You are correct!!

Your bundles will be versioned with "-SNAPSHOT". But if you look at the p2 related metadata generated in your local maven repo, you will see that version numbers in those metadata is actually has the timestamp instead of "-SNAPSHOT".

And also please note that the OSGi version of your bundle will have the timestamp since the version in the bundle manifest is defined with the "qualifier".

Thanks and Regards,
Harshana Martin

Once I build the features and P2 repo, the bundles in the features and P2 repo has the timestamped bundles instead of "-SNAPSHOT" versioned bundles. 

Thanks and Regards,
Harshana Martin

Tom

Am 02.05.12 12:36, schrieb Harshana Eranga Martin:
> Hi Tom,
>
> On 2 May 2012 15:55, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx
> <mailto:tom.schindl@xxxxxxxxxxxxxxx>> wrote:
>
>     Hi,
>
>     I already found some old threads where this was asked but I could not
>     find out how to apply this to a simply tycho build.
>
>
> Just make sure the version in your plugin manifest is something similar
> to 2.0.0.qualifier and make the version in the pom to 2.0.0-SNAPSHOT
>
>
>     Does any one have a small sample I can take a look to understand how i
>     can apply it to my build?
>
>
> [1]. https://svn.wso2.org/repos/wso2/trunk/tools/ide/eclipse/common/org.wso2.developerstudio.eclipse.ui/
>
> Hope this helps!!
>
> Thanks and Regards,
> Harshana
>
>
>     Tom
>
>     --
>     B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
>     ------------------------------------------------------------------------
>     tom schindl                 geschäftsführer/CEO
>     ------------------------------------------------------------------------
>     eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512
>     935833 <tel:%2B%2B43%20512%20935833>
>     http://www.BestSolution.at                      phone    ++43 512
>     935834 <tel:%2B%2B43%20512%20935834>
>     _______________________________________________
>     tycho-dev mailing list
>     tycho-dev@xxxxxxxxxxx <mailto:tycho-dev@xxxxxxxxxxx>
>     https://dev.eclipse.org/mailman/listinfo/tycho-dev
>
>
> --
> Harshana Eranga Martin
> Software Engineer,
> WSO2 Inc.
> Web: http://wso2.com
>            http://wso2.org <http://wso2.org>
> _______________________________________________
> tycho-dev mailing list
> tycho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-dev


--
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                 geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev


--
Harshana Eranga Martin
Senior Software Engineer,
WSO2 Inc.
           http://wso2.org



--
Harshana Eranga Martin
Senior Software Engineer,
WSO2 Inc.
Web: http://wso2.com 
           http://wso2.org

ECF Committer: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05


Back to the top