<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Building with Tycho &#8211; part 2 (RCP applications)</title>
	<atom:link href="http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/</link>
	<description></description>
	<lastBuildDate>Mon, 23 Apr 2012 18:33:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Mattias Holmqvist</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-333</link>
		<dc:creator>Mattias Holmqvist</dc:creator>
		<pubDate>Tue, 05 Jul 2011 05:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-333</guid>
		<description>Hi Henrik,
I&#039;m afraid I don&#039;t remember exactly how I did this so I guess looking at the p2 stuff from eclipse.org and using Google is the best hint I can give you at this moment. Sorry.

Good luck!</description>
		<content:encoded><![CDATA[<p>Hi Henrik,<br />
I&#8217;m afraid I don&#8217;t remember exactly how I did this so I guess looking at the p2 stuff from eclipse.org and using Google is the best hint I can give you at this moment. Sorry.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-318</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Wed, 22 Jun 2011 11:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-318</guid>
		<description>Mattias,

one more question. Did you create the p2 repo manually or did you generate it? If the latter, which tools did you use?</description>
		<content:encoded><![CDATA[<p>Mattias,</p>
<p>one more question. Did you create the p2 repo manually or did you generate it? If the latter, which tools did you use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-315</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Mon, 20 Jun 2011 14:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-315</guid>
		<description>Hi Mattias,

actually this was one of my ideas to solve this problem. Configuring and testing all of my ideas would have taken some time. So, thank you for pushing me in the right direction.

Regards,
Henrik</description>
		<content:encoded><![CDATA[<p>Hi Mattias,</p>
<p>actually this was one of my ideas to solve this problem. Configuring and testing all of my ideas would have taken some time. So, thank you for pushing me in the right direction.</p>
<p>Regards,<br />
Henrik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mattias Holmqvist</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-313</link>
		<dc:creator>Mattias Holmqvist</dc:creator>
		<pubDate>Sun, 19 Jun 2011 20:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-313</guid>
		<description>Hi Henrik,

Thanks for the good feedback!

What I ended up doing with third-party bundles was to set-up a P2 repository that could be read from the .target definition file. The target files could never handle local file system paths but it worked by setting up the P2 repository on the local machine and point to it using a .target file. Hope this points you in the right direction. I&#039;m currently not working with Tycho so this is only what I remember from my head. :) 

You can always try and post a question on the mailing list!

Good luck! Regards, Mattias</description>
		<content:encoded><![CDATA[<p>Hi Henrik,</p>
<p>Thanks for the good feedback!</p>
<p>What I ended up doing with third-party bundles was to set-up a P2 repository that could be read from the .target definition file. The target files could never handle local file system paths but it worked by setting up the P2 repository on the local machine and point to it using a .target file. Hope this points you in the right direction. I&#8217;m currently not working with Tycho so this is only what I remember from my head. <img src='http://mattiasholmqvist.se/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>You can always try and post a question on the mailing list!</p>
<p>Good luck! Regards, Mattias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-307</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Wed, 15 Jun 2011 12:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-307</guid>
		<description>Hi Mattias,

I have read your tutorials, which are great. But I&#039;m missing the point how to handle third party libraries. I have also seen your post to the tycho mailing list, where you describe, that you want to combine a target platform with a local directory of osgi bundles [1]. I think, that&#039;s a good approach. We are currently generating osgi bundles of our third party (maven) dependencies with the Felix bundle plugin. So this approach would be a perfect solution for us.

Our goal is to have a configuration, which let&#039;s us start our RCP app within eclipse and also build it with tycho. We could then have continuous integration and the developers would still have short turn around times.

I would appreciate, if you could give me some hints, how to integrate third party libraries in such a scenario. What do you think is the best practice?

Best regards,
Henrik

[1] http://software.2206966.n2.nabble.com/Combining-implicit-target-platform-and-explicit-target-platform-locations-td4553749.html</description>
		<content:encoded><![CDATA[<p>Hi Mattias,</p>
<p>I have read your tutorials, which are great. But I&#8217;m missing the point how to handle third party libraries. I have also seen your post to the tycho mailing list, where you describe, that you want to combine a target platform with a local directory of osgi bundles [1]. I think, that&#8217;s a good approach. We are currently generating osgi bundles of our third party (maven) dependencies with the Felix bundle plugin. So this approach would be a perfect solution for us.</p>
<p>Our goal is to have a configuration, which let&#8217;s us start our RCP app within eclipse and also build it with tycho. We could then have continuous integration and the developers would still have short turn around times.</p>
<p>I would appreciate, if you could give me some hints, how to integrate third party libraries in such a scenario. What do you think is the best practice?</p>
<p>Best regards,<br />
Henrik</p>
<p>[1] <a href="http://software.2206966.n2.nabble.com/Combining-implicit-target-platform-and-explicit-target-platform-locations-td4553749.html" rel="nofollow">http://software.2206966.n2.nabble.com/Combining-implicit-target-platform-and-explicit-target-platform-locations-td4553749.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mattias Holmqvist</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-282</link>
		<dc:creator>Mattias Holmqvist</dc:creator>
		<pubDate>Fri, 03 Jun 2011 16:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-282</guid>
		<description>Hi!
Glad you found the problem. I no longer work actively with Tycho so I&#039;m not up-to-date with the current versions. I however think they are moving away from local target platforms to always use p2 repositories. Check out: http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00081.html

Regards, Mattias</description>
		<content:encoded><![CDATA[<p>Hi!<br />
Glad you found the problem. I no longer work actively with Tycho so I&#8217;m not up-to-date with the current versions. I however think they are moving away from local target platforms to always use p2 repositories. Check out: <a href="http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00081.html" rel="nofollow">http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00081.html</a></p>
<p>Regards, Mattias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sylvain</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-281</link>
		<dc:creator>Sylvain</dc:creator>
		<pubDate>Fri, 03 Jun 2011 15:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-281</guid>
		<description>I was able to find the problem, 

-Dtycho.targetPlatform=C:/eclipse/delta/

was pointing to the delta package only, so it cuoldnt find the non delta constraint.

when I pointed to c:\eclipse I started getting missing constraint error related to the delta files.

So I merged both eclipse feautes/plugins and delta features/plugings together. 

Now I am able to compile.

The remaining question I have is about the following WARNING

[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.


What when I dont specify the targetPlatform I cannot successfully compile it.</description>
		<content:encoded><![CDATA[<p>I was able to find the problem, </p>
<p>-Dtycho.targetPlatform=C:/eclipse/delta/</p>
<p>was pointing to the delta package only, so it cuoldnt find the non delta constraint.</p>
<p>when I pointed to c:\eclipse I started getting missing constraint error related to the delta files.</p>
<p>So I merged both eclipse feautes/plugins and delta features/plugings together. </p>
<p>Now I am able to compile.</p>
<p>The remaining question I have is about the following WARNING</p>
<p>[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.</p>
<p>What when I dont specify the targetPlatform I cannot successfully compile it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sylvain</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-277</link>
		<dc:creator>Sylvain</dc:creator>
		<pubDate>Fri, 03 Jun 2011 04:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-277</guid>
		<description>I am getting the same error has Stevo, 

running Eclipse 3.6.1 with Maven 3.03 and Tycho (0.11.1 and 0.12.0)

Here&#039;s the error

C:\workspaces\tests&gt;mvn package -Dtycho.targetPlatform=C:/eclipse/delta/
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[INFO] Resolving target platform for project MavenProject: ce:ce.rcpexample.feature:1.0.0-SNAPSHOT @ C:\workspaces\tests\ce.rcpexa
mple.feature\pom.xml
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.
[INFO] Resolving target platform for project MavenProject: ce:ce.rcpexample.plugin:1.0.0-SNAPSHOT @ C:\workspaces\tests\ce.rcpexam
ple.plugin\pom.xml
[ERROR] Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle ce.rcpexample.plugin cannot be reso
lved
[ERROR] Resolution errors:
[ERROR] Bundle ce.rcpexample.plugin - Missing Constraint: Require-Bundle: org.eclipse.ui; bundle-version=&quot;0.0.0&quot;
[ERROR] Bundle ce.rcpexample.plugin - Missing Constraint: Require-Bundle: org.eclipse.core.runtime; bundle-version=&quot;0.0.0&quot;
[ERROR] -&gt; [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle ce
.rcpexample.plugin cannot be resolved
Resolution errors:
   Bundle ce.rcpexample.plugin - Missing Constraint: Require-Bundle: org.eclipse.ui; bundle-version=&quot;0.0.0&quot;
   Bundle ce.rcpexample.plugin - Missing Constraint: Require-Bundle: org.eclipse.core.runtime; bundle-version=&quot;0.0.0&quot;</description>
		<content:encoded><![CDATA[<p>I am getting the same error has Stevo, </p>
<p>running Eclipse 3.6.1 with Maven 3.03 and Tycho (0.11.1 and 0.12.0)</p>
<p>Here&#8217;s the error</p>
<p>C:\workspaces\tests&gt;mvn package -Dtycho.targetPlatform=C:/eclipse/delta/<br />
[INFO] Scanning for projects&#8230;<br />
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.<br />
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.<br />
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.<br />
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.<br />
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.<br />
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.<br />
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.<br />
[INFO] Resolving target platform for project MavenProject: ce:ce.rcpexample.feature:1.0.0-SNAPSHOT @ C:\workspaces\tests\ce.rcpexa<br />
mple.feature\pom.xml<br />
[WARNING] -Dtycho.targetPlatform is deprecated and WILL be removed in the next Tycho version.<br />
[INFO] Resolving target platform for project MavenProject: ce:ce.rcpexample.plugin:1.0.0-SNAPSHOT @ C:\workspaces\tests\ce.rcpexam<br />
ple.plugin\pom.xml<br />
[ERROR] Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle ce.rcpexample.plugin cannot be reso<br />
lved<br />
[ERROR] Resolution errors:<br />
[ERROR] Bundle ce.rcpexample.plugin &#8211; Missing Constraint: Require-Bundle: org.eclipse.ui; bundle-version=&#8221;0.0.0&#8243;<br />
[ERROR] Bundle ce.rcpexample.plugin &#8211; Missing Constraint: Require-Bundle: org.eclipse.core.runtime; bundle-version=&#8221;0.0.0&#8243;<br />
[ERROR] -&gt; [Help 1]<br />
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle ce<br />
.rcpexample.plugin cannot be resolved<br />
Resolution errors:<br />
   Bundle ce.rcpexample.plugin &#8211; Missing Constraint: Require-Bundle: org.eclipse.ui; bundle-version=&#8221;0.0.0&#8243;<br />
   Bundle ce.rcpexample.plugin &#8211; Missing Constraint: Require-Bundle: org.eclipse.core.runtime; bundle-version=&#8221;0.0.0&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mattias Holmqvist</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-239</link>
		<dc:creator>Mattias Holmqvist</dc:creator>
		<pubDate>Thu, 05 May 2011 08:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-239</guid>
		<description>Hi, sure you can use annotations. Tycho is only a tool to make OSGi work seamlessly with Maven and has nothing to do with actual compilation of the Java code. Annotations support is depending on the version of Java you&#039;re compiling for. It is supported from 1.5 and up.

Regards, Mattias</description>
		<content:encoded><![CDATA[<p>Hi, sure you can use annotations. Tycho is only a tool to make OSGi work seamlessly with Maven and has nothing to do with actual compilation of the Java code. Annotations support is depending on the version of Java you&#8217;re compiling for. It is supported from 1.5 and up.</p>
<p>Regards, Mattias</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajinkya</title>
		<link>http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/comment-page-1/#comment-238</link>
		<dc:creator>Ajinkya</dc:creator>
		<pubDate>Thu, 05 May 2011 07:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://mattiasholmqvist.se/?p=211#comment-238</guid>
		<description>Hi I am learning the use of Tycho. I would like to know can I use annotations with Tycho and is yes How ?</description>
		<content:encoded><![CDATA[<p>Hi I am learning the use of Tycho. I would like to know can I use annotations with Tycho and is yes How ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

