Thanks for the advice, Paul/Brian.
I've tried both, the 0.0.0.qualifier and p2 query.  0.0.0.qualifier didn't
generate the category for my new features. p2 query works fine. I'll go
with p2 query for now.
Paul,
Are there any document/information on the syntax of this p2 query?

Best Regards

Samuel Wu



|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Brian de Alwis <[email protected]>                                      
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |P2 developer discussions <[email protected]>                                
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |02/15/2011 01:45 PM                                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [p2-dev] How to add a new feature to an existing repository?             
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                   
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





On 15-Feb-2011, at 1:20 PM, Samuel Wu wrote:
> I'm just wondering whether the feature version number in the file
category.xml can be more generic. Our feature version contains a time stamp
which keeps changing in each build. I need to manually change the version
number in category.xml before running it. Hope I can set a generic version
number. But this is not a big deal.

In following-up on Paul's comment about embedding category queries, I came
across bug 232432, submitted by David Williams.  It notes that you can
simply specify just the feature id, and omit the url and version
attributes, to pick up the latest version of a feature.

             https://bugs.eclipse.org/bugs/show_bug.cgi?id=323432

Brian.



--
Rescue your task list with Kizby!  Free 30 day trial with no obligations.
Visit kizby.com for details.

[attachment "smime.p7s" deleted by Samuel Wu/Toronto/IBM]
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to