classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] New example code for demos


From: Mark Wielaard
Subject: Re: [cp-patches] New example code for demos
Date: Sun, 01 Aug 2004 23:30:55 +0200

Hi,

On Tue, 2004-07-27 at 01:25, Mark Wielaard wrote:
> The following patch adds a example directory, the first demos and the
> build infrastructure to create an examples.zip file that can be
> installed together with the actual sources and resources so hackers can
> immediately start exploring the possibilities of GNU Classpath
> 
> 2004-07-26  Mark Wielaard  <address@hidden>
> 
>        * NEWS: Mention new examples.
>        * Makefile.am (SUBDIRS): Add examples directory.
>        * configure.ac (AC_CONFIG_FILES): Add examples/Makefile.
>        * lib/standard.omit: Remove TestAWT.java and Test.java
>        * gnu/java/awt/peer/gtk/TestAWT.java: Removed.
>        * gnu/java/awt/peer/gtk/Test.java: Removed.
>        * examples/README: New file.
>        * examples/Makefile.am: New file.
>        * examples/gnu/classpath/examples/icons/*.png: New icon resources.
>        * examples/gnu/classpath/examples/awt/Demo.java: New class.
>        * examples/gnu/classpath/examples/swing/Demo.java: New class.
>
> What do you think? Is this a reasonable setup?
> It should be easy to add new examples (IODemo, NetDemo, BeanDemo,
> CollectionsDemo, RegexDemo, RMIDemo, NIODemo, TextDemo, SQLDemo,
> MathDemo, GeomDemo, ...) by just adding a new directory under
> gnu/classpath/examples/ in the examples dir and to add a Demo.java (and
> possibily some helper classes).
> 
> Tested to make sure make distcheck works correctly and that the result
> can be run out of the box with gcj/gij, kaffe, jamvm and kissme. (kissme
> is still a bit fragile though.)

People on irc were enthusiastic about the idea.
After the new gui merging I retested and added one more example (the
roundrect demo) to the awt Demo.java source. make distcheck works and
gcj (even nicer on the gui branch), kaffe and jamvm work out of the box.
kissme has some problems with the swing demo though, but the awt demo
works nicely on it.

Committed.

Cheers,

Mark

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


reply via email to

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