<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>eclipse-plugin &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/eclipse-plugin/</link>
	<description>Feed of posts on WordPress.com tagged "eclipse-plugin"</description>
	<pubDate>Mon, 07 Dec 2009 01:51:53 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Eclipse plugins i cant live without Part 1]]></title>
<link>http://gwinnem.wordpress.com/2009/11/18/eclipse-plugins-i-cant-live-without-part-1/</link>
<pubDate>Wed, 18 Nov 2009 12:49:42 +0000</pubDate>
<dc:creator>gwinnem</dc:creator>
<guid>http://gwinnem.wordpress.com/2009/11/18/eclipse-plugins-i-cant-live-without-part-1/</guid>
<description><![CDATA[CFeclipse has been around for a while but is mostly used by ColdFusion developers. I found it by acc]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>CFeclipse has been around for a while but is mostly used by ColdFusion developers.<br />
I found it by accidence and after using it for the last 8 months i cant live without it.<br />
Im using to insert snippets to my classes,fileheaders,generate getter/setter functions etc..</p>
<p><!--more--><br />
You can get the installation tips from <a href="http://trac.cfeclipse.org/wiki/InstallingCfeclipse">CF eclipse website</a><br />
The CFEclipse FAQ is at <a href="http://trac.cfeclipse.org/wiki/FAQ">CFEclipse FAQ</a><br />
If you already know how to add a update site in Eclipse, this is the url: <strong>http://www.cfeclipse.org/update</strong></p>
<p>After its installed there is one really neat feature called Snippets view. This is the place to maintain the snippets.<br />
Just remember that the snippet file is being stored locally under the workspace you are working with.<br />
So if you are like me and switching between workspaces depending on what project you are working on you have to<br />
reconfigure the path settings so it points to the correct file every time a new workspace is being created.<br />
Snippets are stored as xml and the location of the file is: <strong>{workspace location}\workspace\.metadata\.plugins\org.cfeclipse.cfml\snippets</strong></p>
<p>I will give a brief overview about:</p>
<ol>
<li>How to find the view.</li>
<li>How to define a new shortcut key for the snippet insertion.</li>
<li>A list of the variables that CFEclipse supports when you are making a snippet</li>
<li>Snippet examples</li>
</ol>
<h3>Finding the snippets view:</h3>
<p>First you have to open the Show View dialog in eclipse. You do this by pressing ALT+SHIFT+Q Q.<br />
This will open the dialog.<br />
<a href="http://gwinnem.wordpress.com/files/2009/11/show-view-dialog.gif"><img class="aligncenter size-full wp-image-121" title="Show view dialog" src="http://gwinnem.wordpress.com/files/2009/11/show-view-dialog.gif" alt="" width="311" height="436" /></a></p>
<p>Type snip in the filter input box and double click <strong>Snip Tree View</strong> under the CFML category.<br />
<a href="http://gwinnem.wordpress.com/files/2009/11/selected-view.gif"><img class="aligncenter size-full wp-image-122" title="Selected view" src="http://gwinnem.wordpress.com/files/2009/11/selected-view.gif" alt="" width="311" height="436" /></a></p>
<h3>Defining a new shortcut key for snippet insertion:</h3>
<p>Open up the preference dialog in eclipse. This can be found under Windows-&#62;Preferences.<br />
Type key in the top left input box to filter out the key preferences.<br />
You can also find it by expanding the General and Editors category.<br />
In the middle you find a input box under Scheme.<br />
Type insert snip there to filter out the command.<br />
Click on the command and in Binding field press CTRL+SHIFT+J, this will assign the key combination for this command.<br />
Change the When: to Actionscript mode. This means that this key combination will only work when you are in actionscript mode.<br />
If you want it to work other places to, select In windows instead.<br />
<a href="http://gwinnem.wordpress.com/files/2009/11/snippetpreferences.gif"><img class="aligncenter size-full wp-image-124" title="SnippetPreferences" src="http://gwinnem.wordpress.com/files/2009/11/snippetpreferences.gif" alt="" width="967" height="614" /></a></p>
<h3>Snippet variables:</h3>
<table class="tablebold">
<tbody>
<tr>
<td>$${DATE}</td>
<td>Ex: 11/17/2007</td>
</tr>
<tr>
<td>$${MONTH}</td>
<td>Ex: November</td>
</tr>
<tr>
<td>$${TIME}</td>
<td>Ex: 14:25:00 PM</td>
</tr>
<tr>
<td>$${DATETIME}</td>
<td>Ex: 11/17/2007 2:42:00 PM</td>
</tr>
<tr>
<td>$${DAYOFWEEK}</td>
<td>Ex: Friday</td>
</tr>
<tr>
<td>$${CURRENTFILE}</td>
<td>Ex: application.cfm &#8211; Current file name</td>
</tr>
<tr>
<td>$${CURRENTFOLDER}</td>
<td>Ex: D:\workspace\myproject &#8211; Current folder</td>
</tr>
<tr>
<td>$${CURRENTPATH}</td>
<td>Ex: D:\workspace\myproject\application.cfm &#8211; Full path</td>
</tr>
<tr>
<td>$${CURRENTPRJPATH}</td>
<td>Ex: myproject &#8211; Just the folder</td>
</tr>
<tr>
<td>$${USERNAME}</td>
<td>Current user</td>
</tr>
<tr>
<td>$${MONTHNUMBER}</td>
<td>Month as a number</td>
</tr>
<tr>
<td>$${DAYOFMONTH}</td>
<td>Day of month as a number</td>
</tr>
<tr>
<td>$${DAYOFWEEKNUMBER}</td>
<td>Day of week (the week starts on Sunday)</td>
</tr>
<tr>
<td>$${DATETIME24}</td>
<td>Ex: 01/12/2007 14:42:00 &#8211; 24 hour clock version of datetime.</td>
</tr>
<tr>
<td>$${YEAR}</td>
<td>Ex: 2007 &#8211; Current year</td>
</tr>
<tr>
<td>$${YEAR2DIGIT}</td>
<td>Ex: 07 &#8211; Current two digit year</td>
</tr>
</tbody>
</table>
<p><strong>A common mistake when starting using the tags is to write them with mixed case, they are case sensitive so write them in uppercase.</strong></p>
<h3>Snippet examples:</h3>
<p> <strong>Class header</strong></p>
<pre class="brush: java; collapse: false; first-line: 1; pad-line-numbers: true;">
/**
 * Created: $${DATE}
 * Website: http://www.winnem.com/winnem-consulting
 * Copyright (c) $${YEAR}- Winnem Consulting &#60;geirr@winnem.com&#62;
 * All rights reserved.
 * @internal
 *
 **/
</pre>
<p><strong>Fileheader / license</strong></p>
<pre class="brush: java; collapse: false; first-line: 1; pad-line-numbers: true;">
/*
Copyright (c) 2009-
Winnem Consulting
Kirkealleen 58
3470 Slemmestad
Norway

All rights reserved. 

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met: 

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* The end-user documentation included with the redistribution, if
any, must include the following acknowledgement:
* Neither the name of &#34;Winnem Consulting&#34; nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission. 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &#34;AS
IS&#34; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
</pre>
<p><strong>Private function skelleton</strong></p>
<pre class="brush: java; collapse: false; first-line: 1; pad-line-numbers: true;">
/**
 * $${name}
 * Description:
 * $${Description}
 *
 * Created: $${DATE}
 * @author Geirr Winnem
 */
private function $${name}($${params}):$${return}
{
	return null;
}
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Eclipse flex keyboard shortcuts that an excellent developer should know]]></title>
<link>http://gwinnem.wordpress.com/2009/11/17/eclipse-flex-keyboard-shortcuts-that-an-excellent-developer-should-know/</link>
<pubDate>Tue, 17 Nov 2009 17:00:08 +0000</pubDate>
<dc:creator>gwinnem</dc:creator>
<guid>http://gwinnem.wordpress.com/2009/11/17/eclipse-flex-keyboard-shortcuts-that-an-excellent-developer-should-know/</guid>
<description><![CDATA[I have always been a fan of using keyboard shortcuts when im working with gui based applications. An]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have always been a fan of using keyboard shortcuts when im working with gui based applications.<br />
And i was happy when someone sent me a link to these posts:</p>
<ul>
<li><a href="http://dispatchevent.org/mims/flexbuilder-keyboard-shortcuts/">FlexBuilder / Eclipse keyboard shortcuts that will change your life</a></li>
<li><a href="http://www.rblab.com/blog/2009/07/eclipse-3-5-and-fdt-3-2-for-actionscript-development-%E2%80%93-part-5-%E2%80%93-keyboard-shortcuts/">Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 5 – Keyboard Shortcut</a></li>
<p>In addition i also have implemented some of my own shortcuts like:</p>
<ul>
<li>SHIFT+F8 to open the Flex Development perspective</li>
<li>SHIFT+F9 to open the Flex Debugger perspective</li>
</ul>
<p>If you dont know how to define your own shortcuts in eclipse then take a look at <a href="http://gwinnem.wordpress.com/2009/11/15/viewing-and-editing-keyboard-shortcuts-in-eclipse/">Short blog post on how to define keyboard shortcuts in eclipse</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Building a PureMvc Multicore eclipse plugin, Creating a preference page.]]></title>
<link>http://gwinnem.wordpress.com/2009/11/14/building-a-puremvc-multicore-eclipse-plugin-creating-a-preference-page/</link>
<pubDate>Sat, 14 Nov 2009 15:07:59 +0000</pubDate>
<dc:creator>gwinnem</dc:creator>
<guid>http://gwinnem.wordpress.com/2009/11/14/building-a-puremvc-multicore-eclipse-plugin-creating-a-preference-page/</guid>
<description><![CDATA[I have been using puremvc multicore for quite a while now. One of the things im missing is a plugin ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have been using <a href="http://www.puremvc.org">puremvc multicore</a> for quite a while now.<br />
One of the things im missing is a plugin in eclipse for creating new classes like:</p>
<ol>
<li>Facade</li>
<li>Mediator</li>
<li>SimpleCommand</li>
<li>MacroCommand</li>
<li>Proxy</li>
</ol>
<p><!--more--><br />
Since im quite the lazy developer i hate programming repetitive code all the time.<br />
I have been using the CFeclipse plugin&#8217;s snippet functionality but it&#8217;s not good enough since it only allows you to insert code into the code editor.</p>
<p>After doing quite a lot of research and also posted this into the forums at the <a href="http://www.puremvc.org">puremvc</a> website i have to admit i was<br />
quite surprised to learn that no one had developed one before. So i decided to doit by myself, although im not an expert in eclipse plugin development.</p>
<p>I will start this tutorial by creating a simple preference page where the path to the puremvc multicore swc file is stored, so that the Add PureMvcMulticore Nature can copy the swc file into the default lib folder, and also update the project settings so that the swc is included in the project.</p>
<p>First we have to create a new plugin project.<br />
Doing this is quite easy. Just press ctrl+N and this will bring up the meny, select other so that we can select the project type to create.<br />
This will bring up a new dialog.<br />
<img class="aligncenter size-full wp-image-64" title="plugin-0" src="http://gwinnem.wordpress.com/files/2009/11/plugin-1.gif" alt="Project type" width="525" height="500" /><br />
Find the Plug-in Development category and select: Plug-in Project.</p>
<p>In the next dialog you give your project a meaningfull name and also set the location for the project.<br />
<img class="aligncenter size-full wp-image-66" title="plugin-2" src="http://gwinnem.wordpress.com/files/2009/11/plugin-2.gif" alt="Project name" width="525" height="636" /></p>
<p><strong>Data required for the plugin dialog:</strong><br />
If you already have given the project a meaningfull name, then you can use the default settings for:</p>
<ul>
<li>Plug-in ID:</li>
<li>Plug-in Version:</li>
<li>Plug-in Name:</li>
</ul>
<p>The Plug-in Provider is optional so feel free to fill in an appropiate value here.<br />
I have set the Execution environment to JRE-1.1, so that the developer dont need to have the newest JRE or SDK installed.<br />
Since a preference page is part of the UI we also have to mark the This plug-in will make contributions to the UI.<br />
<img class="aligncenter size-full wp-image-69" title="plugin-3" src="http://gwinnem.wordpress.com/files/2009/11/plugin-3.gif" alt="default settings" width="525" height="636" /></p>
<p>Next up is to select the template to use for the plug-in.<br />
Select the <strong>Custom plug-in Wizard</strong> and press next.<br />
<img class="aligncenter size-full wp-image-70" title="plugin-4" src="http://gwinnem.wordpress.com/files/2009/11/plugin-4.gif" alt="Plug-in template" width="525" height="636" /></p>
<p>Since we selected the Custom Wizard we can select from all the available templates, and we can also select multiple templates to include in the project.<br />
I prefer developing a plugin in separate projects so it&#8217;s easy to debug and test the different parts of a plug-in.<br />
In the next dialog press <strong>Deselect All</strong> And then select: <strong>Preference Page</strong>.<br />
<img class="aligncenter size-full wp-image-71" title="plugin-5" src="http://gwinnem.wordpress.com/files/2009/11/plugin-5.gif" alt="Plugin Template selection" width="525" height="716" /></p>
<p>The final step is to define the package name, page class name and page name(This is the name that will show up in the preference&#8217;s window in eclipse).<br />
<img class="aligncenter size-full wp-image-72" title="plugin-6" src="http://gwinnem.wordpress.com/files/2009/11/plugin-6.gif" alt="Page settings" width="525" height="716" /></p>
<p>The project will have a structure like the below image:<br />
<img class="aligncenter size-full wp-image-75" title="project structure" src="http://gwinnem.wordpress.com/files/2009/11/project-structure1.gif" alt="project structure" width="826" height="768" /></p>
<p>Now we are ready todo some coding:<br />
Open up the <strong>PreferenceConstants.java</strong> file, and do the following changes to it:</p>
<pre class="brush: java; collapse: true; first-line: 1; light: false; pad-line-numbers: true; toolbar: true;">
package testplugin.preferences;

/**
 * Constant definitions for plug-in preferences
 */
public class PreferenceConstants {

	public static final String P_PATH = &#34;pathPreference&#34;;

/*	public static final String P_BOOLEAN = &#34;booleanPreference&#34;;

	public static final String P_CHOICE = &#34;choicePreference&#34;;

	public static final String P_STRING = &#34;stringPreference&#34;;*/

}
</pre>
<p>Next up is the <strong>PreferenceInitializer.java</strong> This file is used to initialize the fields in the preference page with default values.</p>
<pre class="brush: java; collapse: true; first-line: 1; light: false; pad-line-numbers: true; toolbar: true;">
package testplugin.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

import testplugin.Activator;

/**
 * Class used to initialize default preference values.
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	/*
	 * (non-Javadoc)
	 *
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	public void initializeDefaultPreferences() {
		//We leave this empty for now.
		IPreferenceStore store = Activator.getDefault().getPreferenceStore();

		//We commented these out in PreferenceConstants.java
		/*store.setDefault(PreferenceConstants.P_BOOLEAN, true);
		store.setDefault(PreferenceConstants.P_CHOICE, &#34;choice2&#34;);
		store.setDefault(PreferenceConstants.P_STRING,
				&#34;Default value&#34;);*/
	}

}
</pre>
<p>Next up is the <strong>SamplePreferencePage.java</strong> If you named this something else in the wizard, the file will have the same name.<br />
We only modify the function <strong>createFieldEditors</strong></p>
<pre class="brush: java; collapse: true; first-line: 1; light: false; pad-line-numbers: true; toolbar: true;">
	public void createFieldEditors() {
		addField(new DirectoryFieldEditor(PreferenceConstants.P_PATH,
				&#34;&#38;Directory preference:&#34;, getFieldEditorParent()));
/*		addField(
			new BooleanFieldEditor(
				PreferenceConstants.P_BOOLEAN,
				&#34;&#38;An example of a boolean preference&#34;,
				getFieldEditorParent()));

		addField(new RadioGroupFieldEditor(
				PreferenceConstants.P_CHOICE,
			&#34;An example of a multiple-choice preference&#34;,
			1,
			new String[][] { { &#34;&#38;Choice 1&#34;, &#34;choice1&#34; }, {
				&#34;C&#38;hoice 2&#34;, &#34;choice2&#34; }
		}, getFieldEditorParent()));
		addField(
			new StringFieldEditor(PreferenceConstants.P_STRING, &#34;A &#38;text preference:&#34;, getFieldEditorParent()));*/
	}
</pre>
<p>Now we are ready to export the plugin as a jar file.<br />
Select the project in the package explorer and then goto File-Export.<br />
This will bring up:<br />
<img src="http://gwinnem.wordpress.com/files/2009/11/jarexport-1.gif" alt="Export to jar" title="jarexport-1" width="525" height="550" class="aligncenter size-full wp-image-82" /></p>
<p>Select Jar file and then next.<br />
Next step is to define the JAR File Specification details:<br />
<img src="http://gwinnem.wordpress.com/files/2009/11/jarfilespec.gif" alt="JAR File Specification" title="jarfilespec" width="563" height="660" class="aligncenter size-full wp-image-83" /></p>
<p>Leave it with default values and press next to get to the packaging options.<br />
<img src="http://gwinnem.wordpress.com/files/2009/11/jarpackagingoptions2.gif" alt="JAR Packaging Options" title="JARPackagingOptions" width="563" height="660" class="aligncenter size-full wp-image-86" /></p>
<p>Next screen is the JAR Manifest Specifiction.<br />
<img src="http://gwinnem.wordpress.com/files/2009/11/jarmanifest.gif" alt="JARManifest" title="JARManifest" width="563" height="660" class="aligncenter size-full wp-image-88" /><br />
Select Use Existing Manifest From Workspace, and press the Browse button.<br />
Then expand your project in the Manifest Selection dialog.<br />
In the META-INF directory select the MANIFEST.MF<br />
<img src="http://gwinnem.wordpress.com/files/2009/11/manifestselection.gif" alt="ManifestSelection" title="ManifestSelection" width="419" height="453" class="aligncenter size-full wp-image-89" /></p>
<p>Find the jar file and copy it to the eclipse plugins folder, then restart eclipse, select Window-Preferences. Look for your page there <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Resources:</strong></p>
<ul>
<li><a href="http://help.eclipse.org/galileo/index.jsp?nav=/2">Eclipse Platform Plugin Development</a></li>
<li><a href="http://wiki.eclipse.org/Version_Numbering">Eclipse plug-in version numbering</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[PyDev 1.5 on Eclipse Galileo 3.5 SR1]]></title>
<link>http://dbaktiar.wordpress.com/2009/10/21/pydev-1-5-on-eclipse-galileo-3-5-sr1/</link>
<pubDate>Wed, 21 Oct 2009 10:28:36 +0000</pubDate>
<dc:creator>dbaktiar</dc:creator>
<guid>http://dbaktiar.wordpress.com/2009/10/21/pydev-1-5-on-eclipse-galileo-3-5-sr1/</guid>
<description><![CDATA[I begin to have more time to explore the Eclipse Galileo Service Release 1 (Eclipse 3.5.1). This tim]]></description>
<content:encoded><![CDATA[I begin to have more time to explore the Eclipse Galileo Service Release 1 (Eclipse 3.5.1). This tim]]></content:encoded>
</item>
<item>
<title><![CDATA[Glassfish plugin on Eclipse 3.5 (Galileo)]]></title>
<link>http://hardikmehta.wordpress.com/2009/06/29/glassfish-plugin-on-eclipse-3-5-galileo/</link>
<pubDate>Mon, 29 Jun 2009 09:37:52 +0000</pubDate>
<dc:creator>hardikmehta</dc:creator>
<guid>http://hardikmehta.wordpress.com/2009/06/29/glassfish-plugin-on-eclipse-3-5-galileo/</guid>
<description><![CDATA[Eclipse 3.5 also called Galileo is out. I tried to install the glassfish application server plugin w]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Eclipse 3.5 also called <a title="Eclipse Galileo" href="http://www.eclipse.org/galileo/" target="_blank">Galileo</a> is out. I tried to install the glassfish application server plugin with the standard method described <a title="Getting Glassfish plugin" href="https://glassfishplugins.dev.java.net/eclipse34/index.html#getting" target="_blank">here</a>, but it failed with the following error message</p>
<pre class="brush: java;">

session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.sun.enterprise.jst.server.sunappsrv,1.0.28
No repository found containing: org.eclipse.update.feature,com.sun.enterprise.jst.server.sunappsrv.feature,1.0.28
</pre>
<p style="text-align:justify;">After searching a lot I found a way to install it using the update site <a rel="nofollow" href="http://ajax.dev.java.net/eclipse">http://ajax.dev.java.net/eclipse</a>, like any other plugin. This worked well.</p>
<p style="text-align:justify;">May be the problem is temporary and after sometime the standard way will also start working.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Quickly cruding with code2code plugin and VRaptor2]]></title>
<link>http://elsethenif.wordpress.com/2009/06/12/quickly-cruding-with-code2code-plugin-and-vraptor2/</link>
<pubDate>Fri, 12 Jun 2009 23:34:20 +0000</pubDate>
<dc:creator>Samuel Rizzo</dc:creator>
<guid>http://elsethenif.wordpress.com/2009/06/12/quickly-cruding-with-code2code-plugin-and-vraptor2/</guid>
<description><![CDATA[In this post I will show how to use the code2code plugin (beta) to quickly generate a crud with the ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In this post I will show how to use the <a href="http://github.com/srizzo/code2code">code2code plugin (beta)</a> to quickly generate a crud with the <a href="http://www.vraptor.org/">VRaptor2</a> and <a href="https://www.hibernate.org/">Hibernate 3</a> frameworks.</p>
<p>code2code lets you create your own generators using template engines. In this example we&#8217;ll use the plugin to generate an entire crud for us, using a generator I&#8217;ve made.</p>
<p>Note that the code was made simple, to show the capabilities of the plugin, and not of the frameworks involved.</p>
<p><!--more--></p>
<h2>Creating and setting up the Project</h2>
<p>First, let&#8217;s create a new Dynamic Web Project and call it &#8220;products&#8221;.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/naming-the-project.png"><img class="alignnone size-full wp-image-34" title="naming the project" src="http://elsethenif.wordpress.com/files/2009/06/naming-the-project.png" alt="naming the project" width="500" height="375" /></a></p>
<p>Now wee need to install VRaptor2, Hibernate 3, HSQLDB, configure each frameworks and&#8230;<br />
But wait! Let&#8217;s use a generator for all that too! But before, we need to install the plugin and the generators.</p>
<h2>Installing the plugin</h2>
<p>Install the plugin from the update site: http://srizzo.github.com/code2code/updatesite/</p>
<p>Once the plugin is installed, we will have two items added to the project context menu: &#8220;Generate&#8230;&#8221; and &#8220;Create generator from selected files&#8230;&#8221;.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/generate-menu-item1.png"><img class="alignnone size-full wp-image-76" title="generate menu item" src="http://elsethenif.wordpress.com/files/2009/06/generate-menu-item1.png" alt="generate menu item" width="500" height="375" /></a></p>
<h2>Installing the VRaptor2 example generators</h2>
<p>Create a &#8220;generators&#8221; folder on the project. <a href="http://github.com/srizzo/code2code-example-generators/downloads">Download</a> and unzip the VRaptor2 generators examples there.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/vraptor-generators-inside-generators-folder1.png"><img class="alignnone size-full wp-image-77" title="vraptor generators inside generators folder" src="http://elsethenif.wordpress.com/files/2009/06/vraptor-generators-inside-generators-folder1.png" alt="vraptor generators inside generators folder" width="500" height="375" /></a></p>
<h2>Setting up the project</h2>
<p>Let&#8217;s use a generator to install the frameworks and initial configurations we need.</p>
<p>Run the &#8220;Generate&#8230;&#8221; item from the project context menu. A wizard listing the installed generators will open. Select the Initial structure generator and click Next.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/selecting-a-generator.png"><img class="alignnone size-full wp-image-42" title="selecting a generator" src="http://elsethenif.wordpress.com/files/2009/06/selecting-a-generator.png" alt="selecting a generator" width="500" height="375" /></a></p>
<p>Configure the base package for the generated classes, the path the HSQLDB database will be created and click Finish.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/configuring-params.png"><img class="alignnone size-full wp-image-25" title="configuring params" src="http://elsethenif.wordpress.com/files/2009/06/configuring-params.png" alt="configuring params" width="500" height="375" /></a></p>
<p>The plugin will generate the necessary files and libs for our project, and log the operation to the console. Note that the plugin can generate little snippets to the console, so you can copy them and paste to the appropriate files.</p>
<p>Copy and paste the VRaptor2 servlet mapping to the project web.xml.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/web-xml-snippet-from-log1.png"><img class="alignnone size-full wp-image-52" title="web.xml snippet from log" src="http://elsethenif.wordpress.com/files/2009/06/web-xml-snippet-from-log1.png" alt="web.xml snippet from log" width="500" height="375" /></a></p>
<h2>Running the empty project</h2>
<p>That&#8217;s all. Now, we can run the project and see a working initial project, with a beautiful Welcome screen. You may wish to take a look at the generated files. The Initial project generator has generated all the jars and files we need to start working.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/welcome-page.png"><img class="alignnone size-full wp-image-50" title="welcome page" src="http://elsethenif.wordpress.com/files/2009/06/welcome-page.png" alt="welcome page" width="500" height="375" /></a></p>
<h2>Generating the Product crud</h2>
<p>Open again the generator wizard and now select the CRUD generator.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/selecting-the-crud-generator.png"><img class="alignnone size-full wp-image-43" title="selecting the crud generator" src="http://elsethenif.wordpress.com/files/2009/06/selecting-the-crud-generator.png" alt="selecting the crud generator" width="500" height="375" /></a></p>
<p>Set the parameters for the Product model.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/configuring-the-crud-params.png"><img class="alignnone size-full wp-image-26" title="configuring the crud params" src="http://elsethenif.wordpress.com/files/2009/06/configuring-the-crud-params.png" alt="configuring the crud params" width="500" height="375" /></a></p>
<p>Now, instead of just clicking Finish, you may wish to take a look further at the next step, by clicking Next.</p>
<p>As you will see, in this step you&#8217;re able to unmark templates for generation, change the destination for each one (a blank destination means it will be printed on the console), and preview/change the resulting contents. Just click Finish to generate the files.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/customizing-the-crud-generation.png"><img class="alignnone size-full wp-image-29" title="customizing the crud generation" src="http://elsethenif.wordpress.com/files/2009/06/customizing-the-crud-generation.png" alt="customizing the crud generation" width="500" height="375" /></a></p>
<p>Look at the console view for generated snippets. Copy the hibernate mapping to the hibernate.cfg.xml file.</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/pasting-the-hibernate-mapping1.png"><img class="alignnone size-full wp-image-78" title="pasting the hibernate mapping" src="http://elsethenif.wordpress.com/files/2009/06/pasting-the-hibernate-mapping1.png" alt="pasting the hibernate mapping" width="500" height="375" /></a></p>
<p>Don&#8217;t forget to do the same for the DaoFactory entry <a href="http://elsethenif.wordpress.com/files/2009/06/pasting-the-daofactory-entry.png">(image)</a>, the views.properties mappings <a href="http://elsethenif.wordpress.com/files/2009/06/pasting-the-views-mappings.png">(image)</a> and the product link for the index page <a href="http://elsethenif.wordpress.com/files/2009/06/pasting-the-index-link.png">(image)</a></p>
<h2>The result</h2>
<p>Run the project again. You will see a Product index now on the home page. Click it.</p>
<p>That&#8217;s all. You can now create, edit, view and delete products</p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/products-index.png"><img class="alignnone size-full wp-image-41" title="products index" src="http://elsethenif.wordpress.com/files/2009/06/products-index.png" alt="products index" width="500" height="375" /></a></p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/creating-a-new-product.png"><img class="alignnone size-full wp-image-27" title="creating a new product" src="http://elsethenif.wordpress.com/files/2009/06/creating-a-new-product.png" alt="creating a new product" width="500" height="375" /></a></p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/viewing-the-product.png"><img class="alignnone size-full wp-image-45" title="viewing the product" src="http://elsethenif.wordpress.com/files/2009/06/viewing-the-product.png" alt="viewing the product" width="500" height="375" /></a></p>
<p><a href="http://elsethenif.wordpress.com/files/2009/06/editing-the-product.png"><img class="alignnone size-full wp-image-31" title="editing the product" src="http://elsethenif.wordpress.com/files/2009/06/editing-the-product.png" alt="editing the product" width="500" height="375" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[code2code eclipse plugin: generate code using template engines]]></title>
<link>http://elsethenif.wordpress.com/2009/06/10/code2code-eclipse-plugin-generate-code-using-template-engines/</link>
<pubDate>Wed, 10 Jun 2009 14:56:20 +0000</pubDate>
<dc:creator>Samuel Rizzo</dc:creator>
<guid>http://elsethenif.wordpress.com/2009/06/10/code2code-eclipse-plugin-generate-code-using-template-engines/</guid>
<description><![CDATA[Do you find yourself always creating the same kind of files with very similar content? DAOs, service]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Do you find yourself always creating the same kind of files with very similar content? DAOs, services, actions, models and etc?</p>
<p>Don&#8217;t you wish you could generate common sets of files with parameterized content, just like the rails guys do?</p>
<p>Well, I do. </p>
<p>Why not?</p>
<h3>What I want is:</h3>
<ul>
<li><strong>Simplicity:</strong> No UML, no XML, no new languages to learn</li>
<li><strong>Flexibility:</strong> Edit and create my own generators, on a per project/frameworks basis</li>
<li><strong>Ease of use:</strong> Easily create generators: no tons of files to write, little configuration. Easily configure parameters and generate files.</li>
</ul>
<p>So, I didn&#8217;t like the existing plugins I&#8217;ve found.</p>
<p>Let&#8217;s try one ourselves&#8230;</p>
<p><!--more--></p>
<h2>Building a lightweight code generation tool</h2>
<p>As a programmer, code is what I do, and I think is the best way to metaprogramming. So, let&#8217;s use known template engines instead of UML, XML or meta-languages.</p>
<p>I want have custom generators on a per project/framework basis, and be able to easily refine them over time. So, let&#8217;s just put them all on a folder on the project and have the plugin look there. No zips. No jars. No compile.</p>
<p>As for configuration, all I want is to generate files, with parameterized content. We should need no more than tell the parameters needed for our templates, and the destinations for each generated file. </p>
<p>When using a generator, a wizard should ask the values for the parameters and generate the files to the proper destinations.</p>
<h1>code2code plugin for eclipse</h1>
<h3>With code2code you can:</h3>
<ul>
<li>Generate a set of files based on templates, writen in template languages you already know/work: groovy (jsp-like), freemarker or velocity</li>
<li>Easily create your generators, providing only two properties-like configuration files:  one with destinations of the generated files and one telling the parameters your templates uses.
<li>Use a wizard to run a generator, set its parameter values and preview and change the files and contents to be generated.</li>
</ul>
<p>I&#8217;m pretty satisfied now with the result. That&#8217;s more or less what I had in mind, and though the project is still in an early beta stage, it already works very well (thanks to jBehave and SWTBot) and it is already been really useful.</p>
<p>Checkout the <a href="http://github.com/srizzo/code2code">project page</a> if you want to try it out.</p>
<p>I will post more on this soon.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Google Summer of Code 2009]]></title>
<link>http://lucazamador.wordpress.com/2009/05/02/google-summer-of-code-2009/</link>
<pubDate>Sat, 02 May 2009 23:56:37 +0000</pubDate>
<dc:creator>lucaz</dc:creator>
<guid>http://lucazamador.wordpress.com/2009/05/02/google-summer-of-code-2009/</guid>
<description><![CDATA[Hace unos pocos días fuí seleccionado para participar en el Google Summer of Code 2009, más precisam]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="size-full wp-image-19 alignright" title="soclogo" src="http://lucazamador.wordpress.com/files/2009/05/soc08-300x300_white.jpg" alt="soclogo" width="131" height="131" /></p>
<p style="text-align:justify;">Hace unos pocos días fuí seleccionado para participar en el <strong>Google Summer of Code</strong> <strong>2009</strong>, más precisamente con el proyecto <strong>Refactoring Rules</strong> de <strong>JB</strong><strong>oss Drools</strong>.</p>
<p style="text-align:justify;">El objetivo de este proyecto es realizar la integración de refactorización de reglas en los IDEs, tanto en el IDE para Eclipse como en Guvnor. Este módulo tiene que ser reutilizable para ambas partes, y tener un nivel de abstracción que permita realizar la refactorización en todos los tipos de formatos de reglas conocidos, no solamente DRL sino que también en DSL, BRL, TableDecision (aunque en este momento no se implemente), RuleFlow, etc.</p>
<p>En la <em>application</em> presentada se propusieron varias <em>features</em>, que <span style="text-decoration:line-through;">en teoría</span> todas son implementables pero todavia no hay nada concreto.</p>
<ul>
<li>Asignación de variable</li>
<li>Renombrar variable</li>
<li>Cambio de parámetros para aumentar la performance</li>
<li>Detección de producto cruzado</li>
<li>Sugerencia de join/linking variable</li>
<li>Organizar imports</li>
</ul>
<p style="text-align:justify;">Se habrán dado cuenta que algunas <em>features</em> van más allá de lo que denominamos refactorización, pero son un buen agregado que pueden proporcionarles nuevas funcionalidades a los IDE&#8217;s, y seguramente se agregarán o modificarán algunos requerimientos según los pedidos de mi mentor asignado aparte de algunas ideas que puedan surguir cuando empieze el coding madness.</p>
<p style="text-align:justify;">Toda esta locura empieza el 23 de mayo, cuando es la fecha fijada para el inicio formal de GSoC, sin embargo en estas semanas restantes son los momentos para empezar a coordinar con los mentores y completar wikis como <a title="Refactoring Rules" href="http://www.jboss.org/community/docs/DOC-13591">Refactoring Rules</a> , que como verán todavía no tiene ningún contenido de implementación más allá de los requerimientos y donde podrán seguir los avances que vayan sucediendo.</p>
<p style="text-align:justify;">Supongo que si hay alguna novedad útil para comentar sobre los progresos lo haré en otro post, por ahora no hay mucho más que contar&#8230; eso si, el 26 de agosto les comento como terminó todo esto.</p>
<p style="text-align:justify;"><em></em></p>
<p style="text-align:justify;">Post original de <a href="http://lucazamador.wordpress.com" target="_blank">lucazamador.wordpress.com</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Scala plugin for Eclipse snapshot r17139]]></title>
<link>http://blog.juma.me.uk/2009/02/18/scala-plugin-for-eclipse-snapshot-r17139/</link>
<pubDate>Wed, 18 Feb 2009 17:22:26 +0000</pubDate>
<dc:creator>Ismael Juma</dc:creator>
<guid>http://blog.juma.me.uk/2009/02/18/scala-plugin-for-eclipse-snapshot-r17139/</guid>
<description><![CDATA[The snapshot of the Scala plugin for Eclipse that I posted a few days ago had a couple of annoying b]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The snapshot of the Scala plugin for Eclipse that I <a href="http://blog.juma.me.uk/2009/02/14/scala-plugin-snapshot/">posted</a> a few days ago had a couple of annoying bugs. <a href="http://juma.me/scala.update">Here&#8217;s a new one build</a>  (note that it&#8217;s an Eclipse update site, so no point in trying to access it with a browser) from revision 17139 of the trunk of the plugin with the compiler and standard libraries from the 2.7.x branch.</p>
<p>Miles has been busy once again and fixes included since the last build are <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1717">1717</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1233">1233</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1636">1636</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1662">1662</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1716">1716</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1627">1627</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1534">1534</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1410">1410</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1516">1516</a>, <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1483">1483</a> and <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1253">1253</a>.</p>
<p><strong>Update: </strong> New build published that includes fix for <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1741">ticket 1741</a>. Uninstallation followed by installation may be required if p2 starts giving cryptic errors (it seems like it doesn&#8217;t handle well the case where the update site is replaced). Sorry about that.</p>
<p><strong>Update 2: </strong> With the release of <a href="http://www.scala-lang.org/node/1493">Scala 2.7.4-rc1</a>, this backport is obsolete.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Scala plugin snapshot]]></title>
<link>http://blog.juma.me.uk/2009/02/14/scala-plugin-snapshot/</link>
<pubDate>Sat, 14 Feb 2009 02:52:17 +0000</pubDate>
<dc:creator>Ismael Juma</dc:creator>
<guid>http://blog.juma.me.uk/2009/02/14/scala-plugin-snapshot/</guid>
<description><![CDATA[Miles Sabin has recently committed the Equinox Aspects-based approach to JDT integration for the Sca]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://milessabin.com">Miles Sabin</a> has recently <a href="http://www.nabble.com/-scala-tools--Heads-up:-Equinox-Aspects-based-Eclipse-plugin-build-now-on-trunk-td21853596.html">committed</a> the Equinox Aspects-based approach to JDT integration for the Scala plugin to trunk. This approach is similar to the one used by the AJDT as <a href="http://contraptionsforprogramming.blogspot.com/2009/02/extending-jdt-part-i.html">described</a> by Andrew Eisenberg.</p>
<p>Soon after that commit, Miles embarked on a <a href="https://lampsvn.epfl.ch/trac/scala/query?status=closed&#38;component=Eclipse+plugin&#38;order=changetime&#38;col=id&#38;col=summary&#38;col=type&#38;col=changetime&#38;owner=milessabin&#38;desc=1">bug-killing mission</a>. Nightlies are available from the <a href="http://www.scala-lang.org/downloads/distrib/files/nightly/scala.update/">usual place</a>, but they rely on the trunk of the compiler and standard library. With APIs still in flux, it would be nice to be able to use the improved plugin with the compiler and standard library from the 2.7.x branch (this includes a few important fixes added after the 2.7.3 release).</p>
<p>Since it seemed like no-one else had time to do that in the near future, I did it myself. It&#8217;s available <a href="http://juma.me/scala.update">here</a> in case it&#8217;s useful for anyone else. In the interest of full disclosure, I applied the following patch to the plugin:</p>
<p><code><br />
Index: META-INF/MANIFEST.MF<br />
===================================================================<br />
--- META-INF/MANIFEST.MF	(revision 17110)<br />
+++ META-INF/MANIFEST.MF	(working copy)<br />
@@ -34,8 +34,8 @@<br />
  org.eclipse.ui.navigator.resources,<br />
  org.eclipse.ui.views,<br />
  org.eclipse.ui.workbench.texteditor,<br />
- scala.library,<br />
- scala.tools.nsc<br />
+ scala.library;bundle-version="[2.7.3,2.7.4)",<br />
+ scala.tools.nsc;bundle-version="[2.7.3,2.7.4)"<br />
 Import-Package:<br />
  org.eclipse.contribution.jdt.cuprovider,<br />
  org.eclipse.contribution.jdt.imagedescriptor,<br />
Index: src/scala/tools/editor/Typers.scala<br />
===================================================================<br />
--- src/scala/tools/editor/Typers.scala	(revision 17110)<br />
+++ src/scala/tools/editor/Typers.scala	(working copy)<br />
@@ -6,7 +6,6 @@</p>
<p> package scala.tools.editor</p>
<p>-import scala.annotation.unchecked.uncheckedStable<br />
 import scala.collection.jcl._</p>
<p> import nsc.{util,io}<br />
Index: src/scala/tools/editor/TypersPresentations.scala<br />
===================================================================<br />
--- src/scala/tools/editor/TypersPresentations.scala	(revision 17110)<br />
+++ src/scala/tools/editor/TypersPresentations.scala	(working copy)<br />
@@ -6,7 +6,6 @@</p>
<p> package scala.tools.editor</p>
<p>-import scala.annotation.unchecked.uncheckedStable<br />
 import scala.collection.jcl.{LinkedHashMap,LinkedHashSet}<br />
 import scala.collection.mutable.ListBuffer</p>
<p>@@ -595,10 +594,13 @@<br />
           val str = name.decode<br />
           val key = if (sym.isMethod) str.trim+header(sym) else str.trim<br />
           val last = str.last<br />
+<br />
+          import org.eclipse.jdt.core.search.SearchPattern</p>
<p>           // TODO: check accessibility.<br />
-          if (name.isTypeName == isType &#38;&#38; str.toLowerCase.startsWith(leading.toLowerCase) &#38;&#38;<br />
-              (str.indexOf('$') == -1) &#38;&#38; last != ' ' &#38;&#38; !contains(key)) {<br />
+          if (name.isTypeName == isType &#38;&#38; (str.indexOf('$') == -1) &#38;&#38; last != ' ' &#38;&#38;<br />
+                !contains(key) &#38;&#38; (str.toLowerCase.startsWith(leading.toLowerCase) &#124;&#124;<br />
+                SearchPattern.camelCaseMatch(leading, str))) {<br />
             val sym0 = if (verify==null) sym else verify(sym)<br />
             if (sym0 != compiler.NoSymbol) {<br />
               val high = if (pt != null) sym0.tpe &#60;:&#60; pt<br />
</code></p>
<p>It includes my simple <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1644#comment:1">camel-case content assist patch</a>, some version restrictions and the removal of the imports for the uncheckedStable annotation since it was moved outside of the scala package in 2.8.0. The compiler and standard library are the latest version from the 2.7.x branch. I&#8217;ve done some light testing and the plugin works for me, but the usual disclaimers apply. Be prepared to have to uninstall and reinstall the plugin if things don&#8217;t work out.</p>
<p><strong>Update:</strong> I noticed that two <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1716">annoying</a> <a href="https://lampsvn.epfl.ch/trac/scala/ticket/1717">bugs</a> were <a href="https://lampsvn.epfl.ch/trac/scala/changeset/17107">introduced</a> on Friday. I would recommend not using the current build. I will update it once they are fixed.</p>
<p><strong>Update 2:</strong> See <a href="http://blog.juma.me.uk/2009/02/18/scala-plugin-for-eclipse-snapshot-r17139/">here</a> for a newer build with fixes for the mentioned issues.</p>
<p><strong>Update 3: </strong> With the release of <a href="http://www.scala-lang.org/node/1493">Scala 2.7.4-rc1</a>, this backport is obsolete.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[T-Mobile G1 Test-Update]]></title>
<link>http://electrobabe.at/2009/02/01/t-mobile-g1-test-update/</link>
<pubDate>Sun, 01 Feb 2009 15:07:23 +0000</pubDate>
<dc:creator>electrobabe</dc:creator>
<guid>http://electrobabe.at/2009/02/01/t-mobile-g1-test-update/</guid>
<description><![CDATA[Nach meinen bisherigen Rezensionen gib es einen Nachschlag: Hot.. or not? II Das G1 hat Probleme bei]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Nach meinen <a href="http://electrobabe.at/category/t-mobile-g1/">bisherigen Rezensionen</a> gib es einen Nachschlag:</p>
<h3>Hot.. or not? II</h3>
<p>Das G1 hat Probleme bei der automatischen Umschaltung von UMTS auf GSM und vice versa. Wenn man während dem Telefonieren in einen Raum geht, wo kein UMTS-Netz ist, braucht das Telefon einige Sekunden &#8211; also eine halbe Ewigkeit- um umzuschalten! Daher ist das Gespräch für ein paar Sekunden völlig unterbrochen, ohne abzubrechen. Die Notlösung fürs erste ist das G1 so einzustellen, dass es nur 2G-Netze nutzt.</p>
<p>Weiters hab ich es zwar geschafft das G1 mit mehreren Geräten über Bluetooth zu paaren, aber nicht zu verbinden. Vielleicht ein Bug? Zudem unterstützt das G1 derzeit noch keinen Bluetooth File Transfer, sondern <a href="http://androidcommunity.com/forums/f41/receiving-pictures-through-bluetooth-on-g1-7100">nur Headsets</a>.</p>
<p>Die deutsche Version des T-Mobile G1 telefoniert übrigens <a href="http://www.teltarif.de/arch/2009/kw04/s32716.html">nicht nachhause</a>, wenn man im Ausland ist, also nur die amerikanische Version, <a href="http://electrobabe.at/2009/01/26/t-mobile-g1-telefoniert-im-ausland-heimlich-nachhause-multitouch-auf-g1/">wie berichtet</a>.</p>
<p>Es gibt Adapter (z.B. <a href="http://www.amazon.de/HTC-Multifunction-Audio-Cable-p3300/dp/B0012MKW2G/ref=pd_cp_ce_2_img?pf_rd_p=213562491&#38;pf_rd_s=center-41&#38;pf_rd_t=201&#38;pf_rd_i=B001AAFZIG&#38;pf_rd_m=A1IDDPBG1NC5TQ&#38;pf_rd_r=0EKZ3PVK64V0G9GJBZ69">hier</a> oder <a href="http://cgi.ebay.at/ws/eBayISAPI.dll?ViewItem&#38;ssPageName=STRK:MEWNX:IT&#38;item=220301580422">hier</a>), um gewöhnliche Kopfhörerstecker über den Klingen-Stecker anzuschließen, da es sich bei dem USB-Port am G1 um einen standardisierten 11PIN Mini-USB Anschluss handelt.</p>
<p>Hier übrigens auch das <a href="http://code.google.com/intl/de-DE/android/download_list.html">Android SDK</a> (Software Development Kit), mit dem man Applikationen für das G1 entwickeln kann. Es gibt sogar ein Eclipse Plugin!</p>
<p><a href="http://www.mobileblogger.at">Viele</a> meinten, dass die Tastaturbeleuchtung am Tag störend sei, aber das ist mir noch gar nicht aufgefallen. Ich finde das Design des Gerätes auch recht ansprechend, obwohl es vielen nicht gefällt.</p>
<p>Die 3MP-Kamera mit Autofokus macht zwar ganz gute Fotos (siehe z.B. <a href="http://www.flickr.com/photos/barbarao/3238398819/">hier</a>), allerdings fehlt ein Blitz und es dauert ungewohnt lang (ca. 5sec) bis sich der Fokus eingestellt hat. Somit ist das G1 kein Ersatz für digitale Kompaktkameras.</p>
<p>Was nett ist, ist, dass wenn einem der Speicher vor lauter Musik- und Videodateien ausgehen sollte, kann man einfach eine neue/größere micro SD Karte einsetzen. Die mitgelieferten 2GB sind ja doch recht knapp bemessen.</p>
<p>Das Hochfahren des Gerätes dauert leider auch etwas lang: gestoppte 50sec bis zur PIN Eingabe.</p>
<h3>Android Apps</h3>
<p>Die Facebook App <em>FBook </em>loggt sich ständig bei Facebook ein, sodass man auf der Website andauernd rausfliegt und sich neu anmelden muss. Außerdem funktionieren bei mir die Notifications am G1 nicht.</p>
<p>Vorgestern <a href="http://twitter.com/barbarao/status/1164460261">ging <em>Google Maps</em> nicht</a>, heute wieder schon. Das war allerdings recht ärgerlich, weil man das G1 herzeigen will und dann manche Apps entweder nicht gehen, oder der Akku <a href="http://twitter.com/mgroh/status/1164470094">schon wieder leer</a> ist. Da helfen die schönsten Schmetterlinge nicht, um die Leute zu beeindrucken <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Gestern hab ich <em>ShopSavvy </em>bei Thalia ausprobiert, ein Programm, mit dem man Barcodes von Produkten einscannen und im Internet nach Preisen suchen kann, und ich werde wohl nie wieder bei Thalia einkaufen, weil dort alles ja sooo überteuert ist!</p>
<p>Von haus aus kann man das G1 nicht als 3G-Modem benutzen, aber mit der App <a href="http://graha.ms/androidproxy/">Tetherbot</a> kann man einen Proxy einrichten. Die Installation ist allerdings sehr umständlich und sehr technisch, was man keinem Normalsterblichen (aka Nicht-Techniker) zumuten könnte.</p>
<h3>G1 Testertreffen</h3>
<p>Am Dienstag gibt es das (für mich) erste zweiwöchige G1 Stammtisch im WerkzeugH, auf das ich schon sehr gespannt bin.</p>
<h3>Aktuelle G1 Werbung</h3>
<p>Das G1 gibt es jetzt bei T-Mobile mit 2Jahresvertrag um einen Euro (wie auch das iPhone) bis zum Valentinstag:</p>
<p><a href="http://electrobabe.files.wordpress.com/2009/02/1233489956123.jpg"><img class="alignnone size-medium wp-image-874" title="1233489956123" src="http://electrobabe.wordpress.com/files/2009/02/1233489956123.jpg?w=225" alt="1233489956123" width="225" height="300" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to enable template in custom editor(Eclipse)]]></title>
<link>http://rajeshk21.wordpress.com/2009/01/16/how-to-enable-template-in-custom-editoreclipse/</link>
<pubDate>Fri, 16 Jan 2009 06:59:52 +0000</pubDate>
<dc:creator>rajeshk21</dc:creator>
<guid>http://rajeshk21.wordpress.com/2009/01/16/how-to-enable-template-in-custom-editoreclipse/</guid>
<description><![CDATA[Some guidelines for adding the template in your custom editor(Eclipse editor): Template Usage: Templ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Some guidelines for adding the template in your custom editor(Eclipse editor):</p>
<p>Template Usage:<br />
Template feature is one of the well used feature in eclipse editor, which  serves auto-completion for the code syntax in the editor. When you type “fo” on the java editor and if you hit ctrl + space you get the custom assist proposal for the completion of for loop in java editor so by this custom proposal. Its save time of the developer and the editor also become more user interactive. So if you are interested in creating template for your custom editor then the following steps are helpful for you.</p>
<p>Steps for enabling the template feature:-</p>
<p><strong>Step 1:</strong> You need to extend the extension point  org.eclipse.ui.preferencePages and you need to add the template preference page.</p>
<p>&#60;page&#62;</p>
<p style="margin-bottom:0;">&#60;page category=&#8221;cat&#8221; class=&#8221;com.xyz.ABCTemplatePreferencePage&#8221;</p>
<p style="margin-bottom:0;">id=&#8221;TemplateID&#8221; name=&#8221;Templates&#8221;&#62; &#60;/page&#62;</p>
<p><strong>Step 2:</strong> You need to define the context for your template. For this you need to extend the extension point called  org.eclipse.ui.editors.templates</p>
<p style="margin-bottom:0;">&#60;contextType class=&#8221;com.xyz.ABCTemplateContextType&#8221;</p>
<p style="margin-bottom:0;">id=&#8221;editorType&#8221; name=&#8221;Test&#8221;&#62;</p>
<p style="margin-bottom:0;">&#60;/contextType&#62;</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">&#60;include file=&#8221;templates/default-templates.xml&#8221;</p>
<p style="margin-bottom:0;">translations=&#8221;templates/default-templates.xml&#8221;&#62;</p>
<p style="margin-bottom:0;">&#60;/include&#62;</p>
<p>include property is used for loading the default templates form the xml file Its loaded only once for the lifecycle of your workspace or when u click on restore default from your preference page.</p>
<p><strong>Step 3:</strong> For adding the additional information to your template you need to extend the TemplateProposal class and override the method name called getAdditionalProposalInfo.</p>
<p><strong>Step 4:</strong> For adding template icon you need to put the template image file in the icons folder of your application and you need to override initializeImageRegistry method in your activator class</p>
<p>protected void initializeImageRegistry(ImageRegistry reg) {<br />
super.initializeImageRegistry(reg);<br />
reg.put(ICON_TEMPLATE, 		ImageDescriptor.createFromURL(getBundle().getEntry(&#8220;/icons/template.gif&#8221;)));<br />
}</p>
<p>For more information you can visit <a href="http://eclipse.dzone.com/articles/how-enable-template-feature-cu"> eclipse dzone article</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Senior Software Engineer - 3 to 5 Years - Eclipse developer - Plug in development- KPIT Cummins Infosystem Limited - Pune]]></title>
<link>http://jobs4umate.wordpress.com/2008/11/28/senior-software-engineer-3-to-5-years-eclipse-developer-plug-in-development-kpit-cummins-infosystem-limited-pune/</link>
<pubDate>Fri, 28 Nov 2008 13:27:00 +0000</pubDate>
<dc:creator>Talentty</dc:creator>
<guid>http://jobs4umate.wordpress.com/2008/11/28/senior-software-engineer-3-to-5-years-eclipse-developer-plug-in-development-kpit-cummins-infosystem-limited-pune/</guid>
<description><![CDATA[KPIT Cummins Infosystem Limited Our vision is to be a global partner of first choice for our custome]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.kpitcummins.com/" target="_blank"><strong>KPIT Cummins Infosystem Limited</strong></a></p>
<p>Our vision is to be a global partner of first choice for our customers with leadership in select areas. We partner with global automotive and semiconductor corporations in bringing products faster to their target markets and endeavor to be #1 in IP led Advanced Technology solutions for the automotive Industry. Leading Manufacturing corporations today trust us for efficient globalization of their processes &#38; systems. We have been recognized for our Corporate Governance and been rewarded by our investors with their confidence.</p>
<p>This JOb is posted in <a href="http://www.kpitcummins.com/">http://www.kpitcummins.com/</a>for more details visit   <a href="http://intra.kpit.com/External/Careers/displaypage.htm">http://intra.kpit.com/External/Careers/displaypage.htm</a> </p>
<table border="1" cellspacing="0" cellpadding="2" width="100%">
<tbody>
<tr class="tableTitle">
<td class="tableTitle">
<div><a href="void()">Senior Software Engineer</a></div>
</td>
</tr>
<tr>
<td>
<strong>Job Location: Pune</strong><br />
<hr />
<strong>Relevant Experience </strong><br />
3-5yrs</p>
<p><strong><span style="font-size:x-small;font-family:arial;">Details:</span></strong><br />
<span style="font-size:x-small;font-family:arial;">Description:<br />
Eclipse developer &#8211; Plug in development</p>
<p>Essential Skills:<br />
Eclipse plugin development experience<br />
Knowledge of Java<br />
IDE design experience is preferred<br />
Knowledge of Eclipse test frame work<br />
Knowledge of GNU tools is preferred</p>
<p>Interested candidates may send in their resume to Ritesh Pande at Riteshp@kpitcummins.com.</span></td>
</tr>
<tr>
<td><a href="http://jobs4umate.wordpress.com/wp-admin/#">Click here to apply for this position.</a></p>
<p>Please superscribe the CODE <strong>555788</strong> as the subject of your email.</td>
</tr>
</tbody>
</table>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Speed up XUL GUI Development on Linux]]></title>
<link>http://jwamicha.wordpress.com/2008/11/25/speed-up-xul-gui-development-on-linux/</link>
<pubDate>Tue, 25 Nov 2008 06:22:59 +0000</pubDate>
<dc:creator>jwamicha</dc:creator>
<guid>http://jwamicha.wordpress.com/2008/11/25/speed-up-xul-gui-development-on-linux/</guid>
<description><![CDATA[1.) Install eclipse ganymede: http://www.eclipse.org/downloads/ (Works fastest with SUN&#8217;s JDK)]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>1.) Install eclipse ganymede: http://www.eclipse.org/downloads/ (Works fastest with SUN&#8217;s JDK) </p>
<p><code><br />
$cd download/path<br />
$tar eclipse-jee-europa-linux-gtk.tar.gz<br />
$vi /usr/local/bin/eclipse<br />
</code></p>
<p>Paste the following text inside to start Eclipse with optimized memory settings: download/path/eclipse/eclipse -clean -configuration download/path/eclipse -vm /path/to/jdk/jdk1.6.0_02/jre/bin/java -vmargs -XX:MaxPermSize=350m -Xms128m -Xmx350m</p>
<p>XX:MaxPermSize and Xmx can be adjusted upwards depending on the amount of memory available on your system. Making -Xms too high seems to make eclipse grow the heap size too high too fast.</p>
<p>2.) Install Eclipse xulbooster plugin; please follow instructions on the link below:</p>
<p><a href="#!/bin/sh cd  /mnt/sda4/EclipseWork/tracker/trunk/data/V1.3/ make cp chrome/tracker.jar /home/sysadmin/.mozilla/firefox/tame3m4a.default/extensions/{61ccd804-f6fd-11db-9b41-001617174fd6}/chrome ">http://cms.xulbooster.org/index.php?option=com_content&#38;task=view&#38;id=14&#38;Itemid=2</a></p>
<p>You should now have colour coded editors for .xul, .rdf, .js, .dtd and .properties files.</p>
<p>Previews on localized xul documents will not work by default. To enable localized xul document previews using xulbooster, use the trick below: </p>
<p><code>$cd /etc/gre.d</code></p>
<p>Open the conf file with the highest version as this is most likely the xulrunner instance the xulbooster plugin is most probably using: </p>
<p><code>$vi 1.9.0.3.system.conf</code></p>
<p>4.) Navigate to the location of the xulrunner libs (GRE_PATH) indicated in the gre conf file: </p>
<p><code><br />
$cd /usr/lib/xulrunner-1.9.0.3<br />
$cd chrome<br />
</code></p>
<p>Find out the exact path of the .dtd files the xul document you want to preview on Eclipse is using for localization. Create a symbolic link to this path inside the chrome folder: </p>
<p><code><br />
$ln -s /path/to/my/chrome/locale myextension<br />
</code></p>
<p>&#8216;myextension&#8217; can be any name. In our example, myextension will contain the chrome folder within it. The chrome folder will in turn contain the content and locale folders.</p>
<p>5.) Depending on the locale your firefox browser is using, open the corresponding .manifest file. In our case, since we&#8217;re using the en-US locale, we open the en-US.manifest file: </p>
<p><code>$vi en-US.manifest</code></p>
<p>Append the following line (depending on the name of your symbolink link above and the folder structure within your extension):</p>
<p><code><br />
locale myextension en-US my_extension/locale/en-US/<br />
</code></p>
<p>The .dtd files (myextension locale files) are now available to the xul instance and by extension the xulbooster plugin. It should now be possible to preview localized xul documents without having to restart firefox. This should hopefully significantly improve one&#8217;s speed of xul GUI interface development. </p>
<p>6.) Automatically update your extension by running a script:</p>
<p><code>$vi /usr/local/sbin/myextension-update</code></p>
<p>Contents of the script:</p>
<p><code><br />
#!/bin/sh<br />
cp /path/to/my/extension /home/myhomedirectory/.mozilla/firefox/tame3m4a.default/extensions/{myextension-uuid}/<br />
</code></p>
<p>Now updating your firefox extension with the changes you have made should be as simple as running:<br />
<code><br />
$myextension-update<br />
</code></p>
<p>7.) Install Quick-Restart Firefox extension: https://addons.mozilla.org/en-US/firefox/addon/3559</p>
<p>Now restarting firefox to view the changes you have made to the extension you are developing should be as simple as pressing the Ctrl+Alt+R keys.</p>
<p>XUL Development on Linux is not too well documented on the web yet and any more tips we could add for Linux developers would be highly welcome.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Eclipse Metrics Plugin]]></title>
<link>http://onpo.wordpress.com/2008/10/26/eclipse-metrics-plugin/</link>
<pubDate>Sun, 26 Oct 2008 13:50:59 +0000</pubDate>
<dc:creator>luantc</dc:creator>
<guid>http://onpo.wordpress.com/2008/10/26/eclipse-metrics-plugin/</guid>
<description><![CDATA[EclipseMetrics This Eclipse plugin calculates various metrics for your code during build cycles and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="content">
<h1>EclipseMetrics</h1>
<p>This <a title="Eclipse homepage" href="http://www.eclipse.org/">Eclipse</a> plugin calculates various metrics for your code during build cycles and warns you, via the Problems view, of ‘range violations’ for each metric. This allows you to stay continuously aware of the health of your code base. You may also export the metrics to HTML for public display or to CSV format for further analysis.</p>
<h1>Installation</h1>
<p>You can download EclipseMetrics from <a href="http://eclipse-metrics.sourceforge.net/">SourceForge</a> or use the update site: <a href="http://www.stateofflow.com/UpdateSite">http://www.stateofflow.com/UpdateSite</a></p>
<h1>Features</h1>
<ul>
<li>Recalculation of metrics during every build</li>
<li>Export of metrics to CSV or HTML</li>
<li>Visual ‘dashboard’ with HTML export</li>
<li>Supported metrics are:
<ul>
<li><a title="Description of Cyclomatic Complexity" href="http://eclipse-metrics.sourceforge.net/descriptions/CyclomaticComplexity.html">McCabe’s Cyclomatic Complexity</a></li>
<li><a title="Description of Efferent Couplings" href="http://eclipse-metrics.sourceforge.net/descriptions/EfferentCouplings.html">Efferent Couplings</a></li>
<li><a title="Description of Lack of Cohesion in Methods" href="http://eclipse-metrics.sourceforge.net/descriptions/LackOfCohesionInMethods.html">Lack of Cohesion in Methods</a></li>
<li><a title="Description of Lines Of Code in Method" href="http://eclipse-metrics.sourceforge.net/descriptions/LinesOfCode.html">Lines Of Code in Method</a></li>
<li><a title="Description Of Number Of Fields" href="http://eclipse-metrics.sourceforge.net/descriptions/NumberOfFields.html">Number Of Fields</a></li>
<li><a title="Description of Number Of Levels" href="http://eclipse-metrics.sourceforge.net/descriptions/NumberOfLevels.html">Number Of Levels</a></li>
<li><a title="Description of Number Of Parameters" href="http://eclipse-metrics.sourceforge.net/descriptions/NumberOfParameters.html">Number Of Parameters</a></li>
<li><a title="Description of Number Of Statements" href="http://eclipse-metrics.sourceforge.net/descriptions/NumberOfStatements.html">Number Of Statements</a></li>
<li><a title="Description of Weighted Methods Per Class" href="http://eclipse-metrics.sourceforge.net/descriptions/WeightedMethodsPerClass.html">Weighted Methods Per Class</a></li>
</ul>
</li>
</ul>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XSL Transformation (XSLT) Made Easy]]></title>
<link>http://kshwetabh.wordpress.com/2008/10/23/xsl-transformation-xslt-made-easy/</link>
<pubDate>Thu, 23 Oct 2008 02:27:51 +0000</pubDate>
<dc:creator>Shwetabh</dc:creator>
<guid>http://kshwetabh.wordpress.com/2008/10/23/xsl-transformation-xslt-made-easy/</guid>
<description><![CDATA[Extensible Stylesheet Language Transformations (XSLT) is a language for transforming XML documents i]]></description>
<content:encoded><![CDATA[Extensible Stylesheet Language Transformations (XSLT) is a language for transforming XML documents i]]></content:encoded>
</item>
<item>
<title><![CDATA[Free Alternative to Flex Builder]]></title>
<link>http://unlikelyteacher.com/2008/09/26/free-alternative-to-flex-builder/</link>
<pubDate>Fri, 26 Sep 2008 09:34:59 +0000</pubDate>
<dc:creator>dayg</dc:creator>
<guid>http://unlikelyteacher.com/2008/09/26/free-alternative-to-flex-builder/</guid>
<description><![CDATA[It&#8217;s been a long time since I last played with Flex. I feel like starting from square one. Thi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It&#8217;s been a long time since I last played with Flex. I feel like starting from square one.</p>
<p>This also means that I have a more difficult path ahead of me, with my Flex Builder trial license already expired.</p>
<p>Fortunately, it&#8217;s not that hard to setup basic mxml auto complete functionality with a plain Eclipse installation with XML support.</p>
<p>First we need to define the .mxml file association in Eclipse (Preferences &#62; General &#62; Editors &#62; File Associations).</p>
<p><a href="http://dayg.wordpress.com/files/2008/09/fileassociation.png"><img class="aligncenter size-full wp-image-204" title="fileassociation" src="http://dayg.wordpress.com/files/2008/09/fileassociation.png" alt="" width="480" height="423" /></a></p>
<p>Then map this file association to the XML editor (see screenshot below).</p>
<p><a href="http://dayg.wordpress.com/files/2008/09/editorassociation.png"><img class="aligncenter size-full wp-image-203" title="editorassociation" src="http://dayg.wordpress.com/files/2008/09/editorassociation.png" alt="" width="480" height="423" /></a></p>
<p>Add the Flex 3 schema (<a href="http://xsd4mxml.googlecode.com/files/flex3.xsd">flex3.xsd</a>) to Eclipse&#8217;s XML catalog.</p>
<p><a href="http://dayg.wordpress.com/files/2008/09/addflexschema.png"><img class="aligncenter size-full wp-image-200" title="addflexschema" src="http://dayg.wordpress.com/files/2008/09/addflexschema.png" alt="" width="480" height="396" /></a></p>
<p>Try creating a test mxml file and open it from Eclipse.</p>
<p>Test.mxml</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt;
&lt;/mx:Application&gt;
</pre>
<p>You will most likely receive an Unsupported Type error.</p>
<p><a href="http://dayg.wordpress.com/files/2008/09/unsupportedtype.png"><img class="aligncenter size-full wp-image-199" title="unsupportedtype" src="http://dayg.wordpress.com/files/2008/09/unsupportedtype.png" alt="" width="346" height="164" /></a></p>
<p>Complete the process by adding the content type definition (shown below).</p>
<p><a href="http://dayg.wordpress.com/files/2008/09/contentypeassociation.png"><img class="aligncenter size-full wp-image-202" title="contentypeassociation" src="http://dayg.wordpress.com/files/2008/09/contentypeassociation.png" alt="" width="480" height="459" /></a></p>
<p>Close the mxml file and re-open. You should now be able to see the auto-complete functionality in action.</p>
<p><a href="http://dayg.wordpress.com/files/2008/09/autocomplete.png"><img class="aligncenter size-full wp-image-201" title="autocomplete" src="http://dayg.wordpress.com/files/2008/09/autocomplete.png" alt="" width="480" height="380" /></a></p>
<p>Hope this helps and let me know if you encounter any problems.</p>
<p>If you&#8217;re a student or a full time Flex developer, you shouldn&#8217;t even bother trying out the outlined steps.</p>
<p>Flex is <a href="https://freeriatools.adobe.com/flex/">free for students</a>. But, if you make a living out of developing Flex apps, you might want to consider buying a license.</p>
<p>Related resources:</p>
<ul>
<li><a href="http://cfsilence.com/blog/client/index.cfm/2007/3/26/Setting-Up-Eclipse-For-Flex-2">Setting Up Eclipse For Flex 2</a></li>
<li><a href="http://www.mashedgames.com/tutorials/building-actionscript-30-apps-for-free/">Building Actionscript 3.0 Apps for Free</a></li>
<li><a href="http://astore.amazon.com/flex-books-20">Flex and ActionScript 3 Books</a></li>
<li><a href="http://axdt.org/wiki/InstallAxdt">Installing AXDT (Eclipse AS Plugin)</a></li>
<li><a href="http://www.flashdevelop.org/community/">FlashDevelop IDE</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Exporting your Java project to a jar file in two clicks using Fat-jar plugin]]></title>
<link>http://vinaychilakamarri.wordpress.com/2008/07/29/exporting-your-java-project-to-a-jar-file-in-two-clicks-using-fat-jar-plugin/</link>
<pubDate>Tue, 29 Jul 2008 06:30:38 +0000</pubDate>
<dc:creator>vinaychilakamarri</dc:creator>
<guid>http://vinaychilakamarri.wordpress.com/2008/07/29/exporting-your-java-project-to-a-jar-file-in-two-clicks-using-fat-jar-plugin/</guid>
<description><![CDATA[Sick and tired of writing manifest files and arranging jar files and class files, I searched to see ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sick and tired of writing manifest files and arranging jar files and class files, I searched to see if I can find some click-click-click eclipse feature that will do this job for me. And the answer came in after a brief googling: The fat-jar plugin.  Installing this plugin&#8217;s zip is easy. Extract the <a href="http://sourceforge.net/projects/fjep" target="_blank">zip</a> to some place and copy the folder under &#8216;plugins&#8217; to the actual eclipse plugins directory. Restart the eclipse and you should see a &#8216;Build Fat jar&#8217; with a green cross when you right click on your project. Here is the tutorial on how to build the jar file after you are done with the plaugin installation:</p>
<p><a title="Fat-jar tutorial" href="http://fjep.sourceforge.net/fjeptutorial.html" target="_blank">http://fjep.sourceforge.net/fjeptutorial.html</a></p>
<p>Happy jar building!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Klassendigramm die Erste]]></title>
<link>http://sweproject.wordpress.com/2008/04/27/klassendigramm-die-erste/</link>
<pubDate>Sun, 27 Apr 2008 21:58:14 +0000</pubDate>
<dc:creator>4aka4</dc:creator>
<guid>http://sweproject.wordpress.com/2008/04/27/klassendigramm-die-erste/</guid>
<description><![CDATA[Grüße, Möchte heute versuchen, erste Ansätze zum Code-Design von reticulum verfertigen, d.h.: einen ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Grüße,</p>
<p>Möchte heute versuchen, erste Ansätze zum Code-Design von reticulum verfertigen, d.h.: einen ersten Entwurf eines Klassendiagramms zu erstellen. Da das SlimeUML Code-&#62;Diagramm, Diagramm-&#62;Code-Funktionalitäten nicht so drauf hat (und zusätzlich auch kein Sequenzdiagramm enthält), versuche ich mal ein anderes UML-Tool. Man hat ja in diesem Fall die Qual der Wahl (vgl.: <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-viewcatlink-cid-19.html">http://www.eclipseplugincentral.com/Web_Links-index-req-viewcatlink-cid-19.html</a> ).</p>
<p>Habe mich für Topcased UML Editor entschieden (Bewertung, Screenshots, Beschreibung und Ermüdung waren die Entscheidungskriterien). Update-Site für direkte Eclipse-Plugin-Installation gibt es hier:<span class="pn-normal"><strong> http://topcased-mm.gforge.enseeiht.fr/release/update-site3.3/</strong></span></p>
<p>Leider braucht man einen Haufen Dependencies, die man sich mühevoll aus der Plugin-Site <strong>Europa Discovery</strong> heraussuchen muss. Und der Download dauert ewiiig. La-la-la&#8230; Man stelle sich den Download mit einer 56K-Leitung vor (= immer positiv denken ^^).</p>
<p>Bis man da zum Diagramm-zeichnen kommt, hat man schon wieder vergessen, was man eigentlich zeichnen wollte.  Da hofft wartender Student nur noch, dass das Tool zumindest brauchbar ist.</p>
<h3>Die Vision</h3>
<p>Während ich auf die Fertigstellung des Downloads warte, halte ich mein Big-Picture des Code-Designs kurz fest:</p>
<p>Man hat zunächst einmal die Klasse <em>User</em> als Superklasse der Klassen Gott, Herr und Sklave.</p>
<p>In der User-Klasse sind Basis-Attribute über die Identität des Benutzers, sein Registrierungsdatum, sein Nickname usw. gespeichert. Darüber hinaus verweist die Klasse User auf andere User-Klassen (man könnte dazu ein User-Array erstellen: User[] relatum; <em>- sofern der Syntax stimmt</em> ). Was hier leider noch nicht definiert ist, ist die Art der Beziehung. Man müste daher eine eigene Klasse <em>Beziehung</em> erstellen, die einerseits das Referenzobjekt (=Relatum) erstellt und andererseits die Art der Beziehung (ist Freund von, ist Arbeitskollege von, ist Angestellter von,&#8230; = Relator) festlegt. Diese <em>Beziehung</em> kommt anstelle der einfachen User-Referenz innerhalb der User-Klasse. Textuelle Beschreibungen sind einfach zu umständlich, um diese Dinge verständlich und schnell darzustellen &#8211; Gottseidank ist nun die Installation abgeschlossen.</p>
<p>Nur kurz noch zur Motivation: Durch die kurz skizzierten Klassen wird es möglich, dass einem beliebigerm User eine Menge von verschiedenartigen Kontakten (zu Göttern, Herren oder Sklaven) zugeordnet werden kann.</p>
<p>Mit dem Serialisierungskonzept von Java könnte es dann vielleicht möglich werden, dies alles persistent zu speichern (entweder in einer Datenbank oder als XML).</p>
<h3>Einstieg in Klassendiagramme</h3>
<p>Nachdem die Installation nun abgeschlossen ist, erstelle ich mit<em> New Document / Topcased</em> ein neues UML-Klassendiagramm: <strong>reticulum_iteration1.uml</strong> (siehe auch SVN-Code-Repository, dort wo auch <em>generalclasses.cdx</em> zu finden ist). Außerdem wechsle ich in die Perspektive <em>Topcased-Modelling</em>.</p>
<p>So &#8211; nun hab ich einmal ein paar Grundkonzepte erstellt. Nun stellt sich die Frage, wie man zu diesem Diagramm den entsprechenden Code generiert. Nach einiger Recherche in der Doku zeigt sich, dass anscheinend doch keine Code-Generierung möglich ist <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Man kann, wie ich das gezeigt habe, detaillierter als in SlimeUML Klassendiagramme erstellen, doch wie die Code-Generierung steht, wird mir heute wohl ein Rätsel bleiben. Bin zu müde, für weitere Recherchen.</p>
<p>Operation gelungen &#8211; Patient tot.</p>
<p>gn8<br />
AKA</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[XML Structural Summaries and Microformats]]></title>
<link>http://vannevarvision.wordpress.com/2007/10/31/xml-structural-summaries-and-microformats/</link>
<pubDate>Wed, 31 Oct 2007 20:22:21 +0000</pubDate>
<dc:creator>shahan</dc:creator>
<guid>http://vannevarvision.wordpress.com/2007/10/31/xml-structural-summaries-and-microformats/</guid>
<description><![CDATA[From my experiences attempting to integrate microformats into XML structural summaries, the results ]]></description>
<content:encoded><![CDATA[From my experiences attempting to integrate microformats into XML structural summaries, the results ]]></content:encoded>
</item>
<item>
<title><![CDATA[PHP Eclipse - PHP/SQL/HTML Eclipse-Plugin]]></title>
<link>http://agidari.wordpress.com/2007/10/29/php-eclipse-phpsqlhtml-eclipse-plugin/</link>
<pubDate>Mon, 29 Oct 2007 05:07:34 +0000</pubDate>
<dc:creator>아기다리</dc:creator>
<guid>http://agidari.wordpress.com/2007/10/29/php-eclipse-phpsqlhtml-eclipse-plugin/</guid>
<description><![CDATA[냐하하 Eclipse 플러그인은 위대하다 -ㅅ- 언젠간 C#도 지원해버리고 말꺼야 -_-;; http://www.javanuri.com/download/boardView.jsp?p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>냐하하 Eclipse 플러그인은 위대하다 -ㅅ- 언젠간 C#도 지원해버리고 말꺼야 -_-;;</p>
<p>http://www.javanuri.com/download/boardView.jsp?pg=8&#38;menuId=28&#38;Id=258168</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Demonstrating DescribeX and VisTopK at IBM CASCON Technology Showcase 2007]]></title>
<link>http://vannevarvision.wordpress.com/2007/10/04/cascon-technology-showcase/</link>
<pubDate>Thu, 04 Oct 2007 14:47:33 +0000</pubDate>
<dc:creator>shahan</dc:creator>
<guid>http://vannevarvision.wordpress.com/2007/10/04/cascon-technology-showcase/</guid>
<description><![CDATA[I&#8217;m happy to say that two projects that I work on, DescribeX (a team effort with Sadek Ali and]]></description>
<content:encoded><![CDATA[I&#8217;m happy to say that two projects that I work on, DescribeX (a team effort with Sadek Ali and]]></content:encoded>
</item>
<item>
<title><![CDATA[Code Querying Made Easy!]]></title>
<link>http://themindstorms.wordpress.com/2007/09/05/code-querying-made-easy/</link>
<pubDate>Wed, 05 Sep 2007 20:40:46 +0000</pubDate>
<dc:creator>Alex Popescu (aka the_mindstorm)</dc:creator>
<guid>http://themindstorms.wordpress.com/2007/09/05/code-querying-made-easy/</guid>
<description><![CDATA[This free Eclipse plugin seems quite intersting. I think I remember some other approaches in this di]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This <u>free</u> Eclipse plugin seems quite intersting. I think I remember some other approaches in this direction, but none went so far. According to their front page the following features are supported:</p>
<ul>
<li>Search and Navigate code &#8211; search semantic properties of code (both source and bytecode), and define customized tree-views.</li>
<li>Find bugs &#8211; use SemmleCode&#8217;s standard library to detect common bugs; adjust existing code queries to search for bug patterns that are specific to your projects and frameworks.</li>
<li>Compute metrics &#8211; do change impact analysis, spot bad code smells and explore dependencies, all with the library of metrics queries.</li>
<li>Enforce coding conventions &#8211; introduce your own checks with intuitive custom queries; show violations as errors or warnings in Eclipse.</li>
<li>Generate charts and graphs &#8211; view analysis results in no less than seven different ways, including charts and graphs; navigation is further simplified as each view is linked back to the source code.</li>
</ul>
<p>You can read more <a href="http://semmle.com/" title="Semmle" target="_blank">here</a>. I really hope to have the time to try it out.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[5 eclipse plugins for software quality]]></title>
<link>http://pa55word.wordpress.com/2007/08/17/5-eclipse-plugins-for-software-quality/</link>
<pubDate>Fri, 17 Aug 2007 13:04:07 +0000</pubDate>
<dc:creator>sun</dc:creator>
<guid>http://pa55word.wordpress.com/2007/08/17/5-eclipse-plugins-for-software-quality/</guid>
<description><![CDATA[This is a video podcast by Paul Duvall and Levent Gurses, discussing Levent’s presentation at the Be]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is a video podcast by Paul Duvall and Levent Gurses, discussing Levent’s presentation at the Better Software Conference. JDepend4Eclipse, Checkstyle, Coverlipse, PMD, and Metrics eclipse plugins are discussed.</p>
<p>All  these plugins are for software metrics which will help in code quality.</p>
<p><strong>Checkstyle</strong> is a plugin which I have used and found useful. We can<br />
give a xml file based rule (coding std) to the plugin and while writing<br />
code it will highlight the checkstyle errors. This avoided a lot of headaches<br />
when compared to times the code went into the automated build process<br />
and then all your checkstyle errors were highlighted before the world.</p>
<p><strong>JDepend4Eclipse</strong> &#8211; traverses Java class file directories and generates design metrics for each Java package.</p>
<p><strong>Coverlipse</strong> &#8211; djunit is another plugin which does the same job of showing your unit test coverage.</p>
<p><strong>PMD </strong> &#8211; Helps with code duplication.</p>
<p><strong>Metrics</strong> &#8211; Measures complexity.</p>
<p><a HREF="http://www.testearly.com/2007/06/11/vidcast-improving-code-quality-with-eclipse-and-its-plugins/">The video pod cast I was talking about before</a></p>
<p><a HREF="http://www-128.ibm.com/developerworks/java/library/j-ap01117/index.html">An article and tutorial about the five plugins by ibm developer works :- Automation for the people by Paul Duvall</a></p>
<p>To download the free plugins use the links below.</p>
<p><a HREF="http://pmd.sourceforge.net/eclipse/">http://pmd.sourceforge.net/eclipse/</a></p>
<p><a HREF="http://andrei.gmxhome.de/jdepend4eclipse/index.html">http://andrei.gmxhome.de/jdepend4eclipse/index.html </a></p>
<p><a HREF="http://coverlipse.sourceforge.net/index.php">http://coverlipse.sourceforge.net/index.php</a></p>
<p><a HREF="http://metrics.sourceforge.net/">http://metrics.sourceforge.net/</a></p>
<p><a HREF="http://eclipse-cs.sourceforge.net/">http://eclipse-cs.sourceforge.net/ </a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Google Gears Tutorial]]></title>
<link>http://pranni.wordpress.com/2007/06/02/google-gears-tutorial/</link>
<pubDate>Sat, 02 Jun 2007 06:39:23 +0000</pubDate>
<dc:creator>Pranni</dc:creator>
<guid>http://pranni.wordpress.com/2007/06/02/google-gears-tutorial/</guid>
<description><![CDATA[Did you notice that the Google Reader now offers offline mode? It can download and save your files s]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Did you notice that the Google Reader now offers offline mode? It can download and save your files so that you can read them even when you are not connected to the internet. It is powered by Google Gears. I tried to create an application by going thru the steps in the Developer Guide Tutorial. It was not that easy to follow it. It could have be a bit more simpler. If you are looking for a simpler version, its available <a href="http://grprakash.googlepages.com/google_gears_tutorial" target="_blank">here</a>.</p>
<p>BTW, there is a new <a href="http://www.cypal.in/tools" target="_blank">Eclipse plugin for Google Gears</a> is already in the drawing board. Not publicly available and sent only thru  invitations. If you are interested in trying out, please send a mail to prakash at cypal dot in.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
