Thank you, Brian, for the suggestion.
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.mirror source="file:${buildDirectory}/buildRepo"
ignoreErrors="true" log="${buildDirectory}/logs/mirror.log">
<destination kind="metadata" compressed="true" name="National
Language Support" location="file:/X:/build/website/tpftoolkit/nls36"
append="true" />
<destination kind="artifact" compressed="true" name="National
Language Support" location="file:/X:/build/website/tpftoolkit/nls36"
append="true" />
<iu id="com.ibm.tpf.administrator.nl1.feature.group" version="" />
<iu id="com.ibm.tpf.toolkit.nl1.feature.group" version="" />
</p2.mirror>
Any suggestion?Best Regards Samuel Wu |------------> | From: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Brian de Alwis <[email protected]> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |P2 developer discussions <[email protected]> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |02/09/2011 06:51 AM | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Re: [p2-dev] How to add a new feature to an existing repository? | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Sent by: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |[email protected] | >--------------------------------------------------------------------------------------------------------------------------------------------------| And look at the p2.mirror ant task, which allows you to pull all or selected IUs from a different repository. 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
