password
username
Sponsored by CakeMail, an email marketing software.
Newsletter preview

EclipseZone logo image
Thursday, June 21, 2007 

Automate Java GUI Testing with WindowTester Pro

Instantiations WindowTester Pro 2.0 streamlines testing Swing and SWT graphical user interfaces. Focus on creating application logic rather than hand-crafting and maintaining test code through automated recording, test generation, code coverage and playback of GUI application interactions. 100% JUnit compatible.

Free Trial: Download it today!

 EZ News Corner
dzoneMost-clicked links this week
 
 EZ News Corner
 Next section
Alex recently popped down for a flying visit to RDU in a Cessna 182 to catch up with the rest of the DZone guys.

Alex BlewittEuropa Comes into View

We've only got a week to go before one of the most important products in our industry is released. And, as well as the iPhone, Eclipse Europa will also be released on Friday 29th June. :-)

The last few releases of Europa have been very stable, considering the number of bugs that have been addressed; over the past week, over 6700 bugs have been updated. (A number of those are mass migrations from REMIND/LATER status to P5/HelpWanted status, in preparation for the post-Europa upgrade to Bugzilla 3.0.) In particular, a fair bit of attention has been given to the 'new user' experience, by trying to download and install plug-ins from a variety of sources, as well as the existing testing that's gone on.

One of the bigger changes for a RC rollout was the rename of Mylar to Mylyn. The rationale behind the change (explained more eloquently on the Mylyn rename FAQ) was to do with trademarks; Mylar is an existing trademark (albeit not for software) and was decided that it needed to be changed. Europa will ship with the new name, and update sites for the 3.2 builds will provide a transition to using the new name by installing updates to the existing Mylar bundles to disable them as well as installing new Mylyn bundles. This problem has come up a few times before, and I think the Mylyn name change sets a good example to follow for those needing to do something similar in the future.

Ian Skerrett of the Eclipse Foundation has been encouraging discussion of the upcoming Europa in blog posts; there's even a free Eclipse shirt and the chance to win a prize for the best review; all you have to do is blog about it (either on your own blog or at EclipseZone) and let Ian know about the link, such as recommending it via DZone. Contact Ian for terms and conditions.

In the OSGi space, this coming week sees the OSGi community event in Munich. We've also been covering declarative services in the latest couple of updates to the “Getting Started with OSGi” series; and the latest “Getting Started with Eclipse plug-ins” describes how to create extension points that others can extend. OSGi is also gaining strength elsewhere; Prosyst's implementation of Declarative Services is undergoing the incubator process (though not in time for Eclipse 3.3) as well as partnering with db4objects, an embedded OSGi database engine; and SpringIDE based on Eclipse allows configuration of Spring configuration files, not to mention the Spring-OSGi implementation work that's migrating the Spring codebase towards OSGi.

As for recent scare-mongering about SWT and Mac, both the current Tiger and the upcoming Leopard will run both SWT and RCP applications seamlessly. There's been a lot of work that Apple have provided on the SWT_AWT bridge to make the Mac experience better, and improvements to Mac and Java WebStart will be coming when Leopard ships. Although Carbon, an older C-based API upon which SWT is currently based, is a 32-bit library won't be updated to full 64-bit support, there's no reason to suspect that generic server-side applications running Java won't be able to take advantage of the 64-bit memory space. And for the UI-based systems that need SWT (such as RCP or indeed the IDE itself), chances are good that you won't be running it on a system outside the range of 32-bit addressing (i.e. 4Gb) for the near future. Even if your system supports (and has installed) much larger address space, the IDE itself runs in a separate VM from any VMs that you launch, and the JVM debugging interface will work seamlessly between remote VMs, regardless of how much memory space each takes up. Although Apple is clearly focussed on the Objective-C object-oriented/framework API, there's no reason to suggest that Mac is any less of a development platform for Eclipse-using applications — and remember, Eclipse isn't just a Java IDE; it's an IDE for C, for Python, for Ruby ... as well as other (non) IDE uses such as the Lotus Notes runtime. And on the Mac, 64-bit data munging (such as image transformation) is almost certainly handled better by CoreImage and CoreAnimation than it is with generic Java code.

As with last year's release of Europa, there will be (undoubtedly) a lot of interest hitting the Eclipse download servers; and the Eclipse mirrors will be taking the brutn of that download hit. The download router uses GeoIP to attempt to pick a (geographically) nearby mirror instead of downloading something remotely; primarily, that's because it gives better service (it's faster) but also to reduce the global internet traffic. Recently, there's been an upsurge of interest in Eclipse from China, overtaking the US in terms of number of downloads. However, whilst the US is well-covered as far as download mirrors go, China only has one operational mirror. If you know of any providers able to offer mirroring in China for the Eclipse downloads, please contact the Eclipse webmaster to set up a dialogue.

Finally, I'd like to congratulate the Eclipse Foundation members, project leads, committers and contributors for making Eclipse the continuing success story that it is today. It's a testament to the agile project management that year after year, despite hundreds (thousands?) of bundles, the final release of Eclipse falls on or about the same day each year with a quality reputation second to none.

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.
Singleton pattern implementation in 4 steps

Learn to use refactoring functionality and source code modifications and your work will be very efficient and you will produce high quality code.

Full DiscussionPosted By: Roman Bosak - (13 Replies)

Access restrictions on Jars

When developing plug-in projects, you may occasionally get a message saying "The type X is not accessible due to restriction on required project Y". What does this mean, and where does it come from?

Full DiscussionPosted By: Alex Blewitt - (5 Replies)

Install JavaFX into Eclipse

Sun have just announced JavaFX, a 'mee too' competitor to Flex and Silverlight. Despite some documentation hinting that it requires NetBeans, there's an Eclipse plugin too.

Full DiscussionPosted By: Alex Blewitt - (13 Replies)

Synchronizing Views with a GEF Editor

View synchronizing is one of the fundamental features for most Eclipse workbench apps. When using a GEF editor, you can use additional views to provide more targeted information about the selection, or even allow editing. There is a lot of good information about this topic - both in the eclipse docs and in the newsgroups. However, I think I can augment that with a concise set of steps for getting this task done quickly.

Full DiscussionPosted By: Adam Cabler - (1 Replies)

Starting Equinox from a Java application

It's possible to bring up Equinox from an existing Java application. This tip shows you how.

Full DiscussionPosted By: Alex Blewitt - (4 Replies)

Run multiple bundle activators in a single bundle

The OSGi spec only allows for a single bundle activator to be executed, but you can chain several together. This tip shows you how it's done, and how you can reuse code by configuration data in the manifest.

Full DiscussionPosted By: Alex Blewitt - (7 Replies)

Configure your projects to use UTF-8 by default

For a cross-platform language, Java does some silly things in using the local character set of the operating system. Unfortunately, Eclipse uses this default for writing source files of most kinds; fortunately, there's an easy way of configuring it to use UTF-8 by default.

Full DiscussionPosted By: Alex Blewitt - (12 Replies)

Add logging with indirection

Ever wanted to add logging or validation to an existing method that you don't have source to? You can easily introduce indirection in Eclipse, re-writing your calls to that method with your own method, and the add the logging to your method call.

Full DiscussionPosted By: Alex Blewitt - (4 Replies)

Join two lines together

Buried in the new-and-noteworthy is a line that simply says "Joining lines in text editors'. A new keystroke, Control+Alt+J, allows you to join lines together in much the same way that J would work in vi, or equivalent text editors.

Full DiscussionPosted By: Alex Blewitt - (8 Replies)

Generate incorrect equals methods with instanceof

Eclipse 3.3M6 allows you to generate equals methods either using the correct getClass() form, or now also an incorrect instanceof form. The choice is yours.

Full DiscussionPosted By: Alex Blewitt - (11 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.
Package Explorer

I have made 2 projects in a folder called "C:\dan\tools\". One of them was made today and is visible in the package explorer.

Full DiscussionPosted By: Prantap Bedi - (4 Replies)

Relative path to dictionary file for spellcheck

I want to enter a relative path for the spellcheck dictionary but I'm not sure if its possible. For any input other than the absolute path, I receive an error message and the finish button is disabled.

Full DiscussionPosted By: ben dixon - (1 Replies)

Count items in filtered by ViewerFilter in TableViewer

How can I get the number of items which are shown in a TableViewer after I applied a ViewerFilter on it?

Full DiscussionPosted By: David - (1 Replies)

tptp hangs on large projects

hi... when i try to use TPTP profiling on large projects it profiler simply never stops , i neve get any execution results, it may seems to related t

Full DiscussionPosted By: Elhanan Maayan - (0 Replies)

Can i convert org.eclipse.swt.events.FocusEvent to org.eclipse.jface.viewer

Can i convert org.eclipse.swt.events.FocusEvent to org.eclipse.jface.viewers.ISelection type? Its urgent

Full DiscussionPosted By: DebasisMishra - (2 Replies)

Configuring for Remote Development/Build/Debug in Eclipse

Develop C++ Linux application using Eclipse on Windows. Eclipse to seemlessly perform its file saving, compiling, and debugging remotely on Linux.

Full DiscussionPosted By: sccr13plyr - (1 Replies)

How to include plugins

Hi all. I have created a plugin project in Eclipse, with src,bin,icons,... folders. Now, I want to include my plugin in Eclipse

Full DiscussionPosted By: Anne - (2 Replies)

birt:how to get a value of report parameter

i have build a filter , the filter check the value of the report parameter, when some value is set the the report schould not display some elements

Full DiscussionPosted By: king - (0 Replies)

birt:how to get a value of report parametr

i have build a filter , the filter check the value of the report parameter, if some value is set the the report schould not display some elements

Full DiscussionPosted By: king - (0 Replies)

Eclipse product

am trying to learn how to make a product with eclipse.So now im trying to convert it as a product.just to learn how it can be made as a product.

Full DiscussionPosted By: kdcosta - (0 Replies)

Use SWT browser as styled text

Hi, I'm creating chat messenger application that need to use text with multiple fonts I tried to use styledText but

Full DiscussionPosted By: Amgad Hanafy - (1 Replies)

external tool for javap.exe?

I want to create an external tool for javap tool. But how can I build fine arguments for the tool. The argument doesn't include the file suffix.

Full DiscussionPosted By: Sha Jiang - (2 Replies)

How to make an IProject to be an IJavaProject

I´ve identified the projects(IProject) in the workspace being used, and which of them have javanature, but now i need some way to make it IJavaProject

Full DiscussionPosted By: Irving Alvarez Tzuc - (2 Replies)

new Image()

Hi all :D I want to create a new Image with the next code: shell.setImage(new Image(Display.getDefault(), "icons/sample.gif"));

Full DiscussionPosted By: Anne - (2 Replies)

How to save the state of a view before closing it.

I am having 4 views in a rcp application.when i close one view and reopens it i loose the old state of the view.

Full DiscussionPosted By: DebasisMishra - (1 Replies)

How to link views in a rcp application

I am having 4 views in a rcp application.i have linked the views through selectionprovider-selection listener pattern.

Full DiscussionPosted By: DebasisMishra - (3 Replies)

How can I create a new editor?

Hi All. I want to create a new Eclipse editor to put in a table. This idea can be seen in the image.jpg file. Can someone help me? Thanks all :D

Full DiscussionPosted By: Anne - (2 Replies)

Eclipse cannnot resolve org.eclipse.jdt

Eclipse cannnot resolve org.eclipse.jdt... Jar that contains package is in eclipse\plugins folder, how to make it visible for eclipse?

Full DiscussionPosted By: borat - (3 Replies)

How do you run Eclipse 3.3 on Vista?

I've just recently started using Vista like it was meant to be, namely with an admin account and a user account that I use for daily work.

Full DiscussionPosted By: Sascha - (3 Replies)

Tooltips in Linux

Can't see tooltips in package explorer Can't see tooltips in package explorer Can't see tooltips in package explorer

Full DiscussionPosted By: Ale - (0 Replies)

Retargetable Action

How do I attach a retargetable action with the Help->about menu? i.e when user clicks on the about menu, it should be routed to my action class

Full DiscussionPosted By: Kumar J - (0 Replies)

Porting MicroBrokerConfigAgent from WSDD to Equinox

I would like to write the code which sets up bridges in equinox environment, starts micro broker etc. I already have the code to do that in WSDD.

Full DiscussionPosted By: aswin.t4 - (0 Replies)

Getting null getExtension(extension, providerID)

I am getting null when I call getExtension(extension, providerID), where as if I enumerate available extension points I find the extension just fine.

Full DiscussionPosted By: Unseen Warrior - (2 Replies)

mouse move a Ploygon in draw2d

I need help moving a polygon with a mouse in draw2d. I have tried using translate and setLocation but I seem to be stuck.

Full DiscussionPosted By: Lee Venable - (0 Replies)

Keybindings corrupt

After installing the latest CDT update my Keybindings are corrupted. How can I restore them or set them to default?

Full DiscussionPosted By: Ruben - (0 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.
Bad News for SWT on Leopard?

The UI elements of Carbon will not be ported to 64-bit for Leopard, and the Mac OS programming model does not support mixing 64-bit and 32-bit calls. Is this bad news for SWT on Leopard?

Full DiscussionPosted By: Michael Urban - (3 Replies)

Europa Reviews == Spiffy Wardrobe

Ian Skerrett announced yesterday the start of a rather interesting Europa-related contest. Basically, the deal is: write a review of a Europa project, get a T-Shirt. It's as simple as that.

Full DiscussionPosted By: Daniel Spiewak - (3 Replies)

IBM announces jazz.net

IBM today announced the creation of jazz.net, an open portal for the review of the Jazz technology that was presented at this year's EclipseCon. How much of the Jazz codebase will open up remains to be seen, or whether that code will (like other previous IBM projects) migrate to Eclipse.org in the future.

Full DiscussionPosted By: Alex Blewitt - (4 Replies)

Getting Started with OSGi: Declarative Services and Dependencies

We continue our look at Declarative Services with some examples of how to depend on services provided by other bundles.

Full DiscussionPosted By: Neil Bartlett - (1 Replies)

Working sets, Working sets -- wherefore art thou, working sets?

Working sets are a poor man's way of supporting project groups in the Eclipse interface. The ability to create your own combinations allowed a large workspace to be partitioned into virtual smaller ones, reducing the clutter in a screen. However, it's nowhere to be seen in 3.3. Or is it?

Full DiscussionPosted By: Alex Blewitt - (6 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-2007 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 ***-eznews@javalobby.org and please ensure the actual email address to be removed is present.
DeveloperZone Inc., 113 Legault Drive, Cary NC 27513 USA