EclipseZone logo image
Thursday, December 28, 2006  

Join the Battle Against Bad Java Code

You have an ally in the quest for quality applications... Quest Software. Our white paper, "Performance Testing Methodology," will show you how to effectively implement performance testing in your Java development environment.

Read the white paper now - and we'll send you a JProbe® t-shirt!

 EZ News Corner
dzone Most-clicked links this week
 
 EZ News Corner
 Next section
Alex is currently recovering from one too many festive meals this week. With any luck, he'll be back in time for next month's newsletter.

Alex Blewitt In pursuit of perfection

As the year draws to a close, we can look back on a year's worth of improvements and changes since 3.2M4 was released. Of course, we had EclipseCon 2006 in March, and then Eclipse 3.2 released in June 2006. For the first time, we had a complete release of projects together under the Callisto name; although the foundation was keen to point out that Callisto was a simultaneous release of projects, rather than synchronising on a version number like 3.2. Next year, it will be Europa.

Eclipse has come a long way since then, and it's getting better all the time. There's a lot of hard work that gets put into the Eclipse community to make it better; the full-time committers are obviously a key driving force (sponsored by the foundation members), but it's also important to remember the part-time committers and other community members who contribute fixes to the platform. But it's not just about committers; everyone who uses or blogs about Eclipse, even just raising bugs when Eclipse doesn't do quite what you want or expect, helps the community as a whole. Eclipse may not be me or you, but together as a community everyone can play a part. After all, without a community, where would EclipseZone be? There's a number of nominations on the Eclipse Community Awards to recognise the input of key individuals; nominations are due by 22nd January 2007 and voting begins/ends on the 29th January and 16th February respectively. The winners will be announced at EclipseCon on the 5th March 2007.

Of course, Eclipse can never reach perfection; for one, perfection is subjective, and not everyone necessarily agrees on the best way of doing something; for another, innovation will always continue and newer features are going to be added in the future that make it better than before. For that reason, some people will always use the milestone releases (such as the recently-released Eclipse 3.3M4) in order to take advantage of the recently added features (or fixed bugs). Others will use the current stable Eclipse 3.2 release; and others unknowingly use even older versions, such as the Rational Application Developer whose 6.1 version is based on Eclipse 3.1 (and older still, WSAD 5.1 is based on Eclipse 2.1). Plug-in developers wishing to target those customers often need to be aware that not everyone is using the latest and greatest.

There is, however, a close line between evangelism and fanaticism. Wayne does a good job in the former, going to conferences and giving demonstrations about what Eclipse is capable of (and more often than not, just spreading the word that Eclipse is more than just Eclipse JDT). On the other hand, fanatical comments like "if you don't use langauge x/y/z or ide a/b/c or library 1/2/3 then you're a fool/idiot/communist" really don't help anyone; after all, a good workman should be fluent with multiple tools rather than just treating everything like a hammer (or, if that doesn't work, a bigger hammer). You should also be wary of fanaticism's related sibling hero-worship; just because Uber-Coder "d00d" (or whatever he calls himself) happens to use a particular language/ide/library, it doesn't necessarily mean that that's the best for all situations. Eclipse is great, but it's not perfect; if you want to help make it a little bit more perfect, then add your suggestions to the pile at bugs.eclipse.org or even learn how to contribute fixes yourself.

It's also important to note that Eclipse has competition; commercially, from IntelliJ IDEA in the Java IDE space, and NetBeans in the open-source arena. In fact, IntelliJ IDEA was first released in January 2001 and NetBeans was open-sourced by Sun in June 2000, so Eclipse's 1.0 release in November 2001 definitely makes it the late entry to the pack. But competition is good; ideas that have been created in one IDE have often found themselves in other IDEs at some point later (start your photocopiers ...). I'm also glad that NetBeans now provides the NetBeans platform, which (much like Eclipse RCP) allows you to build applications on top of a framework rather than assembling it by individual widgets. Of course, I'm biased as to which one I'd use, but either of those are a better choice than assembling widgets manually. Given the length of time that both have been around for, it's unlikely that there's many people who have become experts in both platforms, but it would be interesting to hear about the different styles; and indeed, there's a presentation proposal for EclipseCon regarding Eclipse RCP compared with NetBeans Platform which should be interesting.

So, with this newsletter bringing closure to 2006, what of the future? Well, if the the Eclipse way (note: 2005 presentation; the 2006 presentation wasn't uploaded. How come all the little guys submitting talks get harassed about uploading presentations to the server whilst the big guys get away with not submitting them before or after the conference?) is anything to go by, then Eclipse 3.3 will be released in June 2007. (It will be interesting to see if there's a 3.3M5a in February, much like 3.1M5a and 3.2M5a have been released almost immediately after their M5 counterparts :-)

Of course, there's also EclipseCon 2007 coming up in March as well, which some of the EclipseZone team will be going to (including myself). The contents of the conference hasn't been fully decided; whilst the tutorials already have been chosen, the deadline for the long talks to be chosen is on the 30th December 2006, and the short talks by the 30th January 2007. Whilst the programme committee have the final say in which presentations are chosen, your input is used to sway which ones are important to you; so please read and comment on the long and short presentations to help decide what EclipseCon will cover.

I hope that 2006 has been a great year for you, and that 2007 will continue to be so too. Happy Holidays!

Until Next Time,
Alex Blewitt
alex@eclipsezone.com

 Tips and Tricks
 
 Tips and Tricks
 Next section
 Back to top
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.
3.3: Non-Modal Local Refactorings

A new feature of Eclipse 3.3 M4 is the addition of several refactorings as non-modal quick-assist changes in the editor. Learn how to use them in this tip.

Full DiscussionPosted By: R.J. Lorimer - (2 Replies)

Eclipse 3.3M4 on Mac now supports dockable app

Now that the splash screen launcher has been moved into the core Java startup process, there's no need for the JVM to be forked as an external process (instead, it's launched by JNI). This is great news for us Mac users, since now both the Eclipse JDT and any Eclipse RCP applications are finally dockable for the first time in Eclipse's history on the Mac.

Full DiscussionPosted By: Alex Blewitt - (2 Replies)

3.3: Code Clean-Up on Save

In new builds of Eclipse (3.3 M4), you can now setup the Java code Clean Up wizard to run on editor save. Learn about doing just that in this tip.

Full DiscussionPosted By: R.J. Lorimer - (6 Replies)

Camel-Case Searching and Code Assist

Eclipse 3.2 fully supports camel-case searching and code assist; once you use it you may never go back.

Full DiscussionPosted By: R.J. Lorimer - (5 Replies)

Copy and paste code into Eclipse 3.2+

You can cut and past example code directly into a Java project in Eclipse 3.2+. That makes it quite easy for writing example code for demonstrating techniques. Simple, but effective.

Full DiscussionPosted By: Alex Blewitt - (5 Replies)

SWT: Using the Font Dialog

SWT ships with a font dialog widget to support user selection of a system font. Learn how to use it properly in this SWT tip.

Full DiscussionPosted By: R.J. Lorimer - (1 Replies)

A basic Service Oriented implementation using RCP and Servlets

This article shows how to set up a simple Service Oriented development model based upon the Eclipse Rich Client Platform (RCP) for the client side and a plain Java servlet for the server side. The small footprint of this model allows the developer to focus on the basic concepts of the Service Oriented paradigm without having to deal with specific implementations (e.g. Web Services).

Full DiscussionPosted By: Vincenzo Caselli - (6 Replies)

Using longer paths on Windows with UNC

Windows had a path limit of 255 characters in total, which whilst it may not be a lot for documents, can be a limit with large directories in software installations. Eclipse is notorious for long paths, especially if the plugin or feature contains a qualifier and is an unpacked Jar. Fortunately, now it's possible to work around this ancient path limit.

Full DiscussionPosted By: Alex Blewitt - (0 Replies)

Install Eclipse Plugins - The easy way

Eclipse has a well-designed,and extensible architecture. What is valuable about Eclipse is that it provides an open source platform for creating an extensible IDE. This platform allows anyone to build tools that integrate seamlessly with the environment and other tools. The key to the seamless integration of tools with Eclipse is the plug-in. Managing Plugins becomes messy over the period of time. This tip describes an easy way of managing eclipse plugins using "links" concept.

Full DiscussionPosted By: Venu - (6 Replies)

JavaSVN now called SVNKit

Update your bookmarks ... JavaSVN is now called SVNKit. Otherwise, it seems to be the same. Version 1.1 has just been released.

Full DiscussionPosted By: Alex Blewitt - (2 Replies)

 Ask EZ
 
 Ask EZ
 Next section
 Back to top
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.
SQLExplorer Error on Eclipse under Linux FC5

It works great with Eclipse in Windows, but generates an error when trying to use it with Eclipse in Linux.

Full DiscussionPosted By: RobG - (0 Replies)

Char § missing in files after opened with Eclipse

I'm missing the § character in my files, when opening them in Eclipse. It works fine with the OS editor.

Full DiscussionPosted By: bAer`- - (1 Replies)

CruiseControl - Eclipse Plugin Build

Is it possible to merge the plugin build logs that are created within each plugin folder (temp.folder) with cruisecontrol's build process.

Full DiscussionPosted By: Irfan Gulamali - (1 Replies)

Lines In treeViewer ot Tree

Lines are not shown on TreeViewer when no items are shown in the tabled, even when I set the method setLinesVisible to true I does not show the lines.

Full DiscussionPosted By: Isar Shacham - (0 Replies)

jumping Splitter's children

Splitter's children jumping (switches places) after few setMaximizedControl() calls. setVisible(children) didn't help too.

Full DiscussionPosted By: serega - (0 Replies)

file search result highlighting

How do I set the background color used when highlighting search results? The default does not work with my syntax coloring scheme.

Full DiscussionPosted By: James - (0 Replies)

MAC OS X version Eclipse C++ Linking ERROR

System: Mac, Eclips + CPP plugin Question: Our project is C++ project on MAC Eclipse. We built it and found link error for symbol not found: CFNumberCreate We found that "CFNumberCreate" is in "CarbonLib" on Apple's web. We added this file, CarbonLib, to the link library list in project setting. However, we got another error: cannot locate file for CarbonLib. Our problem seems that the correct library is not used in link. Does anyone know how to solve this problem???

Full DiscussionPosted By: Rubing Chiu - (0 Replies)

select treeitem in TreeViewer in one ViewPart from another

How to select tree item in TreeViewer in one ViewPart from another programmatically. May be TreeViewer send with ISelection only tree items belongs to

Full DiscussionPosted By: serega - (1 Replies)

Java3D in eclipse

Need help in running java3d program in eclipse import java3d class without building path everytime i want to make a program

Full DiscussionPosted By: Taufin - (4 Replies)

Using Update manager for commercial product

Need to know if we can use update manager on commercial applications we develop . We dont want to use the eclipse IDE, but the application to do it.

Full DiscussionPosted By: veezee - (5 Replies)

Automatic "Organize Imports"

Save a file and do a automatic "Organize Imports" Each time i save a file, i would like that the "Organize Imports" command is executed.

Full DiscussionPosted By: Kai Suchomel - (5 Replies)

[RCP Development]Retrieving information from manifest.mf plugin file

hi there, I want to programatically get the plugin name as given as the Bundle-SymbolicName entry of the manifest.mf file of my plugin.

Full DiscussionPosted By: Emmanuel BLONVIA - (6 Replies)

Eclipse CDT won't build, but there are no error messages (C++)

Eclipse CDT won't build my C++ projects. When I choose the build command, the debug folder is filled, but no binaries appear! No error messages either

Full DiscussionPosted By: Fedor Steeman - (0 Replies)

Getting started with Eclipse

Is there a quickstart guide anywhere? I'm just starting to use Eclipse after years of working in vim and emacs.

Full DiscussionPosted By: Ryan - (8 Replies)

Why don't find?

I want to find all files(in project A) which contain specific statement. If I use non-"Worksapce" as "Scope", I cannot find anything.

Full DiscussionPosted By: Sha Jiang - (1 Replies)

Running a java application programmitcally from your eclipse plugin

Is it possible to launch a java application programmatically from an eclipse plugin? and if so, how can one do it?

Full DiscussionPosted By: Fergal - (3 Replies)

JDT - can I do the opposite of inlining a method?

Sometimes I'd like to take, say, an enum constant, and make an accessor method that returns it, as part of a larger refactor. Can the JDT help?

Full DiscussionPosted By: Ricky Clarkson - (7 Replies)

Debugging Multithreaded

How to debug a multithreaded java application usingEclipse. Could any one show some insights on this.

Full DiscussionPosted By: Swaminatha Prabhu M - (0 Replies)

CVS Problems: Intermittently Losing Updates to XML FIles

We seem to be having problems losing updates to XML files occasionally using the Eclipse CVS client.

Full DiscussionPosted By: Matt Adams - (0 Replies)

Who can tell the difference between: part, site ....?

Can you tell the difference: workbench, window, site, page, shell, part, perspective ...we can own the RCP platform. Do you agree with me?

Full DiscussionPosted By: hong hai - (1 Replies)

How to use Environment Variables in Java Build Path?

How can we use the Environment Variables when specifying the Java Build Path from project properties?

Full DiscussionPosted By: Richard Chen - (5 Replies)

change key bindings

How to change Eclipse key bindings to use Emacs style key bindings in content-assist dialog and other contexts.

Full DiscussionPosted By: dabd - (0 Replies)

[eclipse 3.2.1] methods auto completion doesn't work

Auto completion for methods of an instance doesn't work !! (example : System. doesn't show System's methods) I don't understand why. Please help me

Full DiscussionPosted By: joeamined - (10 Replies)

Problem with the Eclipse Help Search in RCP

The results of a search are only shown when enabling the button "Show All Topics". It seems to have something to do with capabilities.

Full DiscussionPosted By: Christoph - (1 Replies)

i couldnt able to start the plugin

bundle im trying to start is a protocal logger. when i start i m getting following error. Some body please help me.

Full DiscussionPosted By: kalidass - (1 Replies)

 Popular at EZ
 
 Popular at EclipseZone
 Next section
 Back to top
A recap of some of the most popular and active EclipseZone discussions this week.
When is a closure not a closure?

Groovy conflates the concept of a closure with that of an anonymous code block, and a recent (elongated) thread on EclipseZone moved the discussion backwards and forwards. I wrote to a number of creators of languages and formal programming semantics to ask what their definition of a closure was; read on to find out their responses.

Full DiscussionPosted By: Alex Blewitt - (46 Replies)

Eclipse and Subversion Usage

It came to my attention today that Eclipse.org has installed Subversion as an alternative to CVS for source code version control. Cool!

Full DiscussionPosted By: Daniel Spiewak - (7 Replies)

Is the Update Manager Really so Bad?

We've all heard a lot of guff about how horrible the Eclipse update manager is and how the platform team better get their act in gear and fix it. But is it really so bad?

Full DiscussionPosted By: Daniel Spiewak - (18 Replies)

Happy Christmas from the EclipseZone team

Everyone from the EclipseZone team wishes you a Happy Christmas and a prosperous New Year.

Full DiscussionPosted By: Alex Blewitt - (3 Replies)

Internal Access: A Disturbing Trend?

Many plug-ins are still breaking the API access rules of Eclipse by going for internally marked classes; is the potential cost worth it?

Full DiscussionPosted By: R.J. Lorimer - (10 Replies)

 Your Account
 
 Your Account
 Next section
 Back to top
Manage your account info for this and other DeveloperZone publications.
Manage your DeveloperZone membership details

Click on the following links to:


 Contact Info
 Next section
 Back to top
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
 Back to top
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.

Thank you for your continued support of DeveloperZone. If you prefer not to receive the EclipseZone weekly newsletter, send an e-mail to unsubscribe-eznews@javalobby.org and please ensure the actual email address to be removed is present.
DeveloperZone Inc., 113 Legault Drive, Cary NC 27513 USA