<?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>NewInstance &#187; Eclipse</title>
	<atom:link href="http://en.newinstance.it/category/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://en.newinstance.it</link>
	<description>Welcome to the official blog of Luigi R. Viggiano. Beware of imitations.</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:29:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Android sdk 2.2_r2 sources</title>
		<link>http://en.newinstance.it/2010/12/01/android-sdk-2-2_r2-sources/</link>
		<comments>http://en.newinstance.it/2010/12/01/android-sdk-2-2_r2-sources/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 08:40:07 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[android sources eclipse opensource development]]></category>

		<guid isPermaLink="false">http://en.newinstance.it/?p=917</guid>
		<description><![CDATA[Yesterday I took back some source samples I was using to learn android, so I got a good chance to build android-sdk-2.2_r2-src.jar for anyone that may need it. I remember to readers that there is a script to generate those on this blog post, where I also explain how to use those files. For the [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->Yesterday I took back some source samples I was using to learn android, so I got a good chance to build <a href="http://dl.dropbox.com/u/2109153/Downloads/Android/android-sdk-2.2_r2-src.jar">android-sdk-2.2_r2-src.jar</a> for anyone that may need it. </p>
<p>I remember to readers that there is a script to generate those on <a href="http://en.newinstance.it/2010/05/17/attaching-sources-to-androidjar-in-eclipse/">this blog post</a>, where I also explain how to use those files.</p>
<p>For the ones that want to avoid to run my buggy script, in <a href="http://en.newinstance.it/2010/05/18/androidjar-sources/">this blog post</a> you can find some source bundles for android versions, ready for use.</p>
<p>Recently I'm very busy at work and in the spare time so I am not posting regularly; my todo list (or topost list) for this blog is getting long.</p>
<p>Just in case I'll not find time to write here before... Happy Christmas.</p>
<p><script type="text/javascript">var dzone_url = 'http://mobile.dzone.com/news/android-sdk-22r2-sources'; var dzone_style = '2';</script><script language="javascript" src="http://widgets.dzone.com/links/widgets/zoneit.js"></script>
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2010/05/18/androidjar-sources/" rel="bookmark" class="crp_title">Android.jar sources</a></li>
<li><a href="http://en.newinstance.it/2010/05/17/attaching-sources-to-androidjar-in-eclipse/" rel="bookmark" class="crp_title">Attaching sources to android.jar in Eclipse</a></li>
<li><a href="http://en.newinstance.it/2011/02/10/eclipse-save-actions/" rel="bookmark" class="crp_title">Eclipse Save Actions</a></li>
<li><a href="http://en.newinstance.it/2011/06/01/checking-configuration-files-inside-jars/" rel="bookmark" class="crp_title">Checking configuration files inside jars</a></li>
<li><a href="http://en.newinstance.it/2011/02/27/how-to-create-a-statically-linked-version-of-git-binaries/" rel="bookmark" class="crp_title">How to create a statically linked version of git binaries</a></li>
</ul>
</div>
<div class="shr-publisher-917"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F12%2F01%2Fandroid-sdk-2-2_r2-sources%2F' data-shr_title='Android+sdk+2.2_r2+sources'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F12%2F01%2Fandroid-sdk-2-2_r2-sources%2F' data-shr_title='Android+sdk+2.2_r2+sources'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F12%2F01%2Fandroid-sdk-2-2_r2-sources%2F' data-shr_title='Android+sdk+2.2_r2+sources'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2010/12/01/android-sdk-2-2_r2-sources/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Android.jar sources</title>
		<link>http://en.newinstance.it/2010/05/18/androidjar-sources/</link>
		<comments>http://en.newinstance.it/2010/05/18/androidjar-sources/#comments</comments>
		<pubDate>Tue, 18 May 2010 16:11:49 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://en.newinstance.it/2010/05/18/androidjar-sources/</guid>
		<description><![CDATA[Yesterday I wrote a post to explain how to link Android sources in Eclipse. If you use a different IDE, probably you can't have Eclipse facilities but it may be easier to have the sources "in line" with the android library. For myself usage I packed the android sources into some jar files. To have [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->Yesterday I wrote a post to explain <a href="http://en.newinstance.it/2010/05/17/attaching-sources-to-androidjar-in-eclipse/">how to link Android sources in Eclipse</a>. If you use a different IDE, probably you can't have Eclipse facilities but it may be easier to have the sources "in line" with the android library.</p>
<p>For myself usage I packed the android sources into some jar files. To have them linked properly in Eclipse, you need to download them and unpack in the proper directory under the Android SDK.</p>
<p>Here the files and the folder where they should be unpacked.</p>
<ol>
<li><a href="http://dl.dropbox.com/u/2109153/Downloads/Android/android-sdk-1.5_r3-src.jar">android-sdk-1.5_r3-src.jar</a> unpack to ANDROID_SDK_HOME/platforms/android-3/sources </li>
<li><a href="http://dl.dropbox.com/u/2109153/Downloads/Android/android-sdk-1.6_r2-src.jar">android-sdk-1.6_r2-src.jar</a> unpack to ANDROID_SDK_HOME/platforms/android-4/sources</li>
<li><a href="http://dl.dropbox.com/u/2109153/Downloads/Android/android-sdk-2.0.1_r1-src.jar">android-sdk-2.0.1_r1-src.jar</a> unpack to ANDROID_SDK_HOME/platforms/android-6/sources</li>
<li><a href="http://dl.dropbox.com/u/2109153/Downloads/Android/android-sdk-2.1_r1-src.jar">android-sdk-2.1_r1-src.jar</a> unpack to ANDROID_SDK_HOME/platforms/android-7/sources</li>
</ol>
<p>You don't need to unpack the files if you don't use Eclipse, as probably your IDE is able to reference source-jars for libraries in the CLASSPATH.</p>
<p>Very soon Android 2.2 will be released, you can build the source-jar with the <a href="http://en.newinstance.it/wp-content/uploads/2010/05/android-src-build-sh.gz">utility</a> I published yesterday, that is a bash script which runs in OSX and hopefully on Linux as well (the "find" utility may differ a little bit on Linux). Drop me a comment here, if you have problems, and I will pack it for you.
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2010/12/01/android-sdk-2-2_r2-sources/" rel="bookmark" class="crp_title">Android sdk 2.2_r2 sources</a></li>
<li><a href="http://en.newinstance.it/2010/05/17/attaching-sources-to-androidjar-in-eclipse/" rel="bookmark" class="crp_title">Attaching sources to android.jar in Eclipse</a></li>
<li><a href="http://en.newinstance.it/2010/04/15/eclipse-slow-in-osx/" rel="bookmark" class="crp_title">Eclipse slow in OSX</a></li>
<li><a href="http://en.newinstance.it/2006/06/30/finally-eclipse-callisto-is-out/" rel="bookmark" class="crp_title">Finally Eclipse Callisto is out!</a></li>
<li><a href="http://en.newinstance.it/2009/05/13/making-eclipse-javahl-working-recompiling-subversion-from-the-sources/" rel="bookmark" class="crp_title">Making Eclipse JavaHL working, recompiling Subversion from the sources</a></li>
</ul>
</div>
<div class="shr-publisher-426"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F05%2F18%2Fandroidjar-sources%2F' data-shr_title='Android.jar+sources'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F05%2F18%2Fandroidjar-sources%2F' data-shr_title='Android.jar+sources'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F05%2F18%2Fandroidjar-sources%2F' data-shr_title='Android.jar+sources'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2010/05/18/androidjar-sources/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Attaching sources to android.jar in Eclipse</title>
		<link>http://en.newinstance.it/2010/05/17/attaching-sources-to-androidjar-in-eclipse/</link>
		<comments>http://en.newinstance.it/2010/05/17/attaching-sources-to-androidjar-in-eclipse/#comments</comments>
		<pubDate>Mon, 17 May 2010 14:54:25 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://en.newinstance.it/2010/05/17/attaching-sources-to-androidjar-in-eclipse/</guid>
		<description><![CDATA[If you are working with the Android Development Toolkit (ADT) for Eclipse you may have noticed that the sources for android.jar are missing. The Android SDK comes without the sources, and even if you manage to download the source code for the Android library, the ADT does not allow you to attach the sources to [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->If you are working with the Android Development Toolkit (ADT) for Eclipse you may have noticed that the sources for android.jar are missing.<br />
The Android SDK comes without the sources, and even if you manage to download the source code for the Android library, the ADT does not allow you to attach the sources to the library in the IDE. When debugging or navigating into the sources of android classes this may be similar to what you'll get:</p>
<p><img id="image424" src="http://en.newinstance.it/wp-content/uploads/2010/05/class-file-editor.png" alt="Class File Editor" /></p>
<p>The trick, how explained <a href="http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/">here</a>, is to download the sources and copy them into android-sdk/platforms/android-<em>X</em>/sources folder (where <em>X</em> is the API version).</p>
<p>For example, supposing I've installed the SDK into ~/opt/android-sdk-mac_86 on my Mac, and I am developing an application with Android 1.5 (API level 3). I should <a href="http://source.android.com/download/">download the source files</a> from Android website using <a href="http://git-scm.com/">git</a>. Then I need to checkout the sources with tag name "android-sdk-1.5_r3", collect all the source files and move them into the directory ~/opt/android-sdk-mac_86/platforms/android-3/sources.</p>
<p>Here's my source tree under android-sdk-mac_86/platforms; in red color the directory where to put the sources:</p>
<pre>
luigi@hal9000:~/opt/android-sdk-mac_86$ <b>tree -L 2  platforms</b>
platforms/
|-- android-3
|   |-- android.jar
|   |-- build.prop
|   |-- data
|   |-- framework.aidl
|   |-- images
|   |-- samples
|   |-- skins
|   |-- source.properties
|   |-- <span style="color:red">sources</span>
|   |-- templates
|   `-- tools
|-- android-4
|   `-- ...
|-- android-6
|   `-- ...
`-- android-7
    `-- ...
</pre>
<p>Creating a directory and copy some files inside it's not much complicate. But once you downloaded the sources, you'll discover that they are spread in several sub-directories. Also you need some practice with git command line utility to download the sources check available tags, switch to the proper source tree, then package all the source files into a folder or an archive.</p>
<p>I created following script, which runs on OSX (and hopefully on Linux as well).</p>
<pre class="brush: bash">
luigi@hal9000:~$ cat bin/android-src-build.sh

#!/bin/sh 

SRC_DIR=/tmp/android-api

print_syntax() {
   echo "Syntax:\n\t$(basename $0) [option]"
   echo "\nOptions:"
   echo "\t-l prints available versions"
   echo "\t-v builds jar file with sources of specified version"
   echo "\t-c cleans up the sources from the temp directory\n"
   exit 1
}

error() {
   echo "Error:" $1
   exit 1
}

download_sources() {
    if [[ ! -d $SRC_DIR ]]; then
        git clone git://git.source.android.com/platform/frameworks/base $SRC_DIR
    fi
}

if ! which git > /dev/null ; then
    error "git not installed (or not in the PATH)"
fi

if ! which jar > /dev/null ; then
    error "jar not installed (or not in the PATH)"
fi

if [[ "$1" == "-l" ]]; then
    download_sources
    cd $SRC_DIR
    git tag -l
    exit 0;
fi

if [[ "$1" == "-c" ]]; then
    rm -rf $SRC_DIR
    exit 0;
fi

if [[ "$1" == "-v"  &#038;& ! -z "$2"  ]]; then
    JAR_FILE=$(pwd)/$2-src.jar
    download_sources
    cd $SRC_DIR
    if ! git tag -l | grep $2 ; then
        echo "Version \"$2\" not found"
        exit 1;
    fi
    git checkout $2
    touch $JAR_FILE
    find . -depth 2 -name "java" -type d -exec jar uf $JAR_FILE -C {} . \;
    exit 0
fi

print_syntax
</pre>
<p>You can download it here: <a id="p423" href="http://en.newinstance.it/wp-content/uploads/2010/05/android-src-build-sh.gz">android-src-build.sh.gz</a>. (It's a bash script: download and execute it at your own risk!)</p>
<p>The script, is able to download the sources from the Android git repository, and, given the version number it packs it into a jar file, that can be lately be unpacked into the <em>sources</em> folder of the Android SDK, where indicated above.</p>
<p>When you run it without parameters it gives you following help:</p>
<pre>
luigi@hal9000:~$ <b>android-src-build.sh </b>
Syntax:
        android-src-build.sh [option]

Options:
        -l prints available versions
        -v builds jar file with sources of specified version
        -c cleans up the sources from the temp directory
</pre>
<p>The -l parameter prints the list of available versions. If the sources have not been already downloaded, the -l will also download them. So the first time, it will take some minutes before displaying the available releases: </p>
<pre>
luigi@hal9000:~$ <b>android-src-build.sh -l</b>
Initialized empty Git repository in /private/tmp/android-api/.git/
remote: Counting objects: 106183, done.
remote: Compressing objects: 100% (35592/35592), done.
remote: Total 106183 (delta 61793), reused 104978 (delta 60893)
Receiving objects: 100% (106183/106183), 128.07 MiB | 1.52 MiB/s, done.
Resolving deltas: 100% (61793/61793), done.
Checking out files: 100% (8431/8431), done.
android-1.0
android-1.5
android-1.5r2
android-1.5r3
android-1.5r4
android-1.6_r1
android-1.6_r1.1
android-1.6_r1.2
android-1.6_r1.3
android-1.6_r1.4
android-1.6_r1.5
android-1.6_r2
android-2.0.1_r1
android-2.0_r1
android-2.1_r1
android-2.1_r2
android-2.1_r2.1p
android-2.1_r2.1p2
android-2.1_r2.1s
android-sdk-1.5-pre
android-sdk-1.5_r1
android-sdk-1.5_r3
android-sdk-1.6-docs_r1
android-sdk-1.6_r1
android-sdk-1.6_r2
android-sdk-2.0.1-docs_r1
android-sdk-2.0.1_r1
android-sdk-2.0_r1
android-sdk-2.1_r1
android-sdk-tools_r2
android-sdk-tools_r3
android-sdk-tools_r4
android-sdk-tools_r5
</pre>
<p>Now, let's say that we are developing on Android 1.5, we may want to create a jar file containing all the java sources for that version with:</p>
<pre>
luigi@hal9000:~$ <b>android-src-build.sh -v android-sdk-1.5_r3</b>
android-sdk-1.5_r3
Note: moving to 'android-sdk-1.5_r3' which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
  git checkout -b <new_branch_name>
HEAD is now at b69bed1... AI 150122: Merge from donut.   Fix permissions issue for uninstall of updated system applications.   If an existing update for a system application is uninstalled, when reverting back to the existing   version in system partition, permissions have to be granted again.   BUG=1893639
luigi@hal9000:~$ <b>ls -l *.jar</b>
-rw-r--r--  1 luigi  staff  4766477 May 17 15:59 <span style="color:red">android-sdk-1.5_r3-src.jar</span>
</pre>
<p>As shown above, after issuing the command a file called android-sdk-1.5_r3-src.jar will be generated into the current directory.<br />
Now the only thing remaining is to expand this file into the folder ~/opt/android-sdk-mac_86/platforms/android-3/sources:</p>
<pre>
luigi@hal9000:~$ <b>rm -rf /Users/luigi/opt/android-sdk-mac_86/platforms/android-3/sources/</b>
luigi@hal9000:~$ <b>mkdir ~/opt/android-sdk-mac_86/platforms/android-3/sources</b>
luigi@hal9000:~$ <b>cd ~/opt/android-sdk-mac_86/platforms/android-3/sources</b>
luigi@hal9000:~/opt/android-sdk-mac_86/platforms/android-3/sources$ <b>jar xf ~/android-sdk-1.5_r3-src.jar</b>
</pre>
<p>At this point, restarting eclipse should be enough to have the ADT linked with the source files.</p>
<p>About the platforms available into the Android SDK, under the <tt>platform</tt> directory, there are following folders: android-3, android-4, android-6, and adroid-7.<br />
I am not 100% sure, but they should correspond to the source code identified respectively by following table:</p>
<pre>
android-3 = android-sdk-1.5_r3
android-4 = android-sdk-1.6_r2
android-6 = android-sdk-2.0.1_r1
android-7 = android-sdk-2.1_r1
</pre>
<p>Finally, if you want to remove the sources downloaded you can run the script with the -c (clean) option: it will remove the sources stored temporarily into the folder <tt>/tmp/android-api</tt>:</p>
<pre>
luigi@hal9000:~$ <b>android-src-build.sh -c</b>
(no output returned)
</pre>
<p>Alternatively, you may want to remove the files manually.</p>
<p>Now, after a refresh (or a restart) from Eclipse, the sources from Android classes should look much better:</p>
<p><img id="image425" src="http://en.newinstance.it/wp-content/uploads/2010/05/sources.png" alt="Sample Android Source " /></p>
<p>Check the referenced articles for further information on how to download the android sources, and how the ADT plugin for Eclipse locates the sources for the Android SDK.</p>
<p>I really think that Google should release the sources nicely packed as per the android.jar and make sure they are properly referenced by the ADT. Since then, this is my way.</p>
<p>For questions, mistakes, etc. leave a comment.</p>
<h4>References</h4>
<p>- <a href="http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/">Browsing Android Source in Eclipse</a><br />
- <a href="http://source.android.com/source/download.html">Android sources</a>
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2010/05/18/androidjar-sources/" rel="bookmark" class="crp_title">Android.jar sources</a></li>
<li><a href="http://en.newinstance.it/2010/12/01/android-sdk-2-2_r2-sources/" rel="bookmark" class="crp_title">Android sdk 2.2_r2 sources</a></li>
<li><a href="http://en.newinstance.it/2009/05/13/making-eclipse-javahl-working-recompiling-subversion-from-the-sources/" rel="bookmark" class="crp_title">Making Eclipse JavaHL working, recompiling Subversion from the sources</a></li>
<li><a href="http://en.newinstance.it/2005/08/03/debian-package-managing-survival-guide/" rel="bookmark" class="crp_title">Debian Package Managing Survival Guide</a></li>
<li><a href="http://en.newinstance.it/2009/05/07/java-native-compilation/" rel="bookmark" class="crp_title">Java native compilation</a></li>
</ul>
</div>
<div class="shr-publisher-421"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F05%2F17%2Fattaching-sources-to-androidjar-in-eclipse%2F' data-shr_title='Attaching+sources+to+android.jar+in+Eclipse'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F05%2F17%2Fattaching-sources-to-androidjar-in-eclipse%2F' data-shr_title='Attaching+sources+to+android.jar+in+Eclipse'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F05%2F17%2Fattaching-sources-to-androidjar-in-eclipse%2F' data-shr_title='Attaching+sources+to+android.jar+in+Eclipse'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2010/05/17/attaching-sources-to-androidjar-in-eclipse/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Eclipse slow in OSX</title>
		<link>http://en.newinstance.it/2010/04/15/eclipse-slow-in-osx/</link>
		<comments>http://en.newinstance.it/2010/04/15/eclipse-slow-in-osx/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 08:17:28 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Pitfalls]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Workaround]]></category>

		<guid isPermaLink="false">http://en.newinstance.it/2010/04/15/eclipse-slow-in-osx/</guid>
		<description><![CDATA[I found that eclipse is incredibly slow in OSX, switching from tab to tab, reorganizing or switching the perspectives, or maximizing the tabs, it is so slow that can barely be defined as usable. If you are experiencing the same problem, try to modify the eclipse.ini (Eclipse.app/Contents/MacOS/eclipse.ini) in this way. Change the line -Dosgi.requiredJavaVersion=1.5 to: [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->I found that eclipse is incredibly slow in OSX, switching from tab to tab, reorganizing or switching the perspectives, or maximizing the tabs, it is so slow that can barely be defined as usable. If you are experiencing the same problem, try to modify the eclipse.ini (Eclipse.app/Contents/MacOS/eclipse.ini) in this way.<br />
Change the line</p>
<pre>
-Dosgi.requiredJavaVersion=1.5
</pre>
<p>to:</p>
<pre>
-Dosgi.requiredJavaVersion=1.6
</pre>
<p>Of course, you need to have JDK 1.6 running eclipse.</p>
<p>After the change eclipse starts up very much faster and runs "smooth" as in Windows or Linux.</p>
<p>Additionally I doubled all the memory values in the eclipse.ini file, to grant eclipse more memory resources.
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2008/06/19/setting-up-javahl-jni-support-in-eclipse-on-linux/" rel="bookmark" class="crp_title">Setting up JavaHL (JNI) support in Eclipse on Linux</a></li>
<li><a href="http://en.newinstance.it/2006/06/30/finally-eclipse-callisto-is-out/" rel="bookmark" class="crp_title">Finally Eclipse Callisto is out!</a></li>
<li><a href="http://en.newinstance.it/2007/07/13/eclipse-33-is-hot-code-replacement-still-working/" rel="bookmark" class="crp_title">Eclipse 3.3: is &#8220;hot code replacement&#8221; still working?</a></li>
<li><a href="http://en.newinstance.it/2011/02/10/eclipse-save-actions/" rel="bookmark" class="crp_title">Eclipse Save Actions</a></li>
<li><a href="http://en.newinstance.it/2005/10/04/remote-debugging-tomcat-with-eclipse/" rel="bookmark" class="crp_title">Remote debugging Tomcat with Eclipse</a></li>
</ul>
</div>
<div class="shr-publisher-410"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F04%2F15%2Feclipse-slow-in-osx%2F' data-shr_title='Eclipse+slow+in+OSX'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F04%2F15%2Feclipse-slow-in-osx%2F' data-shr_title='Eclipse+slow+in+OSX'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2010%2F04%2F15%2Feclipse-slow-in-osx%2F' data-shr_title='Eclipse+slow+in+OSX'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2010/04/15/eclipse-slow-in-osx/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Ganymede and Subversive, finally got installed and working</title>
		<link>http://en.newinstance.it/2008/09/03/ganymede-and-subversive-finally-got-installed-and-working/</link>
		<comments>http://en.newinstance.it/2008/09/03/ganymede-and-subversive-finally-got-installed-and-working/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 12:46:14 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://it.newinstance.it/2008/09/03/ganymede-and-subversive-finally-got-installed-and-working/</guid>
		<description><![CDATA[Finally, after many problmes, I got Suversive working on Ganymede. So here I report what you have to do, if you want to do the same. The update URLs to use are the followings: http://download.eclipse.org/releases/ganymede http://www.polarion.org/projects/subversive/download/eclipse/2.0/ganymede-site/ The first one is already present in Eclipse, the second one, you have to add. From eclipse menu HELP [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->Finally, after <a href="http://en.newinstance.it/2008/07/02/disappointed-by-ganymede/">many</a> <a href="http://en.newinstance.it/2008/08/18/ganymede-and-subversive-the-nightmare-continues/">problmes</a>, I got Suversive working on Ganymede. So here I report what you have to do, if you want to do the same.</p>
<p>The update URLs to use are the followings:</p>
<ul>
<li>http://download.eclipse.org/releases/ganymede</li>
<li>http://www.polarion.org/projects/subversive/download/eclipse/2.0/ganymede-site/</li>
</ul>
<p>The first one is already present in Eclipse, the second one, you have to add.</p>
<p>From eclipse menu HELP => Software Updates...<br />
Select Available software Tab.<br />
Click on "Add Site" and specify the URL:</p>
<p>http://www.polarion.org/projects/subversive/download/eclipse/2.0/ganymede-site/</p>
<p>Open the polarion URL open the branch "Subversive SVN Connectors" and check "Subversive SVN Connectors" and "SVNKit 1.1.7 Implementation (Optional)"</p>
<p><img id="image314" src="http://it.newinstance.it/wp-content/uploads/2008/09/Screenshot-Software%20Updates%20and%20Add-ons%20-1.png" alt="svn-install-1" /></p>
<p>Now,  open "Ganymede Update Site" branch, then "Collaboration Tools", and check "SVN Team Provider": </p>
<p><img id="image315" src="http://it.newinstance.it/wp-content/uploads/2008/09/Screenshot-Software%20Updates%20and%20Add-ons%20-2.png" alt="svn-install-2" /></p>
<p>Click on install and cross your fingers. It worked for me on Linux, and for one my collegue on Windows XP.
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2008/07/02/disappointed-by-ganymede/" rel="bookmark" class="crp_title">Disappointed by Ganymede</a></li>
<li><a href="http://en.newinstance.it/2008/08/18/ganymede-and-subversive-the-nightmare-continues/" rel="bookmark" class="crp_title">Ganymede and Subversive the nightmare continues</a></li>
<li><a href="http://en.newinstance.it/2008/07/17/secure-storage-in-ganymede-is-forced-paranoia/" rel="bookmark" class="crp_title">&#8220;Secure Storage&#8221; in Ganymede is forced paranoia</a></li>
<li><a href="http://en.newinstance.it/2006/06/30/finally-eclipse-callisto-is-out/" rel="bookmark" class="crp_title">Finally Eclipse Callisto is out!</a></li>
<li><a href="http://en.newinstance.it/2008/06/19/setting-up-javahl-jni-support-in-eclipse-on-linux/" rel="bookmark" class="crp_title">Setting up JavaHL (JNI) support in Eclipse on Linux</a></li>
</ul>
</div>
<div class="shr-publisher-312"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F09%2F03%2Fganymede-and-subversive-finally-got-installed-and-working%2F' data-shr_title='Ganymede+and+Subversive%2C+finally+got+installed+and+working'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F09%2F03%2Fganymede-and-subversive-finally-got-installed-and-working%2F' data-shr_title='Ganymede+and+Subversive%2C+finally+got+installed+and+working'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F09%2F03%2Fganymede-and-subversive-finally-got-installed-and-working%2F' data-shr_title='Ganymede+and+Subversive%2C+finally+got+installed+and+working'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2008/09/03/ganymede-and-subversive-finally-got-installed-and-working/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Ganymede and Subversive the nightmare continues</title>
		<link>http://en.newinstance.it/2008/08/18/ganymede-and-subversive-the-nightmare-continues/</link>
		<comments>http://en.newinstance.it/2008/08/18/ganymede-and-subversive-the-nightmare-continues/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 11:47:41 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://en.newinstance.it/2008/08/18/ganymede-and-subversive-the-nightmare-continues/</guid>
		<description><![CDATA[I blogged before about how bad is the choice to "incubate" Subversive in Eclipse. Friday evening I wasted much time to find a tutorial on Eclipse and Polarion site explaining how to install Subversive in Ganymede. No way: Eclipse site point to Polarion and Polarion site points to Eclipse site, and both of them are [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->I blogged before about <a href="http://en.newinstance.it/2008/07/02/disappointed-by-ganymede/">how bad is the choice to "incubate" Subversive in Eclipse</a>.<br />
Friday evening I wasted much time to find a tutorial on Eclipse and Polarion site explaining how to install Subversive in Ganymede. No way: Eclipse site point to Polarion and Polarion site points to Eclipse site, and both of them are outdated, the provided update links aren't working.<br />
Googling around I finally found <a href="http://udig.refractions.net/confluence/display/ADMIN/06+Additional+Eclipse+Plugins">a site</a> with a <a href="http://www.polarion.org/projects/subversive/download/1.1/update-site/">working url</a>. Saying "working" I mean a url that at least lets me to install the plugin successfully. Infact, it installs fine, but now everytime I commit I get an error:</p>
<pre>
An error has occurred. See error log for more details.
java.lang.NoClassDefFoundError
</pre>
<p>And when I check the details I see which class is missing and the plugin that is using it:</p>
<pre>
java.lang.NoClassDefFoundError: org/eclipse/ui/internal/util/SWTResourceUtil
	at org.polarion.team.svn.ui.composite.ResourceSelectionComposite$2.getColumnImage(ResourceSelectionComposite.java:281)
	at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:71)
	at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:145)
	at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:386)
	at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:466)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:880)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2041)
	at org.eclipse.jface.viewers.AbstractTableViewer.createItem(AbstractTableViewer.java:264)
	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:741)
	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:633)
	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:620)
	at org.eclipse.jface.viewers.AbstractTableViewer$2.run(AbstractTableViewer.java:576)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1365)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1328)
	at org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:296)
	at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:574)
	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:251)
	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1603)
	at org.polarion.team.svn.ui.composite.ResourceSelectionComposite.createControls(ResourceSelectionComposite.java:358)
	at org.polarion.team.svn.ui.composite.ResourceSelectionComposite.<init>(ResourceSelectionComposite.java:119)
	at org.polarion.team.svn.ui.panel.local.CommitPanel.createControls(CommitPanel.java:205)
	at org.polarion.team.svn.ui.dialog.DefaultDialog.createMainPanel(DefaultDialog.java:329)
	at org.polarion.team.svn.ui.dialog.DefaultDialog.createContents(DefaultDialog.java:190)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.polarion.team.svn.ui.dialog.DefaultDialog.create(DefaultDialog.java:218)
	at org.eclipse.jface.window.Window.open(Window.java:790)
	at org.polarion.team.svn.ui.dialog.DefaultDialog.open(DefaultDialog.java:131)
	at org.polarion.team.svn.ui.extension.impl.DefaultCommitActionFactory$1.open(DefaultCommitActionFactory.java:42)
	at org.polarion.team.svn.ui.action.local.CommitAction.runImpl(CommitAction.java:42)
	at org.polarion.team.svn.ui.action.AbstractSVNTeamAction$2.runImpl(AbstractSVNTeamAction.java:61)
	at org.polarion.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:70)
	at org.polarion.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:38)
	at org.polarion.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:105)
	at org.polarion.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:91)
	at org.polarion.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:82)
	at org.polarion.team.svn.ui.action.AbstractSVNTeamAction.run(AbstractSVNTeamAction.java:58)
	at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:548)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
</pre>
<p>Subversive is calling unexisting method. Probably also this version is outdated.<br />
So, no way, I cannot manage to have Subversive working with Eclipse.<br />
I will probably try to decompile that class and fix the method call, as it is impossible (for me) to find a working Subversive plugin for Ganymede.</p>
<p>I would use Subclipse, that never gave me so many problems, but the team that I recently joined are using features that are not provided by Subclipse (svn:externals property).<br />
Other guys are using Eclipse Europa, I will probably switch back to Europa or keep the error popping on the screen at every commit. The problem, again, is that switching from Europa to Ganymede I had to do a fresh checkout of every project. Because, without doing that, Eclipse was loosing the meta information of subversion and was disabling the version control in the project... </p>
<p>What a nightmare!
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2008/09/03/ganymede-and-subversive-finally-got-installed-and-working/" rel="bookmark" class="crp_title">Ganymede and Subversive, finally got installed and working</a></li>
<li><a href="http://en.newinstance.it/2008/06/19/setting-up-javahl-jni-support-in-eclipse-on-linux/" rel="bookmark" class="crp_title">Setting up JavaHL (JNI) support in Eclipse on Linux</a></li>
<li><a href="http://en.newinstance.it/2008/07/02/disappointed-by-ganymede/" rel="bookmark" class="crp_title">Disappointed by Ganymede</a></li>
<li><a href="http://en.newinstance.it/2010/04/15/eclipse-slow-in-osx/" rel="bookmark" class="crp_title">Eclipse slow in OSX</a></li>
<li><a href="http://en.newinstance.it/2006/06/30/finally-eclipse-callisto-is-out/" rel="bookmark" class="crp_title">Finally Eclipse Callisto is out!</a></li>
</ul>
</div>
<div class="shr-publisher-311"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F08%2F18%2Fganymede-and-subversive-the-nightmare-continues%2F' data-shr_title='Ganymede+and+Subversive+the+nightmare+continues'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F08%2F18%2Fganymede-and-subversive-the-nightmare-continues%2F' data-shr_title='Ganymede+and+Subversive+the+nightmare+continues'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F08%2F18%2Fganymede-and-subversive-the-nightmare-continues%2F' data-shr_title='Ganymede+and+Subversive+the+nightmare+continues'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2008/08/18/ganymede-and-subversive-the-nightmare-continues/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>&#8220;Secure Storage&#8221; in Ganymede is forced paranoia</title>
		<link>http://en.newinstance.it/2008/07/17/secure-storage-in-ganymede-is-forced-paranoia/</link>
		<comments>http://en.newinstance.it/2008/07/17/secure-storage-in-ganymede-is-forced-paranoia/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 12:48:14 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://en.newinstance.it/2008/07/17/secure-storage-in-ganymede-is-forced-paranoia/</guid>
		<description><![CDATA[Typing password is tedious. The "remember my password" has been invented to avoid users to type the passwords. A nice day some genius invented the "password manager" and... guess what? It asks for a password! The Secure Storage has been added in Eclipse Ganymede, it is compulsory, and this is why I really hate it. [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><a href="http://en.newinstance.it/2008/06/27/the-passwords-hell/">Typing password is tedious</a>. The "remember my password" has been invented to avoid users to type the passwords. A nice day some genius invented the "password manager" and... guess what? It asks for a password!</p>
<p>The Secure Storage has been added in Eclipse Ganymede, it is compulsory, and this is why I really hate it. I tried to find out a way to disable it and having eclipse remembering my password as before, but no way. Now you have a password: if you want it or not, and you have to face it.</p>
<p><img src="http://img300.imageshack.us/img300/9605/eclipsesecurestorageca4.png" alt="secure storage in eclipse" /></p>
<p>In firefox, the "master password" can be disabled. Having that possibility is not just luxury, and infact firefox always had this option.</p>
<p><img src="http://img115.imageshack.us/img115/9197/firefoxpreferencesjt4.png" alt="the master password in firefox" /></p>
<p>Keeping the life easy to users should be a mission for software writers. Intrusive security is really boring, Windows Vista is an example:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/FxOIebkmrqs&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/FxOIebkmrqs&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Keep the life easy. Don't put a bodyguard behind the users if they don't require: it will be not welcome.
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2008/06/27/the-passwords-hell/" rel="bookmark" class="crp_title">The passwords hell</a></li>
<li><a href="http://en.newinstance.it/2008/11/10/wassup-yesterday-and-today/" rel="bookmark" class="crp_title">Wassup yesterday and today</a></li>
<li><a href="http://en.newinstance.it/2005/08/31/security-paranoia-restricting-ssh-access/" rel="bookmark" class="crp_title">Security paranoia: restricting ssh access</a></li>
<li><a href="http://en.newinstance.it/2005/07/28/bug-parade/" rel="bookmark" class="crp_title">Bug Parade</a></li>
<li><a href="http://en.newinstance.it/2009/11/26/karmic-and-luks-usb-drive-encryption-made-almost-easy/" rel="bookmark" class="crp_title">Karmic and Luks: USB drive encryption made (almost) easy</a></li>
</ul>
</div>
<div class="shr-publisher-307"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F07%2F17%2Fsecure-storage-in-ganymede-is-forced-paranoia%2F' data-shr_title='%22Secure+Storage%22+in+Ganymede+is+forced+paranoia'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F07%2F17%2Fsecure-storage-in-ganymede-is-forced-paranoia%2F' data-shr_title='%22Secure+Storage%22+in+Ganymede+is+forced+paranoia'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F07%2F17%2Fsecure-storage-in-ganymede-is-forced-paranoia%2F' data-shr_title='%22Secure+Storage%22+in+Ganymede+is+forced+paranoia'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2008/07/17/secure-storage-in-ganymede-is-forced-paranoia/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Disappointed by Ganymede</title>
		<link>http://en.newinstance.it/2008/07/02/disappointed-by-ganymede/</link>
		<comments>http://en.newinstance.it/2008/07/02/disappointed-by-ganymede/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 09:58:45 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://en.newinstance.it/2008/07/02/disappointed-by-ganymede/</guid>
		<description><![CDATA[Looking at little details, also in the user interface, Eclipse Ganymede is not a stable release. I tried on Linux, so I don't know if things go better with Windows. The worst part is the update manager: incredibly slow, bad working and hangs frequently; much better the old one. I lost a couple of hours [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->Looking at little details, also in the user interface, Eclipse Ganymede is not a stable release. I tried on Linux, so I don't know if things go better with Windows.<br />
The worst part is the update manager: incredibly slow, bad working and hangs frequently; much better the old one.<br />
I lost a couple of hours this morning using the new update manager to install Subversive provided by the Ganymede update site. And after installing it didn't get it working: </p>
<pre>
SVN: '0x00400006: Validate Repository Location' operation finished with error: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Client.
Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Client.
</pre>
<p>...and in the SVN Client connector I get an empty combo box, so I cannot select anything. I already installed everything related to SVN in all the update repositories, and cannot find any "Java Subversion connector" or "JavaHL connector".<br />
It is surprising that SVN integration doesn't come with Ganymede by default.<br />
I am doing last attempts, but if I can't get it working, I'll probably give it a last chance with Subclipse, and if this also doesn't work, I'll go back to Europa. Very sad.</p>
<p>The network proxy management is completely broken. So you may find problem connecting eclipse to internet (and of course in the super buggy update manager), even if your proxy setting are correct. This can contribute wasting your time...</p>
<p>It's the first time I have a so bad feeling on an eclipse release. </p>
<p>Update: Subclipse 1.4.0 works on Ganymede. I give it a second chance.
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2008/09/03/ganymede-and-subversive-finally-got-installed-and-working/" rel="bookmark" class="crp_title">Ganymede and Subversive, finally got installed and working</a></li>
<li><a href="http://en.newinstance.it/2008/06/19/setting-up-javahl-jni-support-in-eclipse-on-linux/" rel="bookmark" class="crp_title">Setting up JavaHL (JNI) support in Eclipse on Linux</a></li>
<li><a href="http://en.newinstance.it/2008/08/18/ganymede-and-subversive-the-nightmare-continues/" rel="bookmark" class="crp_title">Ganymede and Subversive the nightmare continues</a></li>
<li><a href="http://en.newinstance.it/2009/05/13/making-eclipse-javahl-working-recompiling-subversion-from-the-sources/" rel="bookmark" class="crp_title">Making Eclipse JavaHL working, recompiling Subversion from the sources</a></li>
<li><a href="http://en.newinstance.it/2008/06/23/very-quick-linux-tips/" rel="bookmark" class="crp_title">Very Quick Linux Tips</a></li>
</ul>
</div>
<div class="shr-publisher-304"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F07%2F02%2Fdisappointed-by-ganymede%2F' data-shr_title='Disappointed+by+Ganymede'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F07%2F02%2Fdisappointed-by-ganymede%2F' data-shr_title='Disappointed+by+Ganymede'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2008%2F07%2F02%2Fdisappointed-by-ganymede%2F' data-shr_title='Disappointed+by+Ganymede'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2008/07/02/disappointed-by-ganymede/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.3: is &#8220;hot code replacement&#8221; still working?</title>
		<link>http://en.newinstance.it/2007/07/13/eclipse-33-is-hot-code-replacement-still-working/</link>
		<comments>http://en.newinstance.it/2007/07/13/eclipse-33-is-hot-code-replacement-still-working/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 15:14:36 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://en.newinstance.it/2007/07/13/eclipse-33-is-hot-code-replacement-still-working/</guid>
		<description><![CDATA[Since the update to Eclipse 3.3 I am noticing that on my current work project the hot code replacement (while in debug) is nomore working: not triggered at all. I&#8217;ve not made further investigation, other than checking on Eclipse release notes that someone worked on that feature. But I found no warnings. If someone noticed [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->Since the update to Eclipse 3.3 I am noticing that on my current work project the hot code replacement (while in debug) is nomore working: not triggered at all. I&#8217;ve not made further investigation, other than checking on Eclipse release notes that someone worked on that feature. But I found no warnings. If someone noticed the same thing, or has some tips, I would like to hear.</p>
<p>I cannot live without the hot code replacement.
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2007/08/24/building/" rel="bookmark" class="crp_title">Building&#8230;</a></li>
<li><a href="http://en.newinstance.it/2010/04/15/eclipse-slow-in-osx/" rel="bookmark" class="crp_title">Eclipse slow in OSX</a></li>
<li><a href="http://en.newinstance.it/2006/06/30/finally-eclipse-callisto-is-out/" rel="bookmark" class="crp_title">Finally Eclipse Callisto is out!</a></li>
<li><a href="http://en.newinstance.it/2011/02/10/eclipse-save-actions/" rel="bookmark" class="crp_title">Eclipse Save Actions</a></li>
<li><a href="http://en.newinstance.it/2008/06/19/setting-up-javahl-jni-support-in-eclipse-on-linux/" rel="bookmark" class="crp_title">Setting up JavaHL (JNI) support in Eclipse on Linux</a></li>
</ul>
</div>
<div class="shr-publisher-248"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2007%2F07%2F13%2Feclipse-33-is-hot-code-replacement-still-working%2F' data-shr_title='Eclipse+3.3%3A+is+%22hot+code+replacement%22+still+working%3F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2007%2F07%2F13%2Feclipse-33-is-hot-code-replacement-still-working%2F' data-shr_title='Eclipse+3.3%3A+is+%22hot+code+replacement%22+still+working%3F'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2007%2F07%2F13%2Feclipse-33-is-hot-code-replacement-still-working%2F' data-shr_title='Eclipse+3.3%3A+is+%22hot+code+replacement%22+still+working%3F'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2007/07/13/eclipse-33-is-hot-code-replacement-still-working/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Give color to your code!</title>
		<link>http://en.newinstance.it/2006/12/02/give-color-to-your-code/</link>
		<comments>http://en.newinstance.it/2006/12/02/give-color-to-your-code/#comments</comments>
		<pubDate>Sat, 02 Dec 2006 00:27:44 +0000</pubDate>
		<dc:creator>Luigi</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://it.newinstance.it/2006/12/02/give-color-to-your-code/</guid>
		<description><![CDATA[I needed a tool to convert Java source code to a nicely printed HTML for this blog. I already knew about Java2Html, that does a great job, but I wanted a clever html and nicer row numbers. Looking inside it, I found that the code for parsing could be simplified, and generated html could be [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic -->I needed a tool to convert Java source code to a nicely printed HTML for this blog.<br />
I already knew about <a href="http://www.java2html.de/">Java2Html</a>, that does a great job, but I wanted a clever html and nicer row numbers. Looking inside it, I found that the code for parsing could be simplified, and generated html could be lightweighted, so I reimplemented it from scratch using Java5 and Maven.<br />
The project page with source code is available <a href="http://code.google.com/p/jrainbow/">here</a>, and the maven-generated website is <a href="http://jrainbow.newinstance.it/">here</a>.</p>
<p>This is the result:</p>
<p><iframe height="400" width="500" scrolling="no" src="http://www.hostingjava.it/-jrainbow/"  frameborder="0"></iframe></p>
<p>Just paste your java source code, or a snippet, select the desired style and submit the form.<br />
You can take the generated html and the css for using on your blog.</p>
<p>The project website will be online soon.</p>
<p>Hope you like it.
<div id="crp_related">
<h4>Related Posts:</h4>
<ul>
<li><a href="http://en.newinstance.it/2007/06/15/jrainbow-the-unknown-online-source-code-colorer-now-supports-xml/" rel="bookmark" class="crp_title">JRainbow, the (unknown) online source code colorer, now supports XML</a></li>
<li><a href="http://en.newinstance.it/2005/09/21/better-html-buttons-with-images/" rel="bookmark" class="crp_title">Better HTML Buttons&#8230; with images</a></li>
<li><a href="http://en.newinstance.it/2009/05/20/svn-inconsistent-line-ending-style/" rel="bookmark" class="crp_title">svn: Inconsistent line ending style</a></li>
<li><a href="http://en.newinstance.it/2010/04/09/how-gwt-is-useful-in-place-of-javascript-and-css/" rel="bookmark" class="crp_title">How GWT is useful in place of  Javascript and CSS?</a></li>
<li><a href="http://en.newinstance.it/2008/10/20/loc-lines-of-code/" rel="bookmark" class="crp_title">LOC (Lines Of Code)</a></li>
</ul>
</div>
<div class="shr-publisher-214"></div>
<p><!-- Start Shareaholic LikeButtonSetBottom Automatic -->
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2006%2F12%2F02%2Fgive-color-to-your-code%2F' data-shr_title='Give+color+to+your+code%21'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2006%2F12%2F02%2Fgive-color-to-your-code%2F' data-shr_title='Give+color+to+your+code%21'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Fen.newinstance.it%2F2006%2F12%2F02%2Fgive-color-to-your-code%2F' data-shr_title='Give+color+to+your+code%21'></a></div>
<div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div>
<p><!-- End Shareaholic LikeButtonSetBottom Automatic --></p>
]]></content:encoded>
			<wfw:commentRss>http://en.newinstance.it/2006/12/02/give-color-to-your-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

