<?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>tycho-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/maillist.html</link>
		<description>tycho-dev</description>
		<language>en-us</language>
		<pubDate>Tue, 14 May 2013 07:40:05 GMT</pubDate>
		<lastBuildDate>Tue, 14 May 2013 07:40:05 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>tycho-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/tycho-dev/maillist.html</link>
		</image>
 

	<item>
		<title>Re: [tycho-dev] 0.18.0 release date?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00914.html</link>
		<description> _______________________________________________ tycho-dev mailing list tycho-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-dev </description>
		<content:encoded><![CDATA[<pre>opened <a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=407972">https://bugs.eclipse.org/bugs/show_bug.cgi?id=407972</a>

please follow up there.

Jan

-----Original Message-----
From: tycho-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tycho-dev-bounces@xxxxxxxxxxx">mailto:tycho-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Pascal Rapicault
Sent: Mittwoch, 1. Mai 2013 02:18
To: tycho-dev@xxxxxxxxxxx
Subject: Re: [tycho-dev] 0.18.0 release date?

I don't need a specific tycho fix, but rather I would need to have a new
version of p2 to be consumed.
More specifically I've committed a change to the publisher [1] that allows
to identify product IUs. This simple change is key to make sure that p2
remediation mechanism does not remove the current product when something
incompatible is installed (for an example of this situation see
(<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=406947">https://bugs.eclipse.org/bugs/show_bug.cgi?id=406947</a>)). We currently have
a workaround in the platform build
(<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=406960">https://bugs.eclipse.org/bugs/show_bug.cgi?id=406960</a>) but generally
speaking I think the issue is important enough that we want to make sure
that we make the fix availble to the mass through tycho by the time Kepler
is released.

In addition to that, there is also the problem where Mac builds don't have
an icon and there are people working on a fix in bug
<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=406942">https://bugs.eclipse.org/bugs/show_bug.cgi?id=406942</a>.

I realize that I've asked for a 0.18 build, but I'm completely happy with
a 0.17.1 that just includes a new version of p2.

[1]
<a  href="http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=11c1ab663154efe0e0be72945607a9fe45ffc679">http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=11c1ab663154efe0e0be72945607a9fe45ffc679</a>

Pascal

On Tue, April 30, 2013 10:55, Oberlies, Tobias wrote:
&gt; Usually, we do a release every four months [1], so this wouldn't be in
&gt; time for Kepler. But we could do an extra release for Kepler.
&gt;
&gt; What is the impact for you? Is there anything particular of the new things
&gt; in 0.18.0 [2] are you interested in?
&gt;
&gt; Regards
&gt; Tobias
&gt;
&gt; [1] <a  href="http://wiki.eclipse.org/Tycho/Release_Notes">http://wiki.eclipse.org/Tycho/Release_Notes</a>
&gt; [2]
&gt; <a  href="https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&amp;product=Tycho&amp;query_format=advanced&amp;resolution=FIXED&amp;target_milestone=0.18.0&amp;order=bug_id&amp;list_id=5315632">https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&amp;product=Tycho&amp;query_format=advanced&amp;resolution=FIXED&amp;target_milestone=0.18.0&amp;order=bug_id&amp;list_id=5315632</a>
&gt;
&gt;
&gt;&gt; -----Original Message-----
&gt;&gt; From: tycho-dev-bounces@xxxxxxxxxxx
&gt;&gt; [<a  href="mailto:tycho-dev-bounces@xxxxxxxxxxx">mailto:tycho-dev-bounces@xxxxxxxxxxx</a>]
&gt;&gt; On Behalf Of Pascal Rapicault
&gt;&gt; Sent: Dienstag, 30. April 2013 15:50
&gt;&gt; To: tycho-dev@xxxxxxxxxxx
&gt;&gt; Cc: platform-releng-dev@xxxxxxxxxxx
&gt;&gt; Subject: [tycho-dev] 0.18.0 release date?
&gt;&gt;
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; I would like to know if 0.18.0 will be released in time to build Kepler
&gt;&gt; with it?
&gt;&gt;
&gt;&gt; Thx
&gt;&gt;
&gt;&gt; Pascal
&gt;&gt;
&gt;&gt; _______________________________________________
&gt;&gt; tycho-dev mailing list
&gt;&gt; tycho-dev@xxxxxxxxxxx
&gt;&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/tycho-dev">https://dev.eclipse.org/mailman/listinfo/tycho-dev</a>
&gt;


_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/tycho-dev">https://dev.eclipse.org/mailman/listinfo/tycho-dev</a>

</pre>]]></content:encoded>
		<pubDate>Tue, 14 May 2013 07:38:31 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00914.html</guid>
		<author>jan.sievers@xxxxxxx (Sievers, Jan)</author>
	</item>


	<item>
		<title>Re: [tycho-dev] Tycho Gerrit Review Process: Some Questions</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00913.html</link>
		<description> we try to review every change unless considered really trivial. That said, there is no hard-and-fast &amp;quot;must review all changes&amp;quot; rule. we are using gerrit for tycho since April 2012. Some of the team members have been using gerrit for several years in other...</description>
		<content:encoded><![CDATA[<pre>&gt;1) Is this ture, i.e. is the review policy rigorous? Or are there 
&gt;changes to the repository that can go un-reviewed?

we try to review every change unless considered really trivial.
That said, there is no hard-and-fast &quot;must review all changes&quot; rule.

&gt;2) Since when do you use code review?

we are using gerrit for tycho since April 2012.
Some of the team members have been using gerrit for several years in other projects.

&gt;3) I noticed there can arise changes without a linked bugzilla id. 
&gt;When/why does this happen?

should not happen unless the change is considered really trivial/non-functional (such as &quot;reformat/fix line endings&quot; or similar).
That said, to err is human.

Regards,
Jan

</pre>]]></content:encoded>
		<pubDate>Mon, 13 May 2013 07:55:02 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00913.html</guid>
		<author>jan.sievers@xxxxxxx (Sievers, Jan)</author>
	</item>
	<item>
		<title>Re: [tycho-dev] Tycho Gerrit Review Process: Some Questions</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00912.html</link>
		<description>See inline. Trivial changes can go in without offering them for review. Also, we don't require a review - only that committers offer the chance for review. This is typically done by proposing a change in Gerrit and by waiting three days before submitting i...</description>
		<content:encoded><![CDATA[<pre>See inline.

&gt; -----Original Message-----
&gt; From: tycho-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tycho-dev-bounces@xxxxxxxxxxx">mailto:tycho-dev-bounces@xxxxxxxxxxx</a>]
&gt; On Behalf Of Moritz Beller
&gt; Sent: Freitag, 10. Mai 2013 14:42
&gt; To: tycho-dev@xxxxxxxxxxx
&gt; Subject: [tycho-dev] Tycho Gerrit Review Process: Some Questions
&gt; 
&gt; Hi there!
&gt; 
&gt; I am a computer scientist at Technical University of Munich. My field of
&gt; research is Code Reviews. My research questions focus around which types
&gt; of defects are usually found during code reviews in open source
&gt; projects. For this, I want to set-up an empirical study with open source
&gt; systems employing Gerrit Code Reviews. Tycho could be one of them.
&gt; paulweb515 in #eclipse-dev pin-pointed me to look at Tycho.
&gt; 
&gt; A quick scan through the code base of Tycho suggested to me that code
&gt; reviews are mandatory for every commit. Before I could include Tycho
&gt; into the study I have a few questions:
&gt; 
&gt; 1) Is this ture, i.e. is the review policy rigorous? Or are there
&gt; changes to the repository that can go un-reviewed?

Trivial changes can go in without offering them for review. Also, we don't require a review - only that committers offer the chance for review. This is typically done by proposing a change in Gerrit and by waiting three days before submitting it.

BTW, this are our Gerrit permissions: <a  href="https://git.eclipse.org/r/#/admin/projects/tycho/org.eclipse.tycho,access">https://git.eclipse.org/r/#/admin/projects/tycho/org.eclipse.tycho,access</a>.

&gt; 2) Since when do you use code review?

Since April 2012 -&gt; <a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371620">https://bugs.eclipse.org/bugs/show_bug.cgi?id=371620</a>

&gt; 3) I noticed there can arise changes without a linked bugzilla id.
&gt; When/why does this happen?

Trivial changes like formatting or pure refactoring changes don't need a corresponding bug. If there is no functional change, there is no need to have an entry in the issue&amp;change tracker.

&gt; Thanks a lot for helping me.
&gt; 
&gt; Best
&gt; Moritz
&gt; 

Regards
Tobias


</pre>]]></content:encoded>
		<pubDate>Mon, 13 May 2013 06:53:59 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00912.html</guid>
		<author>tobias.oberlies@xxxxxxx (Oberlies, Tobias)</author>
	</item>


	<item>
		<title>[tycho-dev] Tycho Gerrit Review Process: Some Questions</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00911.html</link>
		<description>Hi there! I am a computer scientist at Technical University of Munich. My field of research is Code Reviews. My research questions focus around which types of defects are usually found during code reviews in open source projects. For this, I want to set-up...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi there!</pre><br>
<tt>I am a computer scientist at Technical University of Munich. My field of 
research is Code Reviews. My research questions focus around which types 
of defects are usually found during code reviews in open source 
projects. For this, I want to set-up an empirical study with open source 
systems employing Gerrit Code Reviews. Tycho could be one of them. 
paulweb515 in #eclipse-dev pin-pointed me to look at Tycho.</tt><br>
<br>
<tt>A quick scan through the code base of Tycho suggested to me that code 
reviews are mandatory for every commit. Before I could include Tycho 
into the study I have a few questions:</tt><br>
<br>
<tt>1) Is this ture, i.e. is the review policy rigorous? Or are there 
changes to the repository that can go un-reviewed?<br>
2) Since when do you use code review?<br>
3) I noticed there can arise changes without a linked bugzilla id. 
When/why does this happen?</tt><br>
<br>
<pre style="margin: 0em;">Thanks a lot for helping me.</pre><br>
<pre style="margin: 0em;">Best
Moritz</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;"><br></pre><br>
]]></content:encoded>
		<pubDate>Fri, 10 May 2013 12:41:50 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00911.html</guid>
		<author>m.o.m.o@xxxxxxx (Moritz Beller)</author>
	</item>


	<item>
		<title>Re: [tycho-dev] How to get P2 dependency URL with tycho.</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00910.html</link>
		<description>Hi Tobias&amp;#xA0;&amp;#xA0;&amp;#xA0; Thank you very much! I archived all my targets. You hint was very valuable. You show me where is no solution. That significantly narrow my field of decisions and I save huge chunk of time. I just rewrote a little DefaultEquinoxEmbedder and the...</description>
		<content:encoded><![CDATA[<div dir="ltr">Hi Tobias<br>&#xA0;&#xA0;&#xA0; Thank you very much! I archived all my targets. You hint was very valuable. You show me where is no solution. That significantly narrow my field of decisions and I save huge chunk of time.<br>
I just rewrote a little DefaultEquinoxEmbedder and then right after resolution process:<br><br>&#xA0;&#xA0;&#xA0; val agentClass = equinox.getClass.getClassLoader().loadClass(&quot;org.eclipse.equinox.p2.core.IProvisioningAgent&quot;)<br>
&#xA0;&#xA0;&#xA0; val remoteAgent = equinox.getService(agentClass).asInstanceOf[{ def getService(serviceName: String): AnyRef }]<br>&#xA0;&#xA0;&#xA0; val remoteMetadataRepositoryManager = remoteAgent.getService(IMetadataRepositoryManager.SERVICE_NAME).asInstanceOf[IMetadataRepositoryManager]<br>
&#xA0;&#xA0;&#xA0; val remoteArtifactRepositoryManager = remoteAgent.getService(IArtifactRepositoryManager.SERVICE_NAME).asInstanceOf[IArtifactRepositoryManager]<br>&#xA0;&#xA0;&#xA0; val repos = remoteArtifactRepositoryManager.getKnownRepositories(IRepositoryManager.REPOSITORIES_ALL)<br>
&#xA0;&#xA0;&#xA0; for (i &lt;- repos) {<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; val x = remoteArtifactRepositoryManager.loadRepository(i, null) &lt;---- Hurray!!! Bingo. All bundles per URL + bundles with source code as a bonus!!! Wow<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; System.err.println(&quot;!!!&quot; + x)<br>
&#xA0;&#xA0;&#xA0; }<br><br>Only few lines, splendid. I will buy to you your favorite alcohol drink (or cup of coffee, tea, chai, cocoa, etc.) if there will be occasion ;-)<br><br>Thank you for help.<br>Alexey<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/5/6 Oberlies, Tobias <span dir="ltr">&lt;<a href="mailto:tobias.oberlies@xxxxxxx" target="_blank">tobias.oberlies@xxxxxxx</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div link="blue" vlink="purple" lang="DE">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">From your code snippet, it seems that you already got the shortest way to make Tycho download artifacts &#x2013; by doing the full target platform &amp; resolve
 cycle. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB"><u></u>&#xA0;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">But this will probably improve in the near future: I need to simplify things for Tycho (<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=393004" target="_blank">https://bugs.eclipse.org/bugs/show_bug.cgi?id=393004</a>
 ), and you may be able to directly use the new MirroringArtifactProvider to simply download the artifacts you want. Note that all this isn&#x2019;t in master yet, but you can see a prototype in Gerrit (see link in the bug). I&#x2019;ll probably also post an updated patch
 in the next couple of days.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB"><u></u>&#xA0;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">Tobias<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB"><u></u>&#xA0;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB"><u></u>&#xA0;<u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"> <a href="mailto:tycho-dev-bounces@xxxxxxxxxxx" target="_blank">tycho-dev-bounces@xxxxxxxxxxx</a> [mailto:<a href="mailto:tycho-dev-bounces@xxxxxxxxxxx" target="_blank">tycho-dev-bounces@xxxxxxxxxxx</a>]
<b>On Behalf Of </b>Alexey Aksenov<br>
<b>Sent:</b> Montag, 6. Mai 2013 15:10<br>
<b>To:</b> Tycho developers list<br>
<b>Subject:</b> Re: [tycho-dev] How to get P2 dependency URL with tycho.<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u>&#xA0;<u></u></p>
<div>
<p class="MsoNormal">Hi Tobias,<br>
<br>
&#xA0;&#xA0;&#xA0; Thank you for interest in my problem. My little application is not OSGi. Tycho team already do some work for integration OSGi with &quot;the real world of classpath hell&quot;. IMHO most effective way is to reuse components, not to create my own. My &quot;resolve&quot; function
 already download artifacts. I just want to reduce it functionality a bit.<br>
Some people write there own class loaders on second day. But I know that this is not fun for them. Sure that they have a lot of other problems.<br>
&#xA0;&#xA0;&#xA0; I must to pass URLs to external resolution mechanism. Please just point me to the right chunk of source code in Tycho infrastructure. I may spent a lot of time to read it all page by page.<br>
<br>
My thankfulness will be unlimited. Within reasonable limits of course ;-)<br>
<br>
Thank you,<br>
Alexey<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u>&#xA0;<u></u></p>
<div>
<p class="MsoNormal">2013/5/6 Oberlies, Tobias &lt;<a href="mailto:tobias.oberlies@xxxxxxx" target="_blank">tobias.oberlies@xxxxxxx</a>&gt;<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Alexey,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&#xA0;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">I don&#x2019;t know if writing your own resolver is really the next step you want to do after
 having done the Hello World example. This is a bit like writing your own class loader on the second day of a Java beginners course&#x2026; ;-)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">&#xA0;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">So if you are only interested in downloading p2 artifacts to the Maven repository? Why
 don&#x2019;t you just trigger a Tycho build to do this for you, and then do whatever you like with the artifacts cached by Tycho?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">&#xA0;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">Tobias</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">&#xA0;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">&#xA0;</span><u></u><u></u></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">
<a href="mailto:tycho-dev-bounces@xxxxxxxxxxx" target="_blank">tycho-dev-bounces@xxxxxxxxxxx</a> [mailto:<a href="mailto:tycho-dev-bounces@xxxxxxxxxxx" target="_blank">tycho-dev-bounces@xxxxxxxxxxx</a>]
<b>On Behalf Of </b>Alexey Aksenov<br>
<b>Sent:</b> Montag, 6. Mai 2013 14:39<br>
<b>To:</b> <a href="mailto:tycho-dev@xxxxxxxxxxx" target="_blank">tycho-dev@xxxxxxxxxxx</a><br>
<b>Subject:</b> [tycho-dev] How to get P2 dependency URL with tycho.</span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">&#xA0;<u></u><u></u></p>
<div>
<p class="MsoNormal">Hi All.<br>
<br>
I read tycho helloworld documentation and write my own resolver. I run maven as embedded library. This way allow to download P2 bundles to .m2 directory :-)<br>
The problem is I don&#39;t want to download dependency. I want to know dependency URL!?? Huh!<br>
I resolve P2 dependency with the following simple function (I like Scala, but this is not significant):<br>
<br>
def resolve2(maven: Maven, log: Logger) {<br>
&#xA0;&#xA0;&#xA0; val equinox = maven.lookup(classOf[EquinoxServiceFactory])<br>
&#xA0;&#xA0;&#xA0; val resolverFactory = equinox.getService(classOf[P2ResolverFactory])<br>
&#xA0;&#xA0;&#xA0; val targetPlatformBuilder = resolverFactory.createTargetPlatformBuilder(<br>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; new ExecutionEnvironmentConfigurationStub(&quot;JavaSE-1.6&quot;))<br>
&#xA0;&#xA0;&#xA0; targetPlatformBuilder.addP2Repository(new MavenRepositoryLocation(&quot;test&quot;, new URL(&quot;<a href="http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/" target="_blank">http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/</a>&quot;).toURI))<br>

&#xA0;&#xA0;&#xA0; val targetPlatform = targetPlatformBuilder.buildTargetPlatform()<br>
&#xA0;&#xA0;&#xA0; val resolver = resolverFactory.createResolver(new MavenLoggerAdapter(maven.plexus.getLogger, true))<br>
&#xA0; &#xA0; val result = resolver.resolveDependencies(targetPlatform, null)<br>
&#xA0;&#xA0;&#xA0; System.err.println(&quot;!!!&quot; + result)<br>
&#xA0; }<br>
<br>
There is a lot of components involved in the process. So, I need a little hint that point me to the right direction. What is class (or package) responsible for a dependency URL resolution/collection?<br>
<br>
Regards,<br>
Alexey<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
tycho-dev mailing list<br>
<a href="mailto:tycho-dev@xxxxxxxxxxx" target="_blank">tycho-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/tycho-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/tycho-dev</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u>&#xA0;<u></u></p>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
tycho-dev mailing list<br>
<a href="mailto:tycho-dev@xxxxxxxxxxx">tycho-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/tycho-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/tycho-dev</a><br>
<br></blockquote></div><br></div>
]]></content:encoded>
		<pubDate>Mon, 06 May 2013 22:13:40 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00910.html</guid>
		<author>alexey.ezh@xxxxxxx (Alexey Aksenov)</author>
	</item>
	<item>
		<title>Re: [tycho-dev] How to get P2 dependency URL with tycho.</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00909.html</link>
		<description> From your code snippet, it seems that you already got the shortest way to make Tycho download artifacts &amp;#8211; by doing the full target platform &amp;amp; resolve cycle.   But this will probably improve in the near future: I need to simplify things for Tycho (https://...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } ">


<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">From your code snippet, it seems that you already got the shortest way to make Tycho download artifacts &#8211; by doing the full target platform &amp; resolve
 cycle. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">But this will probably improve in the near future: I need to simplify things for Tycho (<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=393004">https://bugs.eclipse.org/bugs/show_bug.cgi?id=393004</a>
 ), and you may be able to directly use the new MirroringArtifactProvider to simply download the artifacts you want. Note that all this isn&#8217;t in master yet, but you can see a prototype in Gerrit (see link in the bug). I&#8217;ll probably also post an updated patch
 in the next couple of days.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Tobias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx]
<b>On Behalf Of </b>Alexey Aksenov<br>
<b>Sent:</b> Montag, 6. Mai 2013 15:10<br>
<b>To:</b> Tycho developers list<br>
<b>Subject:</b> Re: [tycho-dev] How to get P2 dependency URL with tycho.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hi Tobias,<br>
<br>
&nbsp;&nbsp;&nbsp; Thank you for interest in my problem. My little application is not OSGi. Tycho team already do some work for integration OSGi with &quot;the real world of classpath hell&quot;. IMHO most effective way is to reuse components, not to create my own. My &quot;resolve&quot; function
 already download artifacts. I just want to reduce it functionality a bit.<br>
Some people write there own class loaders on second day. But I know that this is not fun for them. Sure that they have a lot of other problems.<br>
&nbsp;&nbsp;&nbsp; I must to pass URLs to external resolution mechanism. Please just point me to the right chunk of source code in Tycho infrastructure. I may spent a lot of time to read it all page by page.<br>
<br>
My thankfulness will be unlimited. Within reasonable limits of course ;-)<br>
<br>
Thank you,<br>
Alexey<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">2013/5/6 Oberlies, Tobias &lt;<a href="mailto:tobias.oberlies@xxxxxxx" target="_blank">tobias.oberlies@xxxxxxx</a>&gt;<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Alexey,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I don&#8217;t know if writing your own resolver is really the next step you want to do after
 having done the Hello World example. This is a bit like writing your own class loader on the second day of a Java beginners course&#8230; ;-)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So if you are only interested in downloading p2 artifacts to the Maven repository? Why
 don&#8217;t you just trigger a Tycho build to do this for you, and then do whatever you like with the artifacts cached by Tycho?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Tobias</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:tycho-dev-bounces@xxxxxxxxxxx" target="_blank">tycho-dev-bounces@xxxxxxxxxxx</a> [mailto:<a href="mailto:tycho-dev-bounces@xxxxxxxxxxx" target="_blank">tycho-dev-bounces@xxxxxxxxxxx</a>]
<b>On Behalf Of </b>Alexey Aksenov<br>
<b>Sent:</b> Montag, 6. Mai 2013 14:39<br>
<b>To:</b> <a href="mailto:tycho-dev@xxxxxxxxxxx" target="_blank">tycho-dev@xxxxxxxxxxx</a><br>
<b>Subject:</b> [tycho-dev] How to get P2 dependency URL with tycho.</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi All.<br>
<br>
I read tycho helloworld documentation and write my own resolver. I run maven as embedded library. This way allow to download P2 bundles to .m2 directory :-)<br>
The problem is I don't want to download dependency. I want to know dependency URL!?? Huh!<br>
I resolve P2 dependency with the following simple function (I like Scala, but this is not significant):<br>
<br>
def resolve2(maven: Maven, log: Logger) {<br>
&nbsp;&nbsp;&nbsp; val equinox = maven.lookup(classOf[EquinoxServiceFactory])<br>
&nbsp;&nbsp;&nbsp; val resolverFactory = equinox.getService(classOf[P2ResolverFactory])<br>
&nbsp;&nbsp;&nbsp; val targetPlatformBuilder = resolverFactory.createTargetPlatformBuilder(<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new ExecutionEnvironmentConfigurationStub(&quot;JavaSE-1.6&quot;))<br>
&nbsp;&nbsp;&nbsp; targetPlatformBuilder.addP2Repository(new MavenRepositoryLocation(&quot;test&quot;, new URL(&quot;<a href="http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/" target="_blank">http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/</a>&quot;).toURI))<br>
&nbsp;&nbsp;&nbsp; val targetPlatform = targetPlatformBuilder.buildTargetPlatform()<br>
&nbsp;&nbsp;&nbsp; val resolver = resolverFactory.createResolver(new MavenLoggerAdapter(maven.plexus.getLogger, true))<br>
&nbsp; &nbsp; val result = resolver.resolveDependencies(targetPlatform, null)<br>
&nbsp;&nbsp;&nbsp; System.err.println(&quot;!!!&quot; &#43; result)<br>
&nbsp; }<br>
<br>
There is a lot of components involved in the process. So, I need a little hint that point me to the right direction. What is class (or package) responsible for a dependency URL resolution/collection?<br>
<br>
Regards,<br>
Alexey<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
tycho-dev mailing list<br>
<a href="mailto:tycho-dev@xxxxxxxxxxx">tycho-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/tycho-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/tycho-dev</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>


</td></tr></table>]]></content:encoded>
		<pubDate>Mon, 06 May 2013 13:47:26 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00909.html</guid>
		<author>tobias.oberlies@xxxxxxx (Oberlies, Tobias)</author>
	</item>
	<item>
		<title>Re: [tycho-dev] How to get P2 dependency URL with tycho.</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00908.html</link>
		<description>Hi Tobias,&amp;#xA0;&amp;#xA0;&amp;#xA0; Thank you for interest in my problem. My little application is not OSGi. Tycho team already do some work for integration OSGi with &amp;quot;the real world of classpath hell&amp;quot;. IMHO most effective way is to reuse components, not to create my own. My uo...</description>
		<content:encoded><![CDATA[<div dir="ltr">Hi Tobias,<br><br>&#xA0;&#xA0;&#xA0; Thank you for interest in my problem. My little application is not OSGi. Tycho team already do some work for integration OSGi with &quot;the real world of classpath hell&quot;. IMHO most effective way is to reuse components, not to create my own. My &quot;resolve&quot; function already download artifacts. I just want to reduce it functionality a bit.<br>
Some people write there own class loaders on second day. But I know that this is not fun for them. Sure that they have a lot of other problems.<br>&#xA0;&#xA0;&#xA0; I must to pass URLs to external resolution mechanism. Please just point me to the right chunk of source code in Tycho infrastructure. I may spent a lot of time to read it all page by page.<br>
<br>My thankfulness will be unlimited. Within reasonable limits of course ;-)<br><br>Thank you,<br>Alexey<span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-GB"></span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/6 Oberlies, Tobias <span dir="ltr">&lt;<a href="mailto:tobias.oberlies@xxxxxxx" target="_blank">tobias.oberlies@xxxxxxx</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div link="blue" vlink="purple" lang="DE">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Alexey,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&#xA0;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">I don&#x2019;t know if writing your own resolver is really the next step you want to do after having done the Hello World example. This is a bit like
 writing your own class loader on the second day of a Java beginners course&#x2026; ;-)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB"><u></u>&#xA0;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">So if you are only interested in downloading p2 artifacts to the Maven repository? Why don&#x2019;t you just trigger a Tycho build to do this for you,
 and then do whatever you like with the artifacts cached by Tycho?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB"><u></u>&#xA0;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB">Tobias<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB"><u></u>&#xA0;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-GB"><u></u>&#xA0;<u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"> <a href="mailto:tycho-dev-bounces@xxxxxxxxxxx" target="_blank">tycho-dev-bounces@xxxxxxxxxxx</a> [mailto:<a href="mailto:tycho-dev-bounces@xxxxxxxxxxx" target="_blank">tycho-dev-bounces@xxxxxxxxxxx</a>]
<b>On Behalf Of </b>Alexey Aksenov<br>
<b>Sent:</b> Montag, 6. Mai 2013 14:39<br>
<b>To:</b> <a href="mailto:tycho-dev@xxxxxxxxxxx" target="_blank">tycho-dev@xxxxxxxxxxx</a><br>
<b>Subject:</b> [tycho-dev] How to get P2 dependency URL with tycho.<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u>&#xA0;<u></u></p>
<div>
<p class="MsoNormal">Hi All.<br>
<br>
I read tycho helloworld documentation and write my own resolver. I run maven as embedded library. This way allow to download P2 bundles to .m2 directory :-)<br>
The problem is I don&#39;t want to download dependency. I want to know dependency URL!?? Huh!<br>
I resolve P2 dependency with the following simple function (I like Scala, but this is not significant):<br>
<br>
def resolve2(maven: Maven, log: Logger) {<br>
&#xA0;&#xA0;&#xA0; val equinox = maven.lookup(classOf[EquinoxServiceFactory])<br>
&#xA0;&#xA0;&#xA0; val resolverFactory = equinox.getService(classOf[P2ResolverFactory])<br>
&#xA0;&#xA0;&#xA0; val targetPlatformBuilder = resolverFactory.createTargetPlatformBuilder(<br>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; new ExecutionEnvironmentConfigurationStub(&quot;JavaSE-1.6&quot;))<br>
&#xA0;&#xA0;&#xA0; targetPlatformBuilder.addP2Repository(new MavenRepositoryLocation(&quot;test&quot;, new URL(&quot;<a href="http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/" target="_blank">http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/</a>&quot;).toURI))<br>

&#xA0;&#xA0;&#xA0; val targetPlatform = targetPlatformBuilder.buildTargetPlatform()<br>
&#xA0;&#xA0;&#xA0; val resolver = resolverFactory.createResolver(new MavenLoggerAdapter(maven.plexus.getLogger, true))<br>
&#xA0; &#xA0; val result = resolver.resolveDependencies(targetPlatform, null)<br>
&#xA0;&#xA0;&#xA0; System.err.println(&quot;!!!&quot; + result)<br>
&#xA0; }<br>
<br>
There is a lot of components involved in the process. So, I need a little hint that point me to the right direction. What is class (or package) responsible for a dependency URL resolution/collection?<br>
<br>
Regards,<br>
Alexey<u></u><u></u></p>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
tycho-dev mailing list<br>
<a href="mailto:tycho-dev@xxxxxxxxxxx">tycho-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/tycho-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/tycho-dev</a><br>
<br></blockquote></div><br></div>
]]></content:encoded>
		<pubDate>Mon, 06 May 2013 13:10:25 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00908.html</guid>
		<author>alexey.ezh@xxxxxxx (Alexey Aksenov)</author>
	</item>
	<item>
		<title>Re: [tycho-dev] How to get P2 dependency URL with tycho.</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00907.html</link>
		<description> Hi Alexey,   I don&amp;#8217;t know if writing your own resolver is really the next step you want to do after having done the Hello World example. This is a bit like writing your own class loader on the second day of a Java beginners course&amp;#8230; ;-) bsp; So if you are ...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } ">


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Alexey,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I don&#8217;t know if writing your own resolver is really the next step you want to do after having done the Hello World example. This is a bit like
 writing your own class loader on the second day of a Java beginners course&#8230; ;-)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So if you are only interested in downloading p2 artifacts to the Maven repository? Why don&#8217;t you just trigger a Tycho build to do this for you,
 and then do whatever you like with the artifacts cached by Tycho?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Tobias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx]
<b>On Behalf Of </b>Alexey Aksenov<br>
<b>Sent:</b> Montag, 6. Mai 2013 14:39<br>
<b>To:</b> tycho-dev@xxxxxxxxxxx<br>
<b>Subject:</b> [tycho-dev] How to get P2 dependency URL with tycho.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hi All.<br>
<br>
I read tycho helloworld documentation and write my own resolver. I run maven as embedded library. This way allow to download P2 bundles to .m2 directory :-)<br>
The problem is I don't want to download dependency. I want to know dependency URL!?? Huh!<br>
I resolve P2 dependency with the following simple function (I like Scala, but this is not significant):<br>
<br>
def resolve2(maven: Maven, log: Logger) {<br>
&nbsp;&nbsp;&nbsp; val equinox = maven.lookup(classOf[EquinoxServiceFactory])<br>
&nbsp;&nbsp;&nbsp; val resolverFactory = equinox.getService(classOf[P2ResolverFactory])<br>
&nbsp;&nbsp;&nbsp; val targetPlatformBuilder = resolverFactory.createTargetPlatformBuilder(<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new ExecutionEnvironmentConfigurationStub(&quot;JavaSE-1.6&quot;))<br>
&nbsp;&nbsp;&nbsp; targetPlatformBuilder.addP2Repository(new MavenRepositoryLocation(&quot;test&quot;, new URL(&quot;<a href="http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/">http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/</a>&quot;).toURI))<br>
&nbsp;&nbsp;&nbsp; val targetPlatform = targetPlatformBuilder.buildTargetPlatform()<br>
&nbsp;&nbsp;&nbsp; val resolver = resolverFactory.createResolver(new MavenLoggerAdapter(maven.plexus.getLogger, true))<br>
&nbsp; &nbsp; val result = resolver.resolveDependencies(targetPlatform, null)<br>
&nbsp;&nbsp;&nbsp; System.err.println(&quot;!!!&quot; &#43; result)<br>
&nbsp; }<br>
<br>
There is a lot of components involved in the process. So, I need a little hint that point me to the right direction. What is class (or package) responsible for a dependency URL resolution/collection?<br>
<br>
Regards,<br>
Alexey<o:p></o:p></p>
</div>
</div>
</div>


</td></tr></table>]]></content:encoded>
		<pubDate>Mon, 06 May 2013 12:51:03 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00907.html</guid>
		<author>tobias.oberlies@xxxxxxx (Oberlies, Tobias)</author>
	</item>
	<item>
		<title>[tycho-dev] How to get P2 dependency URL with tycho.</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00906.html</link>
		<description>Hi All.I read tycho helloworld documentation and write my own resolver. I run maven as embedded library. This way allow to download P2 bundles to .m2 directory :-)The problem is I don&amp;#39;t want to download dependency. I want to know dependency URL!?? Huh! I r...</description>
		<content:encoded><![CDATA[<div dir="ltr">Hi All.<br><br>I read tycho helloworld documentation and write my own resolver. I run maven as embedded library. This way allow to download P2 bundles to .m2 directory :-)<br>The problem is I don&#39;t want to download dependency. I want to know dependency URL!?? Huh!<br>
I resolve P2 dependency with the following simple function (I like Scala, but this is not significant):<br><br>def resolve2(maven: Maven, log: Logger) {<br>&#xA0;&#xA0;&#xA0; val equinox = maven.lookup(classOf[EquinoxServiceFactory])<br>
&#xA0;&#xA0;&#xA0; val resolverFactory = equinox.getService(classOf[P2ResolverFactory])<br>&#xA0;&#xA0;&#xA0; val targetPlatformBuilder = resolverFactory.createTargetPlatformBuilder(<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; new ExecutionEnvironmentConfigurationStub(&quot;JavaSE-1.6&quot;))<br>
&#xA0;&#xA0;&#xA0; targetPlatformBuilder.addP2Repository(new MavenRepositoryLocation(&quot;test&quot;, new URL(&quot;<a href="http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/">http://eclipse.ialto.com/eclipse/updates/4.2/R-4.2.1-201209141800/</a>&quot;).toURI))<br>
&#xA0;&#xA0;&#xA0; val targetPlatform = targetPlatformBuilder.buildTargetPlatform()<br>&#xA0;&#xA0;&#xA0; val resolver = resolverFactory.createResolver(new MavenLoggerAdapter(maven.plexus.getLogger, true))<br>&#xA0; &#xA0; val result = resolver.resolveDependencies(targetPlatform, null)<br>
&#xA0;&#xA0;&#xA0; System.err.println(&quot;!!!&quot; + result)<br>&#xA0; }<br><br>There is a lot of components involved in the process. So, I need a little hint that point me to the right direction. What is class (or package) responsible for a dependency URL resolution/collection?<br>
<br>Regards,<br>Alexey<br></div>
]]></content:encoded>
		<pubDate>Mon, 06 May 2013 12:38:57 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00906.html</guid>
		<author>alexey.ezh@xxxxxxx (Alexey Aksenov)</author>
	</item>


	<item>
		<title>Re: [tycho-dev] 0.18.0 release date?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00905.html</link>
		<description> _______________________________________________ tycho-dev mailing list tycho-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-dev </description>
		<content:encoded><![CDATA[<pre>there are other patches for the platform build of the kepler release pending in the meantime [1].
we do need a tycho release in time for the final kepler build for build reproducibility reasons.

things are still moving now and I don't want to do a release only to find out there's another last minute stopper for the eclipse platform build.
Currently I'm thinking it's best for the platform build to move to 0.18.0-SNAPSHOT and we'll do a tycho release from 0.18.0-SNAPSHOT as late as possible before the final kepler build.

What do you think?

Jan

[1] <a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=406465">https://bugs.eclipse.org/bugs/show_bug.cgi?id=406465</a> 


-----Original Message-----
From: tycho-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tycho-dev-bounces@xxxxxxxxxxx">mailto:tycho-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Pascal Rapicault
Sent: Mittwoch, 1. Mai 2013 02:18
To: tycho-dev@xxxxxxxxxxx
Subject: Re: [tycho-dev] 0.18.0 release date?

I don't need a specific tycho fix, but rather I would need to have a new
version of p2 to be consumed.
More specifically I've committed a change to the publisher [1] that allows
to identify product IUs. This simple change is key to make sure that p2
remediation mechanism does not remove the current product when something
incompatible is installed (for an example of this situation see
(<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=406947">https://bugs.eclipse.org/bugs/show_bug.cgi?id=406947</a>)). We currently have
a workaround in the platform build
(<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=406960">https://bugs.eclipse.org/bugs/show_bug.cgi?id=406960</a>) but generally
speaking I think the issue is important enough that we want to make sure
that we make the fix availble to the mass through tycho by the time Kepler
is released.

In addition to that, there is also the problem where Mac builds don't have
an icon and there are people working on a fix in bug
<a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=406942">https://bugs.eclipse.org/bugs/show_bug.cgi?id=406942</a>.

I realize that I've asked for a 0.18 build, but I'm completely happy with
a 0.17.1 that just includes a new version of p2.

[1]
<a  href="http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=11c1ab663154efe0e0be72945607a9fe45ffc679">http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=11c1ab663154efe0e0be72945607a9fe45ffc679</a>

Pascal

On Tue, April 30, 2013 10:55, Oberlies, Tobias wrote:
&gt; Usually, we do a release every four months [1], so this wouldn't be in
&gt; time for Kepler. But we could do an extra release for Kepler.
&gt;
&gt; What is the impact for you? Is there anything particular of the new things
&gt; in 0.18.0 [2] are you interested in?
&gt;
&gt; Regards
&gt; Tobias
&gt;
&gt; [1] <a  href="http://wiki.eclipse.org/Tycho/Release_Notes">http://wiki.eclipse.org/Tycho/Release_Notes</a>
&gt; [2]
&gt; <a  href="https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&amp;product=Tycho&amp;query_format=advanced&amp;resolution=FIXED&amp;target_milestone=0.18.0&amp;order=bug_id&amp;list_id=5315632">https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&amp;product=Tycho&amp;query_format=advanced&amp;resolution=FIXED&amp;target_milestone=0.18.0&amp;order=bug_id&amp;list_id=5315632</a>
&gt;
&gt;
&gt;&gt; -----Original Message-----
&gt;&gt; From: tycho-dev-bounces@xxxxxxxxxxx
&gt;&gt; [<a  href="mailto:tycho-dev-bounces@xxxxxxxxxxx">mailto:tycho-dev-bounces@xxxxxxxxxxx</a>]
&gt;&gt; On Behalf Of Pascal Rapicault
&gt;&gt; Sent: Dienstag, 30. April 2013 15:50
&gt;&gt; To: tycho-dev@xxxxxxxxxxx
&gt;&gt; Cc: platform-releng-dev@xxxxxxxxxxx
&gt;&gt; Subject: [tycho-dev] 0.18.0 release date?
&gt;&gt;
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; I would like to know if 0.18.0 will be released in time to build Kepler
&gt;&gt; with it?
&gt;&gt;
&gt;&gt; Thx
&gt;&gt;
&gt;&gt; Pascal
&gt;&gt;
&gt;&gt; _______________________________________________
&gt;&gt; tycho-dev mailing list
&gt;&gt; tycho-dev@xxxxxxxxxxx
&gt;&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/tycho-dev">https://dev.eclipse.org/mailman/listinfo/tycho-dev</a>
&gt;


_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/tycho-dev">https://dev.eclipse.org/mailman/listinfo/tycho-dev</a>

</pre>]]></content:encoded>
		<pubDate>Fri, 03 May 2013 07:15:14 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tycho-dev/msg00905.html</guid>
		<author>jan.sievers@xxxxxxx (Sievers, Jan)</author>
	</item>

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