Java Bits

Tiny pieces of java we think are worth sharing. The following projects are available:
CodeStripper
Java ant task to strip tagged text from a text file.
The codestripper works like a kind of preprocessor or filter that removes tagged lines from a text file. Its initial purpose is to strip solutions from exam projects, but it can also strip comments from your files for the purpose of putting them as illustration on your sheets or in your documents.
Installation: put the jar file in the ant lib directory, under Linux© typically /usr/share/ant/lib, and generaly under $ANT_HOME/lib.
Slotmachine Gui
A Gui for exam purposes.

The software engineering 1 exam project has been engineered to make testing by trying almost impossible. A business application that use a random generator at its core is hardly testable by hand.

Installation: put the slotmachinegui.jar and icons.jar files in the java lib directory, under Linux© typically /usr/share/java.

For those that are curious how the gui is implemented, the source and all resources in a zip file.

If you want to complete your Netbeans SlotMachine library, you might want to add the slotmachinegui-api.zip too.

Sample exam project
To give our students a change to prepare themselves for the SEN1 performance assessment, we provide a sample exam file set:

If you want to take yourselves seriously, take our advice and develop your solution test driven, that is, write the test first, so that it fails and then write the implementation. The implementation will become much clearer then. And also note that in the real test we only grant points if the tests are present. You get only bonusses for a working implementation (which in fact test your tests).

LaVa
Discription will follow.
Tally map
TallyMap class to test concurrent applications. All sources in a zip file. Note that this is a snapshot. Public read access to the tallymap svn repostory. Stay tuned!

Pieter van den Hombergh
Last modified: Wed Jun 4 16:32:09 CEST 2008