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 jar file
in the java lib directory, under Linux© typically /usr/share/java.
- Sample exam project
- To give our students a change to prepare themselves for the SEN1 performance assessment,
we provide a sample exam file set:
- The exam documentation file in dutch and german in pdf
format.
- The gui api for on line browsing
- The gui library in a jar file.
Installation: download and put the jar file
in the java lib directory, under Linux© typically /usr/share/java.
- The exam
project to start with. This a zip file of the
initial project in your svn repository during the test
session. Unpack it and you should be able to use it as a
netbeans project. You also must install the
slotmachinegui.jar somewhere
( under Linux© typically
/usr/share/java. see the slotmachine gui link above) and maybe update the
netbeans project for the missing library. The lib is
called slotmachinegui.jar
- For those that are curious how the gui is implemented,
the source and all resources in a zip file.
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.
Pieter van den Hombergh
Last modified: Thu Jun 5 14:53:49 CEST 2008