classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A free swing milestone?


From: Mark Wielaard
Subject: Re: A free swing milestone?
Date: Mon, 03 Oct 2005 01:54:59 +0200

Hi David,

On Sun, 2005-10-02 at 19:04 +0000, David Gilbert wrote:
> To run the tests from the GUI, I clicked on the '...' button which 
> brings up a list of all the tests found.  I clicked on the 
> JCommonTestSuite option in the list (it includes all the tests), clicked 
> 'OK', and then clicked 'Run'.  There are other ways that work too, and a 
> fair few that will get the application into a bad state (but we can work 
> on that).

Thanks that worked. And except for some drawing irregularities it
actually seems to behave nicely.

> I think this (the JUnit GUI test runner) is a good application for us to 
> polish up as a showcase for our free swing, because it is relatively 
> simple, yet it is recognisable as a "real-world" application to the 
> majority of Java developers (most of whom know about JUnit already).

The only failures seemed to be Serialization issues with Font. I added
some preliminary Serialization support and now we get all green!

http://www.klomp.org/mark/classpath/junit-jcommon.png

> P.S.  If you prefer compiling the source code yourself before running 
> the tests, change to the 'ant' subdirectory and type 'ant compile' 
> (assuming you have Ant installed).  But the above steps will work fine 
> with the precompiled jar files included in the JCommon download.

Now that ant is in Debian unstable I installed it and tried it out. I
had the following problem at first:

BUILD FAILED
/tmp/jcommon-1.0.0-rc1/ant/build.xml:245: The following error occurred
while executing this line:
/tmp/jcommon-1.0.0-rc1/ant/build.xml:228: Warning: Could not find
file /tmp/jcommon-1.0.0-rc1/maven-jcommon-project.xml to copy.

But removing all maven references from build.xml seemed to work around
that and I could compile and change some code for better debugging.

Cheers,

Mark

-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]