Hello Shenol,
I'm running a PDE headless build and want to publish the build result. I
tried to add the following ant task to my build and it did publish the
build result. But the problem is that the features are publish without a
category.  I manually updated the site.xml and created the category for the
new features, but I didn't see the newly added category when I tried to
install from the repository.
            <p2.publish.featuresAndBundles

metadataRepository="file:/X:/build/website/tpftoolkit/nls36"

artifactRepository="file:/X:/build/website/tpftoolkit/nls36"
                  publishArtifacts="true"
                  compress="true"
                  append="true"
                  source="${buildDirectory}/buildRepo"/>

Also looked at the headless Category Publisher, but couldn't figure out how
to define the source directory yet.

Best Regards

Samuel Wu



|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Yousouf, Shenol" <[email protected]>                                        
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |P2 developer discussions <[email protected]>                                
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |02/08/2011 12:21 PM                                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [p2-dev] How to add a new feature to an existing repository?             
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                   
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





Hello Samuel,

How are you building these features ? Publisher applications can be run
with an option ?-append? which will add the new features to an already
existing repository. Some details here:
http://wiki.eclipse.org/Equinox/p2/Publisher

Best regards,
Shenol Yousouf
SAP Labs Bulgaria

From: [email protected] [mailto:[email protected]] On
Behalf Of Samuel Wu
Sent: Tuesday, February 08, 2011 6:48 PM
To: [email protected]
Subject: [p2-dev] How to add a new feature to an existing repository?



Hello there,
Our product has a repository to ship the optional features. We've already
shipped a few features and now we want to ship a few more. But when the new
features are built, the content.xml and artifacts.xml only contains the
newly built features. And the manual merge of the files with the old one is
next to impossible. I wonder how to add the new features to the existing
repository. Thanks a lot.

Best Regards

Samuel Wu_______________________________________________
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