<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>p2-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/maillist.html</link>
		<description>p2-dev</description>
		<language>en-us</language>
		<pubDate>Thu, 17 May 2012 11:40:14 GMT</pubDate>
		<lastBuildDate>Thu, 17 May 2012 11:40:14 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>p2-dev</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/maillist.html</link>
		</image>
 

	<item>
		<title>[p2-dev] Is it possible to install a feature into an RCP app at	build time?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04746.html</link>
		<description>On Wednesday, 16 May 2012, Trace Windham wrote:Technically these features can still be updated by p2 independently of the product, even though they aren&amp;#39;t root-level. &amp;#xA0;But I guess the p2 Update UI only considers root-level IUs. So I guess your antrun to in...</description>
		<content:encoded><![CDATA[On Wednesday, 16 May 2012, Trace Windham  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Unfortunately, it is not installed at the root level of installed features. &#xA0;Instead, the feature is a child of the main RCP feature of my RCP application, and therefore when updates are available for this child feature they are not found during the execution of the &quot;Check For Updates&quot; command in my RCP application. &#xA0;My requirement is that this feature be independently updatable without having to be manually installed by a user. &#xA0;I think this is what the patch in bug 361722 addresses.</div>


<div><br></div><div>Do you think I&#39;m accurate in this explanation? I&#39;m not yet confident of my knowledge in this area.</div></blockquote><div><br></div><div dir="ltr">Technically these features can still be updated by p2 independently of the product, e<span class="Apple-style-span" style>ven though they aren&#39;t root-level</span><span class="Apple-style-span" style>. &#xA0;But I guess the p2 Update UI only considers root-level IUs.</span></div>
<div dir="ltr"><span class="Apple-style-span" style><br></span></div><div dir="ltr"><span class="Apple-style-span" style>So I guess your antrun to install via the director is the best approach for now.<span></span></span></div>
<div dir="ltr"><span class="Apple-style-span" style><br></span></div><div dir="ltr"><span class="Apple-style-span" style>Brian.</span></div><div dir="ltr"><span></span></div>
]]></content:encoded>
		<pubDate>Thu, 17 May 2012 11:32:31 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04746.html</guid>
		<author>briandealwis@xxxxxxx (Brian de Alwis)</author>
	</item>


	<item>
		<title>Re: [p2-dev] Is it possible to install a feature into an RCP app at build time?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04745.html</link>
		<description>Brian,First off, thank you for all of your help, I&amp;#39;m learning a great deal today.The good news is that I have something that works now.The bad news is that it is not quite working as desired. Because of this experience, I can now see where your solution is...</description>
		<content:encoded><![CDATA[Brian,<div><br></div><div>First off, thank you for all of your help, I&#39;m learning a great deal today.</div><div><br></div><div>The good news is that I have something that works now.</div><div><br></div><div>The bad news is that it is not quite working as desired.</div>
<div><br></div><div>Because of this experience, I can now see where your solution is different from the solution proposed by the bug described at<span style>&#xA0;</span><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722" target="_blank" style>https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722</a>&#xA0;</div>
<div><br></div><div>By making the modifications that you suggested to my &lt;&lt;product-id&gt;&gt;.p2.inf file, I have successfully had my feature installed into my RCP application. &#xA0;Unfortunately, it is not installed at the root level of installed features. &#xA0;Instead, the feature is a child of the main RCP feature of my RCP application, and therefore when updates are available for this child feature they are not found during the execution of the &quot;Check For Updates&quot; command in my RCP application. &#xA0;My requirement is that this feature be independently updatable without having to be manually installed by a user. &#xA0;I think this is what the patch in bug 361722 addresses.</div>
<div><br></div><div>Do you think I&#39;m accurate in this explanation? I&#39;m not yet confident of my knowledge in this area.</div><div><br></div><div>Thanks,</div><div>Trace Windham</div><div><br></div><div><br><br><div class="gmail_quote">
On Wed, May 16, 2012 at 1:34 PM, Brian de Alwis <span dir="ltr">&lt;<a href="mailto:briandealwis@xxxxxxxxx" target="_blank">briandealwis@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&gt; &lt;site&gt;<br>
&gt; &#xA0; &#xA0;&lt;feature url="" id=&quot;com.mydomain.myrcpapp.rcp.feature&quot; version=&quot;1.1.7.qualifier&quot;&gt;<br>
&gt; &#xA0; &#xA0; &#xA0; &lt;category name=&quot;com.mydomain&quot;/&gt;<br>
&gt; &#xA0; &#xA0;&lt;/feature&gt;<br>
<br>
</div>You can simplify these for Tycho and just specify the id attribute; that&#39;ll cause Tycho to pick up the latest version. &#xA0;I doubt Tycho even uses the url attribute.<br>
<div class="im"><br>
&gt; How is the RCP build going to find that? &#xA0;My other feature is built completely independently of the RCP build. &#xA0;When I ran my RCP build, the other feature still was not pre installed.<br>
<br>
</div>Tycho will find it as long as the feature is available in either your ~/.m2/repository, one of the configured &lt;repository/&gt;, or is one of the projects being built.<br>
<div class="im"><br>
&gt; So I modified the RCP&#39;s category.xml by adding the url of my other feature&#39;s p2 repository and made it look like this,<br>
&gt;<br>
&gt; &lt;feature url="" href="http://mydomain.com/p2reposiotry/myotherfeature/features/com.mydomain.myotherfeature.feature_1.0.0.qualifier.jar" target="_blank">http://mydomain.com/p2reposiotry/myotherfeature/features/com.mydomain.myotherfeature.feature_1.0.0.qualifier.jar</a>&quot; id=&quot;com.mydomain.myotherfeature.feature&quot; version=&quot;1.0.0.qualifier&quot;&gt;<br>

&gt;<br>
&gt; But, that didn&#39;t work either.<br>
<br>
</div>Ah, that&#39;s likely the problem: the repository has to be added to your list. &#xA0;You should be able to add something like the following to your pom.xml:<br>
<br>
 &#xA0;&lt;repositories&gt;<br>
 &#xA0; &#xA0;&lt;repository&gt;<br>
 &#xA0; &#xA0; &#xA0;&lt;id&gt;jre&lt;/id&gt;<br>
 &#xA0; &#xA0; &#xA0;&lt;layout&gt;p2&lt;/layout&gt;<br>
 &#xA0; &#xA0; &#xA0;&lt;url&gt;<a href="http://mydomain.com/p2reposiotry/myotherfeature/" target="_blank">http://mydomain.com/p2reposiotry/myotherfeature/</a>&lt;/url&gt;<br>
 &#xA0; &#xA0;&lt;/repository&gt;<br>
 &#xA0;&lt;/repositories&gt;<br>
<br>
(note that there appears to be a typo: &quot;reposiotory&quot; vs &quot;repository&quot;)<br>
<div class="im"><br>
&gt; Another reply on this discussion mentioned this bug, <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722" target="_blank">https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722</a> &#xA0;and that leads me to believe that Tycho doesn&#39;t have the ability to do this, yet.<br>

<br>
</div>Well I do it in my product builds and have been for over a year ;)<br>
<span class="HOEnZb"><font color="#888888"><br>
Brian.<br>
<br>
</font></span><br>_______________________________________________<br>
p2-dev mailing list<br>
<a href="mailto:p2-dev@xxxxxxxxxxx">p2-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Trace Windham</div><br>
</div>
]]></content:encoded>
		<pubDate>Wed, 16 May 2012 19:18:17 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04745.html</guid>
		<author>twindham@xxxxxxx (Trace Windham)</author>
	</item>
	<item>
		<title>Re: [p2-dev] How to update from a password protected repository?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04744.html</link>
		<description> There was a recently fixed bug about this. https://bugs.eclipse.org/bugs/show_bug.cgi?id=348366 It should work with a recent enough Eclipse/p2. Cheers, Carlos.</description>
		<content:encoded><![CDATA[<pre>On 5/16/2012 2:10 PM, Samuel Wu wrote:
&gt; When I tried to access a password protected web site for the update,
&gt; I got the error message Authentication failed without being prompted
&gt; for user ID and password. Wonder where to set the user id and
&gt; password. Thanks. Best Regards

There was a recently fixed bug about this.

<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348366">https://bugs.eclipse.org/bugs/show_bug.cgi?id=348366</a>

It should work with a recent enough Eclipse/p2.

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@xxxxxxxxxx
carlos@xxxxxxxxxxxxxxxx
+1 (613) 963 1026

</pre>]]></content:encoded>
		<pubDate>Wed, 16 May 2012 18:43:45 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04744.html</guid>
		<author>carlos_odonell@xxxxxxx (Carlos O'Donell)</author>
	</item>
	<item>
		<title>Re: [p2-dev] Is it possible to install a feature into an RCP app at	build time?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04743.html</link>
		<description> You can simplify these for Tycho and just specify the id attribute; that'll cause Tycho to pick up the latest version. I doubt Tycho even uses the url attribute. Tycho will find it as long as the feature is available in either your ~/.m2/repository, one o...</description>
		<content:encoded><![CDATA[<pre>&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&gt; &lt;site&gt;
&gt;    &lt;feature url=&quot;features/com.mydomain.myrcpapp.rcp.feature_1.1.7.qualifier.jar&quot; id=&quot;com.mydomain.myrcpapp.rcp.feature&quot; version=&quot;1.1.7.qualifier&quot;&gt;
&gt;       &lt;category name=&quot;com.mydomain&quot;/&gt;
&gt;    &lt;/feature&gt;

You can simplify these for Tycho and just specify the id attribute; that'll cause Tycho to pick up the latest version.  I doubt Tycho even uses the url attribute.

&gt; How is the RCP build going to find that?  My other feature is built completely independently of the RCP build.  When I ran my RCP build, the other feature still was not pre installed.

Tycho will find it as long as the feature is available in either your ~/.m2/repository, one of the configured &lt;repository/&gt;, or is one of the projects being built.

&gt; So I modified the RCP's category.xml by adding the url of my other feature's p2 repository and made it look like this, 
&gt; 
&gt; &lt;feature url=&quot;<a  href="http://mydomain.com/p2reposiotry/myotherfeature/features/com.mydomain.myotherfeature.feature_1.0.0.qualifier.jar&quot">http://mydomain.com/p2reposiotry/myotherfeature/features/com.mydomain.myotherfeature.feature_1.0.0.qualifier.jar&quot</a>; id=&quot;com.mydomain.myotherfeature.feature&quot; version=&quot;1.0.0.qualifier&quot;&gt;
&gt; 
&gt; But, that didn't work either.

Ah, that's likely the problem: the repository has to be added to your list.  You should be able to add something like the following to your pom.xml:

  &lt;repositories&gt;
    &lt;repository&gt;
      &lt;id&gt;jre&lt;/id&gt;
      &lt;layout&gt;p2&lt;/layout&gt;
      &lt;url&gt;<a  href="http://mydomain.com/p2reposiotry/myotherfeature/">http://mydomain.com/p2reposiotry/myotherfeature/</a>&lt;/url&gt;
    &lt;/repository&gt;
  &lt;/repositories&gt;

(note that there appears to be a typo: &quot;reposiotory&quot; vs &quot;repository&quot;)

&gt; Another reply on this discussion mentioned this bug, <a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722">https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722</a>  and that leads me to believe that Tycho doesn't have the ability to do this, yet.

Well I do it in my product builds and have been for over a year ;)

Brian.

</pre><p><strong>Attachment:
<a href="p7sBVmM9dAoFo.p7s" ><tt>smime.p7s</tt></a></strong><br>
<em>Description:</em> S/MIME cryptographic signature</p>
]]></content:encoded>
		<pubDate>Wed, 16 May 2012 18:35:02 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04743.html</guid>
		<author>briandealwis@xxxxxxx (Brian de Alwis)</author>
	</item>
	<item>
		<title>[p2-dev] How to update from a password protected repository?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04742.html</link>
		<description> When I tried to access a password protected web site for the update, I got the error message Authentication failed without being prompted for user ID and password. Wonder where to set the user id and password. Thanks. Best Regards Samuel Wu </description>
		<content:encoded><![CDATA[
<p><font size="2" face="sans-serif">When I tried to access a password protected web site for the update, I got the error message Authentication failed without being prompted for user ID and password. Wonder where to set the user id and password. Thanks.</font><br>
<font size="2" face="sans-serif">Best Regards<br>
<br>
Samuel Wu<br>
</font>]]></content:encoded>
		<pubDate>Wed, 16 May 2012 18:10:45 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04742.html</guid>
		<author>samuelwu@xxxxxxx (Samuel Wu)</author>
	</item>
	<item>
		<title>Re: [p2-dev] Is it possible to install a feature into an RCP app at build time?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04741.html</link>
		<description>-- Trace Windham </description>
		<content:encoded><![CDATA[I&#39;ve added my feature to the category.xml for my RCP product, but this didn&#39;t cause the feature to be pre installed after the build of the RCP product was finished.<div><br></div><div>My feature that I want to be pre installed is built completely independent from my RCP product. &#xA0;It has it&#39;s own parent pom.xml file and it&#39;s own category.xml file. &#xA0;</div>
<div><br></div><div>How does the category.xml file for my RCP product know where to find my feature that I want pre installed?</div><div><br></div><div>Here&#39;s what is in my category.xml file now that I&#39;ve added my Feature to it.</div>
<div><br></div><div><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</div><div>&lt;site&gt;</div><div>&#xA0; &#xA0;&lt;feature url="" id=&quot;com.mydomain.myrcpapp.rcp.feature&quot; version=&quot;1.1.7.qualifier&quot;&gt;</div>
<div>&#xA0; &#xA0; &#xA0; &lt;category name=&quot;com.mydomain&quot;/&gt;</div><div>&#xA0; &#xA0;&lt;/feature&gt;</div><div>&#xA0; &#xA0;&lt;feature url="" id=&quot;com.mydomain.myotherfeature.feature&quot; version=&quot;1.0.0.qualifier&quot;&gt;</div>
<div>&#xA0; &#xA0; &#xA0; &lt;category name=&quot;com.mydomain&quot;/&gt;</div><div>&#xA0; &#xA0;&lt;/feature&gt;</div><div>&#xA0; &#xA0;&lt;category-def name=&quot;com.mydomain&quot; label=&quot;Development Tools&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;description&gt;</div>
<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0;Eclipse based features provided by My Company&#39;s Software Development Group</div><div>&#xA0; &#xA0; &#xA0; &lt;/description&gt;</div><div>&#xA0; &#xA0;&lt;/category-def&gt;</div><div>&lt;/site&gt;</div><div><br></div><div><br></div>
I noticed that the attribute &quot;url&quot; was set to &quot;features/com.mydomain.myotherfeature.feature_1.0.0.qualifier.jar&quot;, and I thought. &#xA0;</div><div><br></div><div>How is the RCP build going to find that? &#xA0;My other feature is built completely independently of the RCP build. &#xA0;When I ran my RCP build, the other feature still was not pre installed.</div>
<div><br></div><div>So I modified the RCP&#39;s category.xml by adding the url of my other feature&#39;s p2 repository and made it look like this,&#xA0;</div><div><br></div><div>&lt;feature url="" href="http://mydomain.com/p2reposiotry/myotherfeature/features/com.mydomain.myotherfeature.feature_1.0.0.qualifier.jar">http://mydomain.com/p2reposiotry/myotherfeature/features/com.mydomain.myotherfeature.feature_1.0.0.qualifier.jar</a>&quot;&#xA0;id=&quot;com.mydomain.myotherfeature.feature&quot; version=&quot;1.0.0.qualifier&quot;&gt;</div>
<div><br></div><div>But, that didn&#39;t work either.</div><div><br></div><div>I think I&#39;m still missing something here. &#xA0;Does Tycho have the ability to even do this?</div><div><br></div><div>Another reply on this discussion mentioned this bug,&#xA0;<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722">https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722</a>&#xA0; and that leads me to believe that Tycho doesn&#39;t have the ability to do this, yet.</div>
<div><br></div><div>Thanks again for your time, it is greatly appreciated.</div><div>Trace Windham</div><div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, May 16, 2012 at 8:58 AM, Brian de Alwis <span dir="ltr">&lt;<a href="mailto:briandealwis@xxxxxxxxx" target="_blank">briandealwis@xxxxxxxxx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 16-May-2012, at 9:41 AM, Trace Windham wrote:<br>
&gt; Is there something else I need to do to get your proposed solution to work?<br>
<br>
</div>You need to ensure the features are included in the category.xml so that they are pulled in and available for installation.<br>
<span class="HOEnZb"><font color="#888888"><br>
Brian.</font></span><br>_______________________________________________<br>
p2-dev mailing list<br>
<a href="mailto:p2-dev@xxxxxxxxxxx">p2-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Trace Windham</div><br>
</div>
]]></content:encoded>
		<pubDate>Wed, 16 May 2012 15:39:47 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04741.html</guid>
		<author>twindham@xxxxxxx (Trace Windham)</author>
	</item>
	<item>
		<title>Re: [p2-dev] Is it possible to install a feature into an RCP app at	build time?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04740.html</link>
		<description> You need to ensure the features are included in the category.xml so that they are pulled in and available for installation. Brian.Attachment: smime.p7s Description: S/MIME cryptographic signature </description>
		<content:encoded><![CDATA[<pre>On 16-May-2012, at 9:41 AM, Trace Windham wrote:
&gt; Is there something else I need to do to get your proposed solution to work?

You need to ensure the features are included in the category.xml so that they are pulled in and available for installation.

Brian.</pre><p><strong>Attachment:
<a href="p7sHo2hYqrfFp.p7s" ><tt>smime.p7s</tt></a></strong><br>
<em>Description:</em> S/MIME cryptographic signature</p>
]]></content:encoded>
		<pubDate>Wed, 16 May 2012 13:58:15 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04740.html</guid>
		<author>briandealwis@xxxxxxx (Brian de Alwis)</author>
	</item>
	<item>
		<title>Re: [p2-dev] Is it possible to install a feature into an RCP app at build time?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04739.html</link>
		<description>Brian,&amp;#xA0;I already have a &amp;lt;&amp;lt;product-id&amp;gt;&amp;gt;.p2.inf file alongside my &amp;lt;&amp;lt;product-id&amp;gt;&amp;gt;.product, and currently, it looks like this...instructions.configure=\ &amp;#xA0;org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//mydomain.com/myp2repository/m...</description>
		<content:encoded><![CDATA[Brian,&#xA0;<div><br></div><div>I already have a &lt;&lt;product-id&gt;&gt;.p2.inf file alongside my &lt;&lt;product-id&gt;&gt;.product, and currently, it looks like this...</div><div><br></div><div><div>instructions.configure=\</div>
<div>&#xA0;org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//<a href="http://mydomain.com/myp2repository/myrequiredfeature/,type:0,name:My">mydomain.com/myp2repository/myrequiredfeature/,type:0,name:My</a> Required Feature Name,enabled:true);\</div>
<div>&#xA0;org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//
<a href="http://mydomain.com/myp2repository/myrequiredfeature/">mydomain.com/myp2repository/myrequiredfeature/</a>&#xA0;,type:1,name:
My Required Feature Name&#xA0;,enabled:true);</div><div><br></div><div><br></div><div>This entry successfully adds the repository to my RCP application during build time.</div><div><br></div><div>I&#39;ve added the entries you suggested and I ran by full build for my RCP app using &quot;mvn clean install&quot;, and the feature doesn&#39;t not get installed in my RCP application. &#xA0;</div>
<div><br></div><div>Is there something else I need to do to get your proposed solution to work?</div><div><br></div><div>Thanks,</div><div>Trace Windham</div><div><br></div><div><br></div><div>&#xA0;</div><br><div class="gmail_quote">
On Tue, May 15, 2012 at 6:17 PM, Brian de Alwis <span dir="ltr">&lt;<a href="mailto:briandealwis@xxxxxxxxx" target="_blank">briandealwis@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Since you&#39;re using Tycho, you can save yourself a step and add a &lt;&lt;product-id&gt;&gt;.p2.inf file alongside your &lt;&lt;product-id&gt;&gt;.product file containing something like:<div>
<br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>requires.101.namespace=org.eclipse.equinox.p2.iu</div></div><div><div><a href="http://requires.101.name" target="_blank">requires.101.name</a>=my.feature.name.feature.group</div>
</div><div><div>requires.101.range=[0.9.1,1.0.0)</div></div></blockquote><div><div><br></div><div>Repeat that for the features you&#39;d like to have pre-installed, incrementing the &quot;101&quot; for each feature.</div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>Brian.</div></font></span><div><div class="h5"><div><br><div><div>On 15-May-2012, at 4:25 PM, Trace Windham wrote:</div><br><blockquote type="cite">Thanks Paul, that worked like a charm.<div>
<br></div><div>Since Tycho had already zipped up my deliverable product, I had to add an ant zip task to re zip the product after I modified it using your ant task below. &#xA0;</div><div>
<br></div><div>It was no big deal, but I thought I should mention it for the next guy that reads this someday.</div><div><br></div><div>Thanks again!</div><div>TW</div><div>&#xA0;</div><div><div><br><div class="gmail_quote">On Tue, May 15, 2012 at 12:19 PM, Paul Webster <span dir="ltr">&lt;<a href="mailto:pwebster@xxxxxxxxxxxxxxxxxxx" target="_blank">pwebster@xxxxxxxxxxxxxxxxxxx</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can use the p2 director as a final step in your build.<br><br>basebuilder/eclipse \<br>-application org.eclipse.equinox.p2.director \<br>

-noSplash \<br>-repository \<br><a href="http://download.eclipse.org/releases/juno" target="_blank">http://download.eclipse.org/releases/juno</a> \<br>
-destination \<br>/path/to/rcp/build \<br>-bundlepool \<br>/path/to/rcp/build \<br>-installIUs \<br>org.eclipse.emf.sdk.feature.group<br><br>It can be called from your postBuild ant target as well, for example see <a href="http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/tree/eclipse/buildConfigs/sdk.tests/testScripts/test.xml#n289" target="_blank">http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/tree/eclipse/buildConfigs/sdk.tests/testScripts/test.xml#n289</a><span><font color="#888888"><br>


<br>PW<br clear="all"><br>-- <br>Paul Webster<br>Hi floor.&#xA0; Make me a sammich! - GIR<br>
</font></span><br>_______________________________________________<br>
p2-dev mailing list<br>
<a href="mailto:p2-dev@xxxxxxxxxxx" target="_blank">p2-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Trace Windham</div><br>
</div></div>
_______________________________________________<br>p2-dev mailing list<br><a href="mailto:p2-dev@xxxxxxxxxxx" target="_blank">p2-dev@xxxxxxxxxxx</a><br><a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>
</blockquote></div><br></div></div></div></div></div><br>_______________________________________________<br>
p2-dev mailing list<br>
<a href="mailto:p2-dev@xxxxxxxxxxx">p2-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Trace Windham</div><br>
</div>
]]></content:encoded>
		<pubDate>Wed, 16 May 2012 13:41:36 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04739.html</guid>
		<author>twindham@xxxxxxx (Trace Windham)</author>
	</item>


	<item>
		<title>Re: [p2-dev] Is it possible to install a feature into an RCP app at build time?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04738.html</link>
		<description>Have you look at the following patch:&amp;#xA0;https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722 ?HTH! On Tue, May 15, 2012 at 4:17 PM, Brian de Alwis &amp;lt;briandealwis@xxxxxxxxx&amp;gt; wrote:Repeat that for the features you&amp;#39;d like to have pre-installed, incrementing the ...</description>
		<content:encoded><![CDATA[Have you look at the following patch:&#xA0;<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722">https://bugs.eclipse.org/bugs/show_bug.cgi?id=361722</a> ?<div><br>HTH!<br>
<br><br><div class="gmail_quote">On Tue, May 15, 2012 at 4:17 PM, Brian de Alwis <span dir="ltr">&lt;<a href="mailto:briandealwis@xxxxxxxxx" target="_blank">briandealwis@xxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Since you&#39;re using Tycho, you can save yourself a step and add a &lt;&lt;product-id&gt;&gt;.p2.inf file alongside your &lt;&lt;product-id&gt;&gt;.product file containing something like:<div>

<br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>requires.101.namespace=org.eclipse.equinox.p2.iu</div></div><div><div><a href="http://requires.101.name" target="_blank">requires.101.name</a>=my.feature.name.feature.group</div>

</div><div><div>requires.101.range=[0.9.1,1.0.0)</div></div></blockquote><div><div><br></div><div>Repeat that for the features you&#39;d like to have pre-installed, incrementing the &quot;101&quot; for each feature.</div>

<span class="HOEnZb"><font color="#888888"><div><br></div><div>Brian.</div></font></span><div><div class="h5"><div><br><div><div>On 15-May-2012, at 4:25 PM, Trace Windham wrote:</div><br><blockquote type="cite">Thanks Paul, that worked like a charm.<div>

<br></div><div>Since Tycho had already zipped up my deliverable product, I had to add an ant zip task to re zip the product after I modified it using your ant task below. &#xA0;</div><div>
<br></div><div>It was no big deal, but I thought I should mention it for the next guy that reads this someday.</div><div><br></div><div>Thanks again!</div><div>TW</div><div>&#xA0;</div><div><div><br><div class="gmail_quote">On Tue, May 15, 2012 at 12:19 PM, Paul Webster <span dir="ltr">&lt;<a href="mailto:pwebster@xxxxxxxxxxxxxxxxxxx" target="_blank">pwebster@xxxxxxxxxxxxxxxxxxx</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can use the p2 director as a final step in your build.<br><br>basebuilder/eclipse \<br>-application org.eclipse.equinox.p2.director \<br>


-noSplash \<br>-repository \<br><a href="http://download.eclipse.org/releases/juno" target="_blank">http://download.eclipse.org/releases/juno</a> \<br>
-destination \<br>/path/to/rcp/build \<br>-bundlepool \<br>/path/to/rcp/build \<br>-installIUs \<br>org.eclipse.emf.sdk.feature.group<br><br>It can be called from your postBuild ant target as well, for example see <a href="http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/tree/eclipse/buildConfigs/sdk.tests/testScripts/test.xml#n289" target="_blank">http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/tree/eclipse/buildConfigs/sdk.tests/testScripts/test.xml#n289</a><span><font color="#888888"><br>



<br>PW<br clear="all"><br>-- <br>Paul Webster<br>Hi floor.&#xA0; Make me a sammich! - GIR<br>
</font></span><br>_______________________________________________<br>
p2-dev mailing list<br>
<a href="mailto:p2-dev@xxxxxxxxxxx" target="_blank">p2-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Trace Windham</div><br>
</div></div>
_______________________________________________<br>p2-dev mailing list<br><a href="mailto:p2-dev@xxxxxxxxxxx" target="_blank">p2-dev@xxxxxxxxxxx</a><br><a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>

</blockquote></div><br></div></div></div></div></div><br>_______________________________________________<br>
p2-dev mailing list<br>
<a href="mailto:p2-dev@xxxxxxxxxxx">p2-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>
<br></blockquote></div><br></div>
]]></content:encoded>
		<pubDate>Wed, 16 May 2012 00:09:12 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04738.html</guid>
		<author>albertopose@xxxxxxx (Alberto Miguel Pose)</author>
	</item>
	<item>
		<title>Re: [p2-dev] Is it possible to install a feature into an RCP app at	build time?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04737.html</link>
		<description>Since you're using Tycho, you can save yourself a step and add a &amp;lt;&amp;lt;product-id&amp;gt;&amp;gt;.p2.inf file alongside your &amp;lt;&amp;lt;product-id&amp;gt;&amp;gt;.product file containing something like:Repeat that for the features you'd like to have pre-installed, incrementing the "101" for each ...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="">Since you're using Tycho, you can save yourself a step and add a &lt;&lt;product-id&gt;&gt;.p2.inf file alongside your &lt;&lt;product-id&gt;&gt;.product file containing something like:<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>requires.101.namespace=org.eclipse.equinox.p2.iu</div></div><div><div>requires.101.name=my.feature.name.feature.group</div></div><div><div>requires.101.range=[0.9.1,1.0.0)</div></div></blockquote><div><div><br></div><div>Repeat that for the features you'd like to have pre-installed, incrementing the "101" for each feature.</div><div><br></div><div>Brian.</div><div><br><div><div>On 15-May-2012, at 4:25 PM, Trace Windham wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks Paul, that worked like a charm.<div><br></div><div>Since Tycho had already zipped up my deliverable product, I had to add an ant zip task to re zip the product after I modified it using your ant task below. &nbsp;</div><div>
<br></div><div>It was no big deal, but I thought I should mention it for the next guy that reads this someday.</div><div><br></div><div>Thanks again!</div><div>TW</div><div>&nbsp;</div><div><div><br><div class="gmail_quote">On Tue, May 15, 2012 at 12:19 PM, Paul Webster <span dir="ltr">&lt;<a href="mailto:pwebster@xxxxxxxxxxxxxxxxxxx" target="_blank">pwebster@xxxxxxxxxxxxxxxxxxx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can use the p2 director as a final step in your build.<br><br>basebuilder/eclipse \<br>-application org.eclipse.equinox.p2.director \<br>
-noSplash \<br>-repository \<br><a href="http://download.eclipse.org/releases/juno" target="_blank">http://download.eclipse.org/releases/juno</a> \<br>
-destination \<br>/path/to/rcp/build \<br>-bundlepool \<br>/path/to/rcp/build \<br>-installIUs \<br>org.eclipse.emf.sdk.feature.group<br><br>It can be called from your postBuild ant target as well, for example see <a href="http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/tree/eclipse/buildConfigs/sdk.tests/testScripts/test.xml#n289" target="_blank">http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/tree/eclipse/buildConfigs/sdk.tests/testScripts/test.xml#n289</a><span class="HOEnZb"><font color="#888888"><br>

<br>PW<br clear="all"><br>-- <br>Paul Webster<br>Hi floor.&nbsp; Make me a sammich! - GIR<br>
</font></span><br>_______________________________________________<br>
p2-dev mailing list<br>
<a href="mailto:p2-dev@xxxxxxxxxxx">p2-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/p2-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/p2-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Trace Windham</div><br>
</div></div>
_______________________________________________<br>p2-dev mailing list<br><a href="mailto:p2-dev@xxxxxxxxxxx">p2-dev@xxxxxxxxxxx</a><br>https://dev.eclipse.org/mailman/listinfo/p2-dev<br></blockquote></div><br></div></div></td></tr></table><p><strong>Attachment:
<a href="p7sfhTavF7o7O.p7s" ><tt>smime.p7s</tt></a></strong><br>
<em>Description:</em> S/MIME cryptographic signature</p>
]]></content:encoded>
		<pubDate>Tue, 15 May 2012 23:17:08 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04737.html</guid>
		<author>briandealwis@xxxxxxx (Brian de Alwis)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->

