<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>martinklinke.com &#187; tools</title>
	<atom:link href="http://www.martinklinke.com/tag/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.martinklinke.com</link>
	<description>IT&#039;s my business</description>
	<lastBuildDate>Tue, 29 Jun 2010 19:33:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>MDSD Survey 2010</title>
		<link>http://www.martinklinke.com/2010/06/10/mdsd-survey-2010/</link>
		<comments>http://www.martinklinke.com/2010/06/10/mdsd-survey-2010/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 12:25:27 +0000</pubDate>
		<dc:creator>mklinke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mdsd]]></category>
		<category><![CDATA[modeling]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[uml]]></category>

		<guid isPermaLink="false">http://www.martinklinke.com/?p=94</guid>
		<description><![CDATA[The Generative Software GmbH and the FZI have done a survey about the usage of Model-Driven Software Development approaches with around 300 participants. Almost 90% of the respondents have prior experience with the topic, so the report might give interesting general insights. Please see the MDSD report 2010 (sorry, only in German) for details on the [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.generative-software.de/">Generative Software GmbH</a> and the <a href="http://www.fzi.de/">FZI</a> have done a survey about the usage of Model-Driven Software Development approaches with around 300 participants. Almost 90% of the respondents have prior experience with the topic, so the report might give interesting general insights.</p>
<p>Please see the <a title="MDSD Report 2010" href="http://www.mdsd-umfrage.de/mdsd-report-2010.pdf">MDSD report 2010</a> (sorry, only in German) for details on the results.</p>
<p>Do you make use of MDSD techniques?</p>
<div style="text-align:center;width:100%;"><div style="margin:0 0 0 0;"><script type="text/javascript"><!--
google_ad_client = "pub-8213395052465060";
/* 300x250, Erstellt 03.06.10 */
google_ad_slot = "6327321139";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.martinklinke.com/2010/06/10/mdsd-survey-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speedometer with JFreeChart in Eclipse</title>
		<link>http://www.martinklinke.com/2009/02/18/speedometer-with-jfreechart-in-eclipse/</link>
		<comments>http://www.martinklinke.com/2009/02/18/speedometer-with-jfreechart-in-eclipse/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 22:25:18 +0000</pubDate>
		<dc:creator>mklinke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.martinklinke.com/?p=51</guid>
		<description><![CDATA[There is a great tutorial on vogella.de describing how to add a pie chart with JFreeChart to an Eclipse RCP application or plug-in. The ChartFactory that is used to create the pie chart does not include a method to create a speedometer (or dial) as shown in the sample section of JFreeChart. The following code [...]]]></description>
			<content:encoded><![CDATA[<p>There is a great tutorial on <a href="http://www.vogella.de">vogella.de</a> describing how to <a title="JFreeChart in Eclipse RCP" href="http://www.vogella.de/articles/EclipseJFreeChart/article.html">add a pie chart with JFreeChart to an Eclipse RCP application or plug-in</a>. The ChartFactory that is used to create the pie chart does not include a method to create a speedometer (or dial) as shown in the <a title="JFreeChart Samples" href="http://www.jfree.org/jfreechart/samples.html">sample section of JFreeChart</a>. The following code fragment creates a view that displays a very basic speedometer using the <strong>org.jfree.chart.plot.MeterPlot</strong> class:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">com.martinklinke.eclipse.jfreechart.demo.views</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.SWT</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.widgets.Composite</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.ui.part.ViewPart</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.jfree.chart.JFreeChart</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.jfree.chart.plot.MeterPlot</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.jfree.data.general.DefaultValueDataset</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.jfree.experimental.chart.swt.ChartComposite</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #008000; font-style: italic; font-weight: bold;">/**
* @author martin
*
*/</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> MeterChartView <span style="color: #000000; font-weight: bold;">extends</span> ViewPart <span style="color: #009900;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #003399;">String</span> ID <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;com.martinklinke.eclipse.jfreechart.demo.views.MeterChartView&quot;</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> createPartControl<span style="color: #009900;">&#40;</span><span style="color: #003399;">Composite</span> parent<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      JFreeChart chart <span style="color: #339933;">=</span> createChart<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000000; font-weight: bold;">final</span> ChartComposite frame <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ChartComposite<span style="color: #009900;">&#40;</span>parent, SWT.<span style="color: #006633;">NONE</span>, chart, <span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> setFocus<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
   <span style="color: #008000; font-style: italic; font-weight: bold;">/**
    * Creates the Chart based on a dataset
    */</span>
   <span style="color: #000000; font-weight: bold;">private</span> JFreeChart createChart<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      DefaultValueDataset data <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DefaultValueDataset<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">20.0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      MeterPlot plot <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MeterPlot<span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      JFreeChart chart <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> JFreeChart<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Meter Chart&quot;</span>,
      JFreeChart.<span style="color: #006633;">DEFAULT_TITLE_FONT</span>, plot, <span style="color: #000066; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      plot.<span style="color: #006633;">setNoDataMessage</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;No data available&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000000; font-weight: bold;">return</span> chart<span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The result should look like the following screenshot:</p>
<div id="attachment_59" class="wp-caption alignnone" style="width: 579px"><a href="http://www.martinklinke.com/wp-content/uploads/2009/02/speedometer.jpg"><img class="size-full wp-image-59" title="speedometer" src="http://www.martinklinke.com/wp-content/uploads/2009/02/speedometer.jpg" alt="JFreeChart Speedometer in Eclipse View" width="569" height="329" /></a><p class="wp-caption-text">JFreeChart Speedometer in Eclipse View</p></div>
<p>Of course, the MeterPlot can be further customized by calling the plot.setXXX(&#8230;) methods. However, this exercise is left to the willing reader ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.martinklinke.com/2009/02/18/speedometer-with-jfreechart-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse JBoss server runtime library lost</title>
		<link>http://www.martinklinke.com/2008/07/11/eclipse-jboss-server-runtime-library-lost/</link>
		<comments>http://www.martinklinke.com/2008/07/11/eclipse-jboss-server-runtime-library-lost/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 14:50:29 +0000</pubDate>
		<dc:creator>mklinke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.martinklinke.com/?p=41</guid>
		<description><![CDATA[Today, I had a strange problem with Eclipse. I have an EJB project with JBoss v4.2 selected in targeted runtimes (project properties) and as such the JBoss v4.2 server runtime classpath variable. I have really no idea what happened, but the effect was that the JBoss classpath entry didn&#8217;t show up any longer. My first [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I had a strange problem with Eclipse. I have an EJB project with JBoss v4.2 selected in targeted runtimes (project properties) and as such the JBoss v4.2 server runtime classpath variable. I have really no idea what happened, but the effect was that the JBoss classpath entry didn&#8217;t show up any longer. My first thought was that maybe the .classpath file got mixed up, but it still contained the required entry. The project properties also contained all the correct information. Just the package explorer didn&#8217;t show the entry and it definitely wasn&#8217;t there as the build for the project failed because the required classes could not be found.</p>
<p>The &lt;workspace&gt;/.metadata/.log file contained the following error message many times:</p>
<blockquote><p>!ENTRY org.eclipse.jst.server.core 4 0 2008-07-11 16:24:46.251<br />
!MESSAGE Error calling delegate RuntimeClasspathProviderWrapper[org.eclipse.jst.server.generic.runtimeTarget]: null</p></blockquote>
<p>So this must have been a bug in resolving the server classpath. I couldn&#8217;t find an equivalent problem description, and after playing around with the project settings, adding and removing the library manually, which didn&#8217;t help any further, I tried updating the Java Standard Tools. There was indeed a patch available. My previous version of JST was <strong>org.eclipse.jst_2.0.2.v200802150100-7B-7_8dDTOvmuz0di_U5vgUfz0em</strong> and I installed the patch <strong>org.eclipse.jst.web_core.feature.patch_2.0.2.v200803241913-208i8s733I395D6BA7</strong>. My Eclipse SDK version used is <strong>3.3.2</strong>, Build id <strong>M20080221-1800</strong>.</p>
<p>After the installation of the patch and a restart of Eclipse, the JBoss v4.2 entry showed up again and the error message didn&#8217;t occur any longer in the log file. As I said, I don&#8217;t really know what had happened, but the patch might have resolved the issue for me, so maybe this helps someone out there, who runs into the same problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.martinklinke.com/2008/07/11/eclipse-jboss-server-runtime-library-lost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tools for Eclipse build automation</title>
		<link>http://www.martinklinke.com/2008/07/10/tools-for-eclipse-build-automation/</link>
		<comments>http://www.martinklinke.com/2008/07/10/tools-for-eclipse-build-automation/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 21:55:13 +0000</pubDate>
		<dc:creator>mklinke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.martinklinke.com/?p=40</guid>
		<description><![CDATA[Eclipse is a great IDE for developing any kind of Java code, e.g. Rich Client (RCP), Web or standalone applications. However, when a project is built using any IDE (yes, there are others &#8211; e.g. Netbeans or IntelliJ IDEA), there may be some dependencies towards the chosen tool when it comes to compiling and packaging [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Eclipse.org" href="http://www.eclipse.org">Eclipse</a> is a great IDE for developing any kind of Java code, e.g. Rich Client (<a title="Eclipse Rich Client Platform" href="http://wiki.eclipse.org/index.php/Rich_Client_Platform">RCP</a>), Web or standalone applications. However, when a project is built using any IDE (yes, there are others &#8211; e.g. <a title="Netbeans" href="http://www.netbeans.org/">Netbeans</a> or <a title="IntelliJ IDEA" href="http://www.jetbrains.com/idea/">IntelliJ IDEA</a>), there may be some dependencies towards the chosen tool when it comes to compiling and packaging the code. This doesn&#8217;t matter too much as long as there is no requirement to <a title="Build and Test Automation for plug-ins and features - Eclipse Article" href="http://www.eclipse.org/articles/Article-PDE-Automation/automation.html">automate the build process</a>. This will happen, as soon as you decide to set up <a title="Continuous Integration - martinfowler.com" href="http://martinfowler.com/articles/continuousIntegration.html">Continuous Integration</a> for your project.</p>
<p><span id="more-40"></span></p>
<p>In many cases, <a title="Apache Ant" href="http://ant.apache.org/">Ant</a> is the tool of choice for automating the build process. As far as I know, Netbeans already uses Ant as build tool by default. Eclipse has its own way of describing the project configuration (source/binary folders, required libraries etc.) with files like &#8220;.project&#8221; and &#8220;.classpath&#8221;. The naive approach for building an Eclipse project with Ant would be to duplicate all the information and write a separate Ant build file that does all the work and is independent of an Eclipse instance. There are several disadvantages that come along with this approach:</p>
<ol>
<li>Inconsistencies may occur whenever a new library is added or the structure of the project changes in a significant way (e.g. a new source folder is introduced) =&gt; the build file has to be updated manually when the build fails.</li>
<li>There is no real guarantee that both the Eclipse and the Ant build produce the same output =&gt; Problems may not be visible until runtime tests are performed.</li>
</ol>
<p>So what could be a more elegant solution? Of course, to use the information for the build that is contained in the Eclipse project artifacts already. The only tool I found up to now that does right this is <a title="ant4eclipse" href="http://ant4eclipse.sourceforge.net/">ant4eclipse</a>. Basically, it defines some Ant tasks that enable the following actions (from ant4eclipse&#8217;s website):</p>
<blockquote>
<ul>
<li>Setup classpathes as defined in Eclipse&#8217;s  					<code>.classpath</code>-file</li>
<li>checkout complete workspaces as it&#8217;s possible with the <code>Team Project Set</code> feature of eclipse</li>
<li>run your Java applications as you have defined them in an Eclipse <code>Launch Configuration</code></li>
</ul>
</blockquote>
<p>This avoids the redundancy and leverages the information that is already present as soon as the project compiles in Eclipse. To be honest, I haven&#8217;t evaluated ant4eclipse yet, but I probably will as soon as the next Continuous Integration project will start. Seriously, who would like to write dozens of Ant files to do the work that Eclipse already does?</p>
<p>Another interesting project that seems to focus solely on Eclipse plugins, features and RCP apps is <a title="Pluginbuilder.org" href="http://www.pluginbuilder.org">Pluginbuilder</a>. The <a title="Tutorial movie - Pluginbuilder.org" href="http://www.pluginbuilder.org/documentation/tutorialmovie/">tutorial movie</a> looks really impressive. The homepage says that Pluginbuilder consists of two parts:</p>
<ul>
<blockquote>
<li>An <strong>Eclipse plug-in </strong>allows to configure the build in the project&#8217;s workspace and run the build locally</li>
<li>Then the configuration can be uploaded to the <strong>server platform</strong> where the build can be scheduled</li>
</blockquote>
</ul>
<p>That&#8217;s a nice alternative to the manual configuration of the Eclipse headless build and integration with e.g. <a title="CruiseControl" href="http://cruisecontrol.sourceforge.net/">CruiseControl</a>. Haven&#8217;t evaluated that one neither, but this is definitely a very interesting and promising tool for Eclipse plugin and RCP development which I can imagine may be indispensable once you are used to it.</p>
<p>Which other tools for Eclipse build automation do you know?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.martinklinke.com/2008/07/10/tools-for-eclipse-build-automation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.374 seconds -->
