EclipseZone logo image
Thursday, January 26, 2006  

Eclipse In MotionDevelopers' Code Clinic: Help From The Source

Eclipse Logo Register now, to join the Eclipse Foundation, Forrester analyst Carl Zetie, several member companies and your peers for a half day informative seminar. The morning session is dedicated to executives and IT managers and the afternoon session offers a hands-on code clinic for developers.

SAN DIEGO, RALEIGH, DALLAS, and ATLANTA in February and March!

 EZ News Corner
 
 EZ News Corner
 
Riyad Kalla and RJ Lorimer are tag-teaming the EclipseZone community as head EZ editors. They have both been long-time Javalobby.org members and are avid Eclipse users.

Riyad Kalla, editor of EclipseZoneWelcome
Welcome to the first ever EclipseZone newsletter. Before I get started, I would like to thank everyone who has been submitting great content to EclipseZone recently. There have been some fantastic tips and stories submitted as well as quite a few people contacting us about doing in-depth articles on various subjects. We are looking forward to working with everyone to continue building EclipseZone into a valuable resource for the community.

Eclipse: Out of the Box
A topic came up last week that we discussed lightly on the site and a little more behind the scenes that I think is an important (and cyclic) transition we are starting to see: an out-of-the-box experience with your IDE.

If you go back years ago I only remember a few popular players in the Java IDE realm: IntelliJ, NetBeans and JBuilder; at least those were the ones on my radar from work and from reading community news. At the time I think JBuilder was a perfect example of "everything and the kitchen sink", where NetBeans hadn't found it's steam yet, and people just ooh'ed and aw'ed over IntelliJ's ability to autocomplete variables you were merely thinking about. I remember back then an endless list of "Java is slow!", "Too much bloat!", "Trim down these huge IDEs!", "jEdit r0x0rz the b0x0r!" comments from folks. The idea of too much being in the that out-of-box experience to the point where the environment was "sluggish" and "useless" hit hard, causing people to really glom onto trimmed down, plugin-enabled environments, like jEdit. This was good and well for years, until our computers started getting faster and those huge IDEs weren't so slow anymore. People started to come to rely on insanely comprehensive refactoring support, excellent GUI builders and integrated debugging of everything. Around this time is when Eclipse was gaining a lot of steam behind it and a lot of people jumped on board.

I don't think anyone wonders why Eclipse took off as fast as it did, at least I don't: It was like a free version of IntelliJ with a lot of corporate backing and a huge development team.You felt like you were putting your eggs in a safe basket learning it, it wasn't just another SourceForge project that was going to go black after a few months and the initial interested faded (no knock to SF projects, it was just a trend during the pre-Eclipse years to startup IDE projects quite often and have them slow down and die after a while; I know, I started three of them).

So now we fast-forward a year or so, Eclipse has a lot of support behind it, lots of plugins and a lot of plugin developers developing for the platform. At first, this was all good and well: there was really only one download anyone cared about at the eclipse.org site, the Eclipse Java IDE. There were always a small set of sub-projects, but no one paid much attention to them. Then the months passed and more sub-projects were added and the ones that were there started to get more and more mature. Now we find ourselves in a situation where a typical install of Eclipse on a developer's machine may include:

In addition to the above, Business Intelligence and Reporting Tools project (BIRT) is catching quite a bit of steam and a very nice addition to the TPTP tools as well as the C/C++ Development Tools (CDT) project. When you look at the list above and consider all the dependencies that these plugins have, you really start to realize that it's not so easy anymore to have a "complete" install of Eclipse; there is some legwork involved. Some of that leg work is hunting down the home pages for each of these projects (not too hard), then finding the download area (no standard page layout per-project) then finding the right version for your particular release of Eclipse (can get tricky, again no standard layout for these pages). At the end of all this you will end up with 16 files weighing in at 312MB:

Directory listing of a complete Eclipse install.
Figure 1. Directory listing of a complete Eclipse install of the plugins mentioned above

This is a fairly daunting listing considering what I had to do to get it, so how can this process be made easier? This is something that I think IntelliJ (and to a growing extent NetBeans) is doing wonderfully. When you fire up IntelliJ 5, if you want plugins, click "Plugin Manager" and browse through the list, selecting the ones you want; all done. Does this take more setup and organizational work on the JetBrain's side? You bet it does, but damn is it nice.

Given how functional the Eclipse Update Manager is, I can't believe a facility for a "central repository" could be that hard to setup. A few users in the news groups, on our forums and in private emails have brought this idea up again and again: a central repository of the more popular/stable plugins for Eclipse.

You want plugins? Fire up the Find & Install dialog and walk your way through it similar to the IntelliJ or NetBean's approaches. I know that enough times to annoy me, I have found a great plugin I want and when I do a clean install of Eclipse I need to go hunt down the update site for it again so I can install it (e.g. Subclipse).

With all of this in mind, I think this is an effort that the Eclipse group has recognized for a while and is putting measures in place to combat this. The first line of defense is the introduction of what they are calling their Callisto Simultaneous Release (or Callisto Release Train as I've also heard it). The idea behind this is to coordinate all the projects I listed above in such a way as to ship in line with future Eclipse releases starting with the 3.2 release. If this move is successful and these projects end up meeting this deadline I think the next step should (maybe it is) be to setup a central update site with these projects and their respective releases listed in it and pre-registered in the default Eclipse install. How cool would that be to download the 3.2 SDK, unzip it, fire up Find & Install and throw check marks next to EMF, GEF and VE and be all ready to rock and roll? Real cool, that's how cool!

Well I think I've beaten that horse to death, so I'll wrap up. It's nice to see the Eclipse group continue to guide Eclipse in a productive fashion, not forgetting the *details* of a large scale project like documentation, delivery, user interaction, etc. along the way. As developers, we have an incredibly rich environment to develop in and realize our goals with. I look forward to reading feedback, corrections and ideas from you all at EclipseZone. Thank you for reading.

Until Next Time,
Riyad Kalla
editors@eclipsezone.com

 Tips and Tricks
 
 Tips and Tricks
 
 
Nearly every day, RJ and others, bring you the hottest tips and tricks from around the Eclipse universe. Have a hot tip? E-mail the editors at editors@eclipsezone.com.
Go Digging With Incremental Find

Eclipse has a rarely talked about feature that is particularly popular in the Firefox web browser - incremental text find. Learn how to use it in this tip.

Read the full tip and discussion Posted By: R.J. Lorimer - (13 Replies)

Adding heapstatus in Eclipse 3.1.x without -debug options

this trick show how you can patch eclipse source for example, i choose adding heap status. heap status can be added in eclipse 3.1 with -debug option, but it is slow and we will see how add this without -debug options

Read the full tip and discussion Posted By: Haris Peco - (0 Replies)

Providing consistent clipboard behavior in form-based workbench parts

When working with form-based editors or views, users expect the global Cut, Copy, Paste, and Delete actions to work for text controls. By default, this is not the case. This example demonstrates how to accomplish this using the TextActionHandler class.

Read the full tip and discussion Posted By: Peter Nehrer - (0 Replies)

Resolving ClassLoader issues across plug-ins

If the library jars are on a different plugin, and they use dynamic class loading, simply using the known trick: Thread current = Thread.currentThread(); ClassLoader oldLoader = current.getContextClassLoader(); try { current.setContextClassLoader( XyzTest.class.getClassLoader()); //Call the library code } ... ... finally { current.setContextClassLoader(oldLoader); } will not help. This tip analyses the reason and provides solution.

Read the full tip and discussion Posted By: Sanjay Chaudhuri - (3 Replies)

Tuning Eclipse Performance and Avoiding OutOfMemoryExceptions

A quick tip covering the use of heap size and permSize adjustments for Eclipse to help improve it's performance and avoid OutOfMemoryExceptions with larger installs.

Read the full tip and discussion Posted By: Riyad Kalla - (20 Replies)

Organize the Package Explorer View

Sometimes the items in the package explorer get out of sorts. Learn how to re-organize them by reading this tip.

Read the full tip and discussion Posted By: R.J. Lorimer - (6 Replies)

Keeping Eclipse running clean

A quick tip covering different strategies for keeping your Eclipse install running clean, some solutions to common problems and tips on performing a clean reinstall.

Read the full tip and discussion Posted By: Riyad Kalla - (20 Replies)

Make Eclipse use Windows XP Theme

Vineet provides a helpful tip that is often hard to find within the SWT documentation on how to get Eclipse to display using the Windows XP theme.

Read the full tip and discussion Posted By: Riyad Kalla - (2 Replies)

Ease Code Maintenance with the Cleanup Wizard

Eclipse 3.2 M3 introduced the Java code cleanup wizard. Eclipse 3.2 M4 has extended it, making it a little more robust; a little more intelligent.

Read the full tip and discussion Posted By: R.J. Lorimer - (6 Replies)

Using Scrapbook Pages

One of the most undervalued and forgotten features of Eclipse is the scrapbook page, which allows to execute Java expressions without having to create a new Java program. This is a neat way to quickly test an existing class or evaluate a code snippet.

Read the full tip and discussion Posted By: Joćo Almeida - (7 Replies)

 Ask EZ
 
 Ask EZ
 
 
Everyone has questions, especially about a platform such as Eclipse that has so much potential to be customized. EclipseZone comes to the rescue as our editors answer nearly any question you can think of in our Ask EZ forum.
Sharable Java project?

How can I share my Java project with my friends in an easy way? I'm coming from JCreator, so i'm a bit confused on how to work with Eclipse

Read the full question & Discussion Posted By: DreamT - (2 Replies)

plug-in DOS

When I launch my plug-in I wonna execute .bat files in differents times(pushing != buttons), but i don“t find the correct way.

Read the full question & Discussion Posted By: jose regino - (4 Replies)

Remote updates for plugin

I want to understand, how to enable/support remote updates for plugins developed in eclipse? Any pointers or reference?

Read the full question & Discussion Posted By: Indrajeet Ray - (2 Replies)

how to add a Selection change event listener to ComboBox PropertyDescriptor

How to add a onclick event listener or Selection change event listener to ComboBox PropertyDescriptor cellEditor(i.e ComboBoxCellEditor)

Read the full question & Discussion Posted By: Suresh Ganta - (0 Replies)

Does there exist an Eclipse plugin that...

I'm looking for an Eclipse plugin which matches the description in this message......................

Read the full question & Discussion Posted By: Sean McGowan - (2 Replies)

Content Assist not working

Once the code assist window is opened, Eclipse stops accepting keyboard input (other than the Escape key)

Read the full question & Discussion Posted By: Doug Clark - (3 Replies)

CSS Plugin with Code Completion?

I'm looking for a CSS Editor plugin that provides code completion. Does the CSS Editor with WTP provide this?

Read the full question & Discussion Posted By: Ryan Stewart - (1 Replies)

Synchronication between different pages of a multi-form editor

How can i achieve synchronization between the different pages of a muti-form(multi-page) editor using a model object .

Read the full question & Discussion Posted By: Nagraj - (1 Replies)

Workbench refresh

I have a project that exists on a network drive, when I start up Eclipse if the drive is disconnected the project doesnt show in the list.

Read the full question & Discussion Posted By: Dan McCullough - (6 Replies)

linux remote server setup for repository

I have a remote linux server I would like to store the project there, and test there. How do I do it?

Read the full question & Discussion Posted By: Dan McCullough - (5 Replies)

Adding a Jar File to the Project build-path programmatically

We are developing a plug-in to to help our users to create our java components. It is similar to the Class Creation wizard.

Read the full question & Discussion Posted By: Nagraj - (5 Replies)

How to i create nested properties

Do i need to extend the propertSheetPage to display nested category properties? I want to display properties in tree like-structure

Read the full question & Discussion Posted By: Erica Mitchell - (0 Replies)

How to preserve existing line breaks in the java formatter?

I was wondering if there is an option to "Preserve existing line breaks" in the code formatter? Code Style > Formatter

Read the full question & Discussion Posted By: Nathan - (1 Replies)

Eclipse RCP analysis

Anyone has an analysis of the eclipse rcp/platform and swt Vs netbeans platform/swing ? ? ? comparing the two platforms? or just one?

Read the full question & Discussion Posted By: Marco Ferreira - (1 Replies)

error starting eclipse

when i start eclipse i get the message : NLS missing message : ECLIPSE_STARTUP_ERROR_CHECK_LOG in org.eclipse.core.runtime.adaptor.EclipseAdaptor

Read the full question & Discussion Posted By: Ennius - (2 Replies)

defaultUndoManager: never undoable?

Nothing is undoable, but I'm really not sure why. If I had a better idea where to look, I think I'd be okay.

Read the full question & Discussion Posted By: Andres J. Tack - (0 Replies)

JAR files added to product via variable are not recognized as JAR files

Using eclipse 3.1 I created a plug-in project which will hold external jars. Fixed locations work. Variables do not.

Read the full question & Discussion Posted By: Michael Scott - (0 Replies)

How to tranfer "Value Object" between different View Classes of RCP

In the RCP applicaton I am creating , a sample "value object" has to be transfered between different different View Classes of RCP

Read the full question & Discussion Posted By: Ananda - (1 Replies)

Eclipse user interface guideline

There is current a user interface guideline for v.2.1. Where can I find Eclipse User Interface Guideline for v.3.x?

Read the full question & Discussion Posted By: Vairoj Arunyaangkul - (2 Replies)

Remote Server Synchronization

I'm looking for an SFTP plugin for eclipse. Like many, I keep several copies of a project: a local copy, a remote testing copy, and a live copy.

Read the full question & Discussion Posted By: Christopher Clarke - (12 Replies)

 Popular at EZ
 
 Popular at EclipseZone
 
 
A recap of some of the most popular and active EclipseZone discussions this week.
How Can Eclipse Become the Most Powerful Java IDE?

Eclipse took home a lot of awards from the JDJ Reader's Choice Awards, but missed the target on best Java IDE. What do you think Eclipse needs to become the most powerful Java IDE available?

Full Discussion Posted By: R.J. Lorimer - (37 Replies)

Tuning Eclipse Performance and Avoiding OutOfMemoryExceptions

A quick tip covering the use of heap size and permSize adjustments for Eclipse to help improve it's performance and avoid OutOfMemoryExceptions with larger installs.

Full Discussion Posted By: Riyad Kalla - (20 Replies)

How to include external jar when exporting a product

Hi
I'm exporting my project but it failed because my project that i have been running in the workspace so far, has an external jar org.eclipse.ui.forms_3.1.0.jar. When i'm exporting my project how can i include this jar file.

Full Discussion Posted By: david - (16 Replies)

2 Points for Eclipse in IDE Wars

Rob acknowledges that other IDEs, IntelliJ and NetBeans, bring interesting features to the playing field but the deal breakers for him are two simple points when it comes to Eclipse: Market share, plugins.

Full Discussion Posted By: Riyad Kalla - (16 Replies)

Go Digging With Incremental Find

Eclipse has a rarely talked about feature that is particularly popular in the Firefox web browser - incremental text find. Learn how to use it in this tip.

Full Discussion Posted By: R.J. Lorimer - (13 Replies)

 Your Account
 
 Your Account
 
 
Manage your account info for this and other DeveloperZone publications.
Manage your DeveloperZone membership details

Click on the following links to:


 Contact Info
 
 
Here's how to reach us, we love to hear from you.
Email us
Send news items to editors@eclipsezone.com
Send questions, complaints, or suggestions to feedback@javalobby.org
Send advertising inquiries to advertise@javalobby.org
 
Call us
Our number is (919) 678-0300. We'd love to hear from you!

 Legal
 
The fine print we'd rather avoid completely.
Feel free to redistribute this newsletter in part or in full to your friends.

EclipseZone News is a service mark of DeveloperZone, Inc.
Copyright ©2001-2006 DeveloperZone, Inc.