<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 1: PDE build is broken.</title><link>https://sourceforge.net/p/codecover/bugs/1/</link><description>Recent changes to 1: PDE build is broken.</description><atom:link href="https://sourceforge.net/p/codecover/bugs/1/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 12 Dec 2007 18:11:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/codecover/bugs/1/feed.rss" rel="self" type="application/rss+xml"/><item><title>PDE build is broken.</title><link>https://sourceforge.net/p/codecover/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The problem is the build class path settings in the PDE-generated build.xml&lt;br /&gt;
file for the build. It reads - for a component that depends on the model - like&lt;br /&gt;
this:&lt;/p&gt;
&lt;p&gt;&amp;lt;!-- depending on model --&amp;gt;&lt;br /&gt;
&amp;lt;classpathentry name="../model/bin" /&amp;gt;&lt;br /&gt;
&amp;lt;classpathentry name="${build.result.folder}../org.codecover.model_0.7.0.0/bin"&lt;br /&gt;
/&amp;gt;&lt;/p&gt;
&lt;p&gt;Now, if the model project is not built, ../model/bin holds nothing. javac then&lt;br /&gt;
falls back to the second entry which is broken since there is nothing in&lt;br /&gt;
${build.result.folder}../org.codecover.model_0.7.0.0/bin but in&lt;br /&gt;
${build.result.folder}../org.codecover.model_0.7.0.0/@dot/bin. Don't ask why,&lt;br /&gt;
it's basically all hardcoded in the PDE :-(&lt;/p&gt;
&lt;p&gt;Probably we could work around this by settings some tricky build.properties but&lt;br /&gt;
since the update site builds well if there was a previous Eclipse/JDT build (so&lt;br /&gt;
../$dep/bin has the needed classes), this needs not be resolved as urgently.&lt;/p&gt;
&lt;p&gt;This can cause bugs which are hard to track down since obviously different&lt;br /&gt;
compiler settings can be used for the parts compiled directly with Eclipse and&lt;br /&gt;
the parts compiled indirectly by PDE through the ant build files. Doing double&lt;br /&gt;
build is also annoying, especially if you create new builds frequently.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tilmann Scheller</dc:creator><pubDate>Wed, 12 Dec 2007 18:11:03 -0000</pubDate><guid>https://sourceforge.net2af1d84df7acc814df61347382ee77a603da476a</guid></item></channel></rss>