EclipseZone logo image
Friday, February 02, 2007 

Only 30 days left! Find out what EclipseCon offers

EclipseCon • Network with Eclipse committers and leaders
• Learn about RCP, Mylar, and 70 other projects
• Enjoy hearing Dilbert creator, Scott Adams
• Choose from over 200 pro technical sessions


Don't just take our word for it. Find out for yourself!

 EZ News Corner
dzoneMost-clicked links this week
 
 EZ News Corner
 Next section
Alex is currently in Bangalore. Normal service will be resumed shortly.

Alex BlewittJSR 291 passes by a landslide

As you may have noticed, EclipseZone has had a few problems recently with posts not making it through to the newsgroups (and vice versa). We think we've nailed that problem on the head, so posts should be getting through now. We've also had a few glitches where posts would appear to be duplicated; hopefully that's been resolved as well. It seems that we're not the only ones that have had problems; Eclipse.org has suffered an uncharacteristic failure last week too. Let's hope that February is better for both of us, and able to cope with the load in March!

We've also been working on a new look for EclipseZone. You can preview the new look at eclipse.dzone.com; in addition, we'll be adding a news feed for the newsletter too. Let us know what you think of it!

It's been a pretty eventful couple of weeks. Recently, JSR 291 passed the public review stage; for those that don't know, it's the JSR ratification of the OSGi 4.1 service release. Whilst it's been argued by some that rubber-stamping the existing OSGi spec may not add much, in fact there have been some notable changes to OSGi 4.1 that have evolved from the working groups. In particular, bundles can be started 'transiently' i.e. they do not automatically start on the next platform restart. The benefits of being part of the JSR process will also help users of OSGi; as the comment from Apache shows, there's still some work to open up the licensing of the spec, and hopefully the involvement with the JSR process will help that.

Being (predictably) one of the no voters, Sun is betting on the JSR 277 horse instead. Some might argue that it's a mule, rather than a horse; for example, it doesn't have the concept of separate classloaders which gives the OSGi platform the ability to bounce bundles at run-time. I personally think it's quite likely that Sun will railroad JSR 277 into Java 7, in much the same way that it railroaded the logging packages in (and with much the same effect).

However, the result of the OSGi JSR is unlikely to mandate that it is bundled with the core Java libraries; instead, it's going to provide a more formalised reference specification as well as testing compatibility kit for open implementers to use. This is actually a good thing; as Peter noted on the OSGi blog recently, Java has become fat and bloated over the years. That's one of the reasons behind Steve Jobs' rationale of not having Java on the iPhone.

What's really needed is a fresh approach; by reducing the VM to a kernel that can then have bundles attached, you can have a much more modular system and include what you want without the cruft. In fact, that's exactly the approach that Harmony is taking; a core JavaVM kernel, and many individual bundles providing distinct units of functionality (IO, Net, AWT etc.). Perhaps when the Sun VM and libraries are fully GPL'd, we'll see innovative approaches there too (though you won't be able to call it Java TM).

Meanwhile, work continues furiously on the Eclipse platform, with large numbers of bugs being closed daily. We're nearly at 3.3M5; by the time you get the next EclipseZone newsletter, you should have been able to download it. There should also be plenty more examples of the new Menu item placement structure; if you've got plugins that you want to migrate towards 3.3, then this is something you need to start looking into now.

The nominations for the Eclipse awards have now closed (and thanks for whoever nominated me for top ambassador :-) Voting will run for three weeks until February 16th, with the winners announced at EclipseCon. We'll be running profiles over the next week at EclipseZone's front page so if you don't know the nominees, you can find out about them before voting. It's a great way to recognise the people who contribute towards the Eclipse community and codebase; you might want to wait until you've read the profiles before making your mind up! But don't forget to vote before February 16th, when voting closes.

Lastly, EclipseCon is filling up fast; early registration (which gives over 15% discount off the full price) closes in a couple of weeks (February 14th), so if you want to save money, you should register soon. Last year, EclipseCon sold out well before the conference, and given the rise in traffic and usage of Eclipse RCP, combined with the co-hosting of the OSGi developer conference, means that it's likely to sell out sometime in February this year. If you want to guarantee a place, register now and we'll see you there!

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.
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 - (4 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 - (4 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 - (1 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.
eclipse/myeclipse startup problems

I have installed the latest versions of both along with plugins like maven, testng and cobertura. Whenever I open the workspace, I get 'Index error'

Full DiscussionPosted By: srinivas ramgopal - (0 Replies)

Not locating JDK

I am currently receiving an error message when I start up eclipse, it simply states that it cannot locate my JDK.

Full DiscussionPosted By: Schalk Neethling - (1 Replies)

Creating PopUpMenus in a TreeView

Need help on implementing popUpMenus in a Tree component. Mt app is based on the RCP mail template provided by Eclipse 3.2

Full DiscussionPosted By: A G - (0 Replies)

JSF Visual editor in Eclipse

How to use JSF visual editor in eclipse.Please make me clear the complete procedure to make the visual editor run.

Full DiscussionPosted By: Manda Sriram - (1 Replies)

question regarding j2ee project creation from build.xml

I'm able to create a project using a build.xml file, but how do I deploy & debug that project on a server?

Full DiscussionPosted By: Paul Waibel - (0 Replies)

Line spacing in editors

I would like to increase the line spacing in editors so the code would be more readable. Searched everywhere, but could not find preference.

Full DiscussionPosted By: John Dowland - (0 Replies)

generic and overriding problem

I declared an interface and a class with generics, but Eclipse point out an error. The class method does not override the interface method.

Full DiscussionPosted By: Nicola Grippaldi - (0 Replies)

How to import gantt project using Eclipse 3.1 !!

wanting to develop on the gantt project in offline mode using Eclipse3.1 platform after checking out the core project and plugins from CVS Repository!

Full DiscussionPosted By: Varun Prathap - (3 Replies)

packaging problem when exporting

My jars for a plugin project org.mycompanyname.myproject are packed as org.mycompanyname.myproject.org.mycompanyname.myproject

Full DiscussionPosted By: Kees Pieters - (8 Replies)

How to expose a main class in a plugin jar ?

I am in a situation where I would like to expose a main class inside of a plug-in jar............ .............. ...... .......... ....... ....... ...

Full DiscussionPosted By: Patrick - (4 Replies)

Exporting and run a JAR file

Need Help in Exporting JAR and run a JAR File.I am currently making an interface using javax swing...

Full DiscussionPosted By: Taufin - (3 Replies)

Problem in creating my own data set in BIRT

Problem in adding my custom page in "New Data Set Wizard". "NEXT" of the existing dataset wizard should show my page.

Full DiscussionPosted By: vedika - (0 Replies)

One Eclipse download for Windows +Linux+MAC ?

Just download Eclipse win32. Replace swt.windows with swt.mac or swt.linux. I only have ISDN so constantly downloading different releases is really taking too much time!

Full DiscussionPosted By: alaska - (2 Replies)

How to "tail -f" from inside Eclipse?

Is there a way to tail -f a log file from inside Eclipse so that I can see updates to the file without having to explicitly refresh Eclipse's view?

Full DiscussionPosted By: Graeme Harker - (1 Replies)

How to make eGet to return inherited feature

I load my.ecore based on mymeta.ecore metamodel. Than list AllStructuralFeature values. I got values for features of class but from inherited got NUL

Full DiscussionPosted By: Bosko - (1 Replies)

Password protected files during Eclipse install?

When I download eclipse-SDK-3.2.1-win32.zip and attempt to extract the files, a few of them (eg AutoRefreshCallbacks) request a password.

Full DiscussionPosted By: Commander Salamander - (4 Replies)

No Consoles to display at this time

Need Help for to get my Console output window back. It display "No Consoles to dispaly at this time". But it has some output to print.

Full DiscussionPosted By: kirti - (2 Replies)

Visual Editor - XML Persistence

Where do I start if I want to persist the VE Model to custom XML format ? Is there a tutorial to help this ?

Full DiscussionPosted By: Sunil Ramaiah - (0 Replies)

Unable to update

I just installed Eclipse on my MS-Windows XP laptop and I get connections problems when I try to get latest updates.

Full DiscussionPosted By: Ed Keith - (9 Replies)

configaration of jetty

Hello all How to configer jetty web server on eclipse Is there is any plug-in for jetyy ...............

Full DiscussionPosted By: mahya - (2 Replies)

problems in runtime and execute environments

When validating the plugin set I keep getting validation problems due to differences between runtime and execution environments

Full DiscussionPosted By: Kees Pieters - (3 Replies)

reordering tree nodes

TreeViewer does not return selected nodes in the same order. This causing problem to reorder nodes using treeviewer.

Full DiscussionPosted By: Pramod - (0 Replies)

Refreshing Tree Does Not Restore Grayed/Checked States Correctly

When refreshing a ContainerCheckedTreeViewer, the previously checked children of grayed nodes are not restored correctly.

Full DiscussionPosted By: Aaron - (2 Replies)

Profiling a Java-Application within Eclipse

How to start profiling with TPTP for a written app within Eclipse. I fail due to Mustang has cancelled JVMPI support.

Full DiscussionPosted By: LeO - (6 Replies)

Run-Time Workbench

Run Time Workbench is missing from the 'Configurations:' column when I attempt to run my project. What do you think may be the problem?

Full DiscussionPosted By: Niky - (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.
Is Eclipse too "Windows-esque"?

Recently, there has been discusion on Wassim Melhem's blog regarding how Eclipse feels and meshes with other platforms (such as Linux and Mac). Is Eclipse really lacking in this area?

Full DiscussionPosted By: Daniel Spiewak - (46 Replies)

MyEclipse SNAPs Release

Today, Genuitec is announcing the release of a brand new feature of MyEclipse called SNAPs. This is part of the 5.5 release and represents a whole new class of tooling.

Full DiscussionPosted By: Daniel Spiewak - (6 Replies)

Nominations for Top Eclipse Ambassador Closed

Eclipse.org has been taking nominations for Top Eclipse Ambassador for a month and a half. Now, a final list has been selected.

Full DiscussionPosted By: Daniel Spiewak - (2 Replies)

JSR 291 passed

JSR 291 (OSGi 4.1) has passed the initial review ballot. Predictably, Sun voted against it (but was the only company to do so) on the grounds that they think their JSR 277 will be better. Is this a good move for Eclipse, or just rubber-stamping the process?

Full DiscussionPosted By: Alex Blewitt - (9 Replies)

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 - (49 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