EclipseZone logo image
Friday, February 23, 2007 

Get the #1 Commercial Eclipse tool for $99 until March 23rd!

We'd like to thank the community for voting BEA Workshop Studio the #1 Commercial Eclipse IDE in 2006 with a online-only promotional pricing of $99.00 USD, support not included. Find out how unique features like Spring artifact generation from EJB3-Hibernate, and AppXRay™ make this the #1 tool on the market.

Buy it now using promotional code: Special$99.00

 EZ News Corner
dzoneMost-clicked links this week
 
 EZ News Corner
 Next section
Alex will be heading off to EclipseCon in the near future. Make sure to look him up, ask him for his autograph and/or buy him a caffeinated beverage of your choice.

Alex BlewittEclipseCon approaches, but will OSGi steal the show?

It's now less than 10 days until the start of EclipseCon, and the preparations are drawing to a close. With almost 400 separate events listed on the full list over the 4 days, it's shaping up to be an excellent conference; there's a bunch of recommended tracks (including mine) if you're not sure what to see.

One of the great things about EclipseCon is the diversity. There's the exhibitors (as well as the open-source pavilion which was so successful last year), the tutorials as a paid-for extra, late-night Birds-of-a-Feather (BOF) sessions as well as projects and camps -- oh yeah, and the remainder of the talks on Tuesday Wednesday and Thursday. But it's not just the diverse events; the Eclipse ecosystem is huge and not just JDT, so there's specific topics for reporting, AJAX, embedded development, webtools -- the list just goes on.

The only downside is that you can only be in one place at once; sometimes it's difficult to see it all! Last year, the bloggers hit the feeds such as the EclipseZone Front Page feed, which gets aggregated with other Eclipse blogs via Planet Eclipse's feed. It was actually really great to be there with other bloggers; I felt that I attended several tracks simultaneously by reading what other bloggers were writing at the time; and I'm sure that people who were unable to make it to the conference in person appreciated it, too. I'll be doing my bit again this year, so stay tuned!

Actually, I do wonder whether the most useful nugget out of this year's EclipseCon is actually the OSGi Developer Conference which is co-hosted with EclipseCon. There's a lot of interest in OSGi as an application layer -- as well as Eclipse (and the RCP derivatives) it's finding traction in distributed computing, libraries, directory services, application servers -- the list goes on and on.

The only thing holding back full adoption by the core open-source libraries in use today (e.g. Apache Jakarta Commons) is the lack of a decent OSGi build tool for Maven (which is what they predominantly use) to generate OSGi meta information in the build itself. Some of this work is being addressed by Apache Felix, which is the open-source OSGi implementation from Apache. I think once that problem gets solved, and key libraries (Jakarta commons, spring etc.) get built as bundles, then it will make deploying OSGi apps trivial. Of course, there's also BND, which can generate bundle headers using existing Jars, but it would be better to weave this information into the upstream systems -- currently, what happens is that the Jars get packaged up into a nested OSGi bundle. There is an article on Building Eclipse Plugins with Maven 2 on eclipse.org, but what's really needed is a guide for open-source developers who are building (currently) plain Java libraries.

I do also think that a standalone maven-like OSGi build tool, combining the abilities of (say) CruiseControl and Maven into a single OSGi system is inevitable. If I wasn't so busy hacking away at Pack200 or putting together some things for the provisioning proposal then I might take a stab at it myself.

If you're not sure what OSGi is, and want to know more, then Neil Bartlett has been posting an excellent introductory series to OSGi on EclipseZone, as well as a recent article on a comparison of Eclipse extensions versus OSGi services. We also put together a demo for JSig in London last week -- the presentation, code and screencasts of the demos are available at http://www.eclipsezone.com/files/jsig/ if you're interested in taking a look at them. I'd be interested to hear any feedback on the screencasts either at the EclipseZone post or alternatively mail me at the below address. For example, do the screencasts work for you, and if so, are there any other topics that you'd like covered?

So, as this newsletter draws to a close, and Eclipse 3.3M5a edges slowly out the door, I'm looking forward to this year's EclipseCon. Stop me and say "hi" if you recognise me from my new-and-improved floating head (thanks Ian!) but if not, the colourful ties will surely give the game away. And I'll also be at the Eclipse Community Awards on the Monday night to congratulate Chris the winner of the Top Ambassador Award, as well as the winners from the other finalists that we've been profiling over the last few weeks.

See you there!

Until Next Time,
Alex Blewitt
alex@eclipsezone.com

It's time to Klocwork your code

Now available as a standalone developer desktop tool, Klocwork Developer for Java is a downloadable Eclipse plug-in that lets you automatically analyze your Java code for serious defects and security vulnerabilities as you go. Test our award-winning static analysis technology on your own code.

Try Klocwork Developer for Java FREE for 30 days - Get a bonus H20 bottle!

 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.
Wrapping selected code in a block

An oldie but a goodie -- you can create a selection with Ctrl+Shift+Arrows, and then use Control+Space to insert a multi-line template such as surrounding with try/catch or becoming the body of a while loop.

Full DiscussionPosted By: Alex Blewitt - (5 Replies)

Running 'tail' inside Eclipse

A recent question on Ask EZ about how to tail a file's output in Eclipse prompted me to answer; but in the spirit of sharing the idea with others, I'm posting the reply to the Tips and Tricks page.

Full DiscussionPosted By: Alex Blewitt - (6 Replies)

Trying out a bugfix in Eclipse, without redeploying your application.

Apply simple code-changes to the application you're debugging in eclipse, without needing to restart it. This can be a lifesaver if your application takes forever to build and restart and you just want to see the effect of a minor code change.

Full DiscussionPosted By: Daniel Bray - (5 Replies)

Using detail formaters for pretty-printing objects without toString()

Did you know Eclipse can substitute any classes toString() method for displaying output in the Debug view? It's a little-known feature, but can make debugging -- particularly of internal code -- a lot easier.

Full DiscussionPosted By: Alex Blewitt - (5 Replies)

Sort Members

The sort members functionality is under used, but it can be of great benefit. Here's why.

Full DiscussionPosted By: Alex Blewitt - (5 Replies)

Getting Started With Eclipse and Groovy

Groovy, a dynamic language for the Java platform, has reached 1.0 status. Learn how to start working with Groovy in your Eclipse projects using their provided Eclipse plug-ins.

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

Switching Branches with Unfinished Changes

Eclipse supports a feature to switch to a different branch or version from the one you are working on, even when you have unfinished/uncommitted changes.

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

Prevent multiple files from cluttering up your editor

Whenever you open a new file in Eclipse, it opens up as a new editor. If you're not careful you can end up with tens of files open at one time. Why not keep the editor area clean by closing them automatically?

Full DiscussionPosted By: Alex Blewitt - (6 Replies)

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 - (3 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)

 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.
XML syntax highlighting

Does anyone how the XML syntax highlighting in eclipse without installing 50meg's worth of plugins I don't use (like web development toolkit etc...)?

Full DiscussionPosted By: pan69 - (0 Replies)

copying workspace from another developer

I recently installed WSAD 5.1.2 and I copied over a colleague's workspace to get everything but the server configurations did not get copied over. why

Full DiscussionPosted By: Novi - (4 Replies)

How to migrate from Netbeans to Eclipse

Hi, I need help to migrate my Netbeans 5.0 GUI project to Eclipse 3.2. It contains a two .java files, a single .form file, and several .gifs.

Full DiscussionPosted By: saz - (7 Replies)

Eclipse application hangs when I select New Project -> birt report

I want to generate report using BIRT ,I have installed eclipse 3.2.1 on my machine, but when I select, create new birt report,then my eclipse hangs

Full DiscussionPosted By: abhilasha - (1 Replies)

How to enable actions in an actionset

I have created an Eclipse plugin which has 10 actions to perform various activities. I am looking for a way so that i can enable or disable all the 9

Full DiscussionPosted By: amit - (0 Replies)

What to Undo some edited text in case of StyledText?

Please give an example where undo is working fine with StyledText.How can I implement "Undo" feature here?

Full DiscussionPosted By: Tapamay Ghosh - (0 Replies)

Integrating RCP Applications

I have here two RCP applications. They were created with the intention of joining them in the end. But I don't know how.

Full DiscussionPosted By: rdgoite - (1 Replies)

Closing a Perspective

How can I close the current perspective in my RCP application. I am presently using new ClosePerspectiveAction(window).run() ;

Full DiscussionPosted By: A G - (4 Replies)

running/debugging current editor or open file

How can I run or debug the currently open editor in non java editors, without specifically setting the 'file to execute' parameter?

Full DiscussionPosted By: Chris - (4 Replies)

Problem regarding dynamic changing of Eclipse RCP view's partname.

I want to change the name of the tab which is containg the view dynamically as well as programatically.

Full DiscussionPosted By: Tapamay Ghosh - (5 Replies)

Using the TableTreeViewer

I've been searching the web for articles about the usage of TableTreeViewer but I couldn't find any.

Full DiscussionPosted By: rdgoite - (1 Replies)

eclipse 3.2 hangs if I try to close eclipse using File..exit

I created a new workspace in eclipse 3.2 and imported a project. Then I try to close the eclipse using File..exit. It hangs and I have to kill eclipse

Full DiscussionPosted By: parag - (3 Replies)

Execute command programatically?

Hello all, I want to execute one of the existing eclipse command (for example "Run Java Class" right-click> Run As> Java application

Full DiscussionPosted By: karthik - (0 Replies)

JBoss JPBM Designer in Eclipse

JBoss JBPM Designer ( the IDE for graphically building processes ) doesn't work on Intel Mac under Eclipse 3.2 and later.

Full DiscussionPosted By: John Wooten - (0 Replies)

eclipse tptp testing questions

I am new eclipe tptp and I have few questions about the testing project of tptp platform. My current enviornment is eclipse 3.2.x with testng.

Full DiscussionPosted By: srinivas ramgopal - (0 Replies)

eclipse tptp

I am new to eclipse tptp and would want to integrate it into a J2EE application running on Weblogic.So how is tptp different from weblogic JMX feature

Full DiscussionPosted By: srinivas ramgopal - (0 Replies)

Can barely get started

I'm brand new to Eclipse and Ruby and just trying to run this code using the Ruby Development Tools

Full DiscussionPosted By: Mark - (2 Replies)

Cancelling Build All from Ant

How do I cancel a Build All in Eclipse from an Ant build script to prevent dependent projects from building?

Full DiscussionPosted By: Trevallion - (1 Replies)

How to refresh the list of known classes/types in Eclipse

My "Open Type" dialog doesn't contain all class files contained in my project. How do I tell Eclipse to "refresh" the list of known class?

Full DiscussionPosted By: Geert D - (4 Replies)

Integrating Java application source code into a plugin

Integrating Java application source code into a plugin.Is it possible to run this code with a main function from within the plugin.

Full DiscussionPosted By: Fergal - (2 Replies)

Accessing code/text of currently selected .java file

I wish to access the code in the selected java file..but with the object i get through the selection service i am unable to proceed further

Full DiscussionPosted By: abhinay - (0 Replies)

No Consoles to display at this time

Suddenly no output: "No Consoles to display at this time" while Allocate Console in Launch Configuration (Run> Run...> Common tab)is checked On.

Full DiscussionPosted By: Tom - (0 Replies)

Eclipse Project setup/configuration problem

Trying to setup a 'release' project that contains 6-8 component/module projects and having problems because of projects within projects limitation.

Full DiscussionPosted By: Mike Miller - (0 Replies)

Adding Actions

Rich Client Platform Application terminates abnormally when a custom action is registered to the ApplicationActionBarAdvisor.

Full DiscussionPosted By: rdgoite - (4 Replies)

get file that are referenced by Bundle Entry into swt browser

How can I convert the url that comes back from Platform.getBundle(Application.PLUGIN_ID).getEntry("html/index.html") into the browser

Full DiscussionPosted By: Martin Roberts - (2 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.
Will SWT Ever Break the Big Time?

SWT's been around for a long time now. Yet, it still remains a (comparatively) unpopular toolkit. Will it ever get the attention it deserves?

Full DiscussionPosted By: Daniel Spiewak - (44 Replies)

OSGi at JSig in London on Feb 15th

If you're in London tomorrow, there's a talk at JSig on OSGi and dynamic applications. We'll be demoing using a Swing app with OSGi and dynamically adding actions based on OSGi services, and will be demonstrating building OSGi with NetBeans (more to prove that it's possible than anything else!). It's free to attend, but you need to register first.

Full DiscussionPosted By: Alex Blewitt - (7 Replies)

Apache LDAP Studio 0.6.0 released (based on Eclipse RCP)

Eclipse RCP is everywhere. From mail applications to XML editors, and now in the Directory space. Apache LDAP studio is built on Eclipse RCP and provides viewing and manipulations of an LDAP directory, and can be deployed standalone or integrate into an existing Eclipse install.

Full DiscussionPosted By: Alex Blewitt - (4 Replies)

Getting Started with OSGi: Registering a Service

We continue our OSGi mini-series with a look at how the service registry works, and how to register a service.

Full DiscussionPosted By: Neil Bartlett - (4 Replies)

SWT on Mac: Java updates and DST fixes

Apple has released Java for Mac OS X 10.4, release 5. Interestingly, the release notes say "This release updates J2SE 5.0 to version 1.5.0_07, Java 1.4 to version 1.4.2_12 and improves SWT compatibility for J2SE 5.0" -- so SWT on the Mac is alive and well. Now, if only I can fix the application packaging problem ...

Full DiscussionPosted By: Alex Blewitt - (4 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