EclipseZone logo image
Monday, April 09, 2007  

What's New in JProbe® 7.0?

Whether you need resolution support for problematic Java code in production or a proactive approach to application performance tuning in development, JProbe® from Quest Software is on your side. Find out what's new in JProbe 7.0 with a live web demo.

Sign up today!

 EZ News Corner
dzone Most-clicked links this week
 
 EZ News Corner
 Next section
Daniel Spiewak is a Java developer and system administrator from Wisconsin, USA. He has over 7 years of experience in the field and specializes in UI design and peer-to-peer networking.

Daniel Spiewak Podcasting and the Frustration that is Vista

While my newsletter for this week may only be tangentially related to Eclipse, it was what I really felt like writing about and I think that it's a lot more interesting than the topic I was going to choose. (you didn't really want me to run through a belated announcement for Eclipse 3.3 M6, did you?)

Some of you may have either guessed, or caught the news on the wind that EclipseZone will be doing another podcast series surrounding the upcoming Eclipse release in June. This will be similar in intent to the Callisto podcast series expertly performed last year by Riyad Kalla in that I will interview the leads for many of the projects which will be part of the Europa release train. However, we'll be shooting for a slightly shorter format (we thought that an hour was too long), as well as a more evenly spaced schedule (we're shooting for a new release once every two weeks). Mark your calendars everyone, the first podcast comes out May 1st! (thus ends the Eclipse-related content in this newsletter…)

We've already picked the leads we want to go with for the first couple podcasts, and I'm starting recording with them very shortly. However, the obvious technical aspects to such a project should immediately jump out at any of you who've never done podcasting before. In a nutshell, I'm supposed to be recording interviews with individuals spread out across the globe (at least one of them literally half-way around). So the big question is: how is it done?

Well, the answer is Skype. I make a call (either Skype-to-Skype or using Skype Out) to the individual I'm supposed to be interviewing, and then I record the call locally into a two-track audio project (one for me, one for the interviewee). This doesn't seem so hard until you consider that Skype works directly at the audio device level, so either I use a patch cable and a second computer (run a line from the audio out on one computer to the audio in on another), or I use some sort of weird Skype-hack plugin. (actually, Mac provides a third option which would be Audio Hijack, but I'm temporarily out of a mac, so that's not in consideration).

Now, the weird Skype-hack thingy is actually called HotRecord. It's a pretty slick little utility that's designed to do exactly this - record Skype calls into separate audio tracks. The one catch is that it only works on Windows XP.

Being the suave, techno-geek that I am, I'm of course using Windows Vista as my primary OS. This presents a problem for a number of applications, but Skype really seems to have the hardest time with it (other than Trillian, which crashes constantly). Getting Skype to play nice with Vista is like trying to get GNUCash to install nicely on your grandmother's Macintosh. Eventually, "nice" ceases to be an applicable adverb.

Anyway, HotRecord works (as far as I can tell) by using Skype's remote application control API, which basically allows third party applications to "extend" Skype by controlling a running instance. This is all well and good, and really how HotRecord should be doing its dirty work, except that Skype on Vista doesn't like this. It probably trips some weird, UAC access control because any time I try to fire up HotRecord, Skype crashes. It's done the same for any number of other, third party solutions similar to HotRecord. Each time I started the recording process in the recording utility, Skype unceremoniously abdicated my task bar.

Needless to say, things were looking quite grim. I considered using my friend's MacBook, but I'd rather go that route only as a last resort. I was getting to the point of futzing with patch cables and device ports when I realized that there was a very simple solution to the whole mess: don't use Vista.

This isn't the first time Windows Vista - or indeed, any Windows version - has proven itself "not all it's cracked up to be" (to coin a phrase). So I have taken to keeping a few spare virtual machine images lying around for just such occasions. Normally I use them for testing of my applications on older or obscure operating systems, but now seemed to be a good time to perform a slightly different form of test.

I installed HotRecorder and Skype 3.1 (just released a week ago) onto my XP VM and pulled the trigger on my only friend who listens to me: Skype Test Call. And of course, HotRecorder promptly crashed. It seems the app is a little out-dated and doesn't work right with Skype 3.1 (possibly not even 3.0). So, it was back to the drawing board.

It was in this, my darkest hour that Matt used this amazing tool known as "Google" and discovered a third option: Pamela. Pamela is designed specifically for recording Skype calls and supports some pretty neat features like automatically warning your callers about the recording (mandatory in some countries), automatic answering (for voice mail) and recording a stereo mix (separate channels for each side). This last feature is particularly useful and is something I've been looking for in a Skype recorder.

Anyway, long story short, Pamela is designed to work not only on Vista, but with the latest versions of Skype too. It saves the files natively in the WAV format and can export to MP3 as well (though, I'll probably do that in Audacity after editing). So, problem solved.

The really embarrassing bit of this whole saga is that if you look under Tools -> Do More in Skype, you'll find Pamela linked directly from the application. It will even download (and install) the app for you automatically. So, if I had just RTFM rather than trying to hack my own solution together, I might have saved myself a weekend's worth of headache.

The moral of the story: look for the simple solution. Literally if I had looked through Skype a bit more, I would have found Pamela. Now, in my defense I couldn't find Pamela mentioned anywhere on the Skype website in conjunction with recording. I also didn't find it mentioned anywhere else on the web under the same terms. Still, that won't win me back a weekend of head-banging. So, take my mistakes to heart, dear reader, and hopefully you'll be able to avoid the ice-pack.

Until Next Time,
Daniel Spiewak
daniel@dzone.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.
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 - (3 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 - (10 Replies)

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 - (7 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 - (11 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 - (7 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 - (5 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)

 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 application hangs when I try to create report using BIRT

eclipse application hangs when I try to create report using BIRT gies the error Xlib: unexpected async reply (sequence 0x3a7c4)!

Full DiscussionPosted By: rupam - (1 Replies)

remove/modify CVS repository location?

I have create some CVS repository locations. Now, I want to remove or modify some of them. I don't find any way to get the settings.

Full DiscussionPosted By: Sha Jiang - (0 Replies)

using compare API to compare two files

I'm trying to compaire two files by subclassing CompareConfiguration as ResourceCompareInput does, but I'm receiving a null pointer exception.

Full DiscussionPosted By: amer - (3 Replies)

Problem about checkout module from CVS by "Project from CVS"

After listing the modules available and choosing one, pressing "Next" triggers a "I/O interreputed" error.

Full DiscussionPosted By: speedfirst - (1 Replies)

Help with updates

Problem installing plugins or updates in Mint Linux. Needs the following feature: org.eclipse.rcp (3.2.1.r321_v20060801-2ekW2BxmcpPUOoq) Please help

Full DiscussionPosted By: Eric Windham - (1 Replies)

Code Complete silly recommendations, am I missing something?

I am suprised that the choice I am least likeley to choose is shown on top of the code complete's list.

Full DiscussionPosted By: Alen Vrecko - (4 Replies)

How to set breakpoints on external library JARs?

how to link source code to an external library jar to allow breakpoints to be set whilst debugging a project?

Full DiscussionPosted By: davout davout - (1 Replies)

getText and setText methods on control

Am I the only one that is bothered by this code? Why can't there be some common interface that Text, Combo, and others implement.

Full DiscussionPosted By: Mike - (1 Replies)

Cocoa Eclipse for Mac OS X

What is the status of Eclipse on Mac OS X & what possibilities might exist? A) is someone working on a "Cocoa Eclipse" or B) what options exist?

Full DiscussionPosted By: ylon - (5 Replies)

Running test cases in eclipse at runtime workbench

Running test cases in eclipse at runtime.... How can i run a class inherited from test case at the click of a button event at the runtime workbench ....

Full DiscussionPosted By: Shunmugam - (8 Replies)

Template Q

I want to know how to separate the arguments for the command ${enclosing_method_arguments}. Want to add a string in between each of the arguments.

Full DiscussionPosted By: Jannie - (1 Replies)

What do hollow Class icons mean?

In the navigator most of my J-Class files have a thick blue "J" as icons. However, some have a hollow J (just outlined).Why?

Full DiscussionPosted By: Alexander Bogardi - (7 Replies)

Redistribute parts of eclipse?

Under the EPL, am I OK to include a small part of Eclipse, which provides a command-line Java compiler, in my own software?

Full DiscussionPosted By: sam marshall - (3 Replies)

Calling java class from dos bat file

How to run a DOS bat file to call a java program. I have made a jar and want to call a class within it from a bat file

Full DiscussionPosted By: M_ev - (1 Replies)

Multiple output locations from a single source location?

Can we configure Eclipse to create the class files in more than one output location for a single source folder?

Full DiscussionPosted By: Laszlo Szabo - (1 Replies)

eclipse plugin with external jar

How can an external .jar file be properly linked into the plugin as something required for runtime ?

Full DiscussionPosted By: levi yourchuck - (3 Replies)

Action Affecting ListViewer Input

I defined an action in my RCP application that does something to the database but in the end removes a particular item from a certain table.

Full DiscussionPosted By: rdgoite - (0 Replies)

unable to get OSGI "installed " event

unable to get OSGI "installed " event when installed a plugin tru eclipse update manager..where i could get other events like started(after starting the plugin)

Full DiscussionPosted By: vinod - (0 Replies)

Cannot Import Own Packages Into Java Project...

Having trouble importing my own packages into a Java project using Eclipse SDK 3.2.2 for Macintosh. I am following Beginning Java by Wiley.

Full DiscussionPosted By: Kevin O'Mara - (0 Replies)

Error in ListViewer as SelectionProvider

I'm using a ListViewer as a SelectionProvider so that every time I change a selection on the List, other widgets on other views will react accordingly

Full DiscussionPosted By: rdgoite - (0 Replies)

Libraries UML Diagrams

UML diagrams of standards libraries & open-source softwares (Java, Equinox, OSGi, Eclipse & Open Office)

Full DiscussionPosted By: Cédric GAVA - (2 Replies)

Selecting Table Row

I'm using TableViewer and I want to select the whole row when any of the items from that row is clicked. I also want to add listener to the whole row.

Full DiscussionPosted By: rdgoite - (2 Replies)

Eclipse on SUSE 64bit

Eclipse 3.2 behaves differently on 32bit and 64bit platform - SUSE 10.2 with phpeclipse 1.1.8 plugin installed

Full DiscussionPosted By: ocset - (2 Replies)

Delete Command

In my project I have a Delete command implemented so that Edit>Delete or hitting the DEL key will run the delete respective delete command on the

Full DiscussionPosted By: Chip - (0 Replies)

getting a file from website (using servlets?)

Hi, I want to get a pdf file from a site using a URL.. (e.g. http://site.com/page.jsp&P_SomeParameter=Yes) this should return a pdf file

Full DiscussionPosted By: M_ev - (6 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.
Eclipse Sold to Microsoft

The Eclipse Foundation has apparently decided that it has advanced as far as is possible for an open source project. As part of its ongoing effort to produce the best platform possible, Eclipse is being sold to Microsoft. Just what does this entail for the future of our favorite IDE?

Full DiscussionPosted By: Daniel Spiewak - (14 Replies)

Contribution of new OSGi declarative services draws closer

The contribution of ProSyst's declarative services (and other OSGi services) draws closer. The code has been refactored to the org.eclipse namespace, and there's no dependencies on any ProSyst code. It's currently awaiting entry into the incubator.

Full DiscussionPosted By: Alex Blewitt - (2 Replies)

First milestone of Spring-OSGi Released

Costin Leau of Interface21 has announced the first milestone release of Spring-OSGi, which makes it easy to use the Spring framework in applications running on OSGi, including Eclipse plugins and RCP applications.

Full DiscussionPosted By: Neil Bartlett - (1 Replies)

Eclipse Live - Upcoming Webinars

Eclipse has its upcoming April webinars posted at the new Eclipse Live site. Register to learn more about the DSDP Target Management, Dali JPA Tools, and Higgins Trust Framework projects.

Full DiscussionPosted By: Lynn Gayowski - (1 Replies)

Spring/OSGi first milestone available

The Spring/OSGi project has released its first milestone of Spring with OSGi. This marks a big step towards other open-source projects realising the importance of OGSi and making their libraries OSGi aware.

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