Modifying Attesoro

Getting the Source

The first step in modifying Attesoro is looking at the sources. There are two ways to get the source code. attesoro.jar contains all the source code. You can get the source code from the jar file. Either rename attesoro.jar to attesoro.zip (different extensions for the same format) and use your favorite zip file extractor, or use the following command line that comes with the Java development kit:
jar xfv attesoro.jar
The second way to get the source code is through CVS. The source code is checked into the CVS server on the Giant Java Tree. You may browse the CVS repository or use your favorite CVS client to get the source. Here is the command that will get the source using the common command line client:
cvs -D ":pserver:anoncvs@cvs.gjt.org:/gjt/cvsroot" login
use password "anoncvs"
cvs -D ":pserver:anoncvs@cvs.gjt.org:/gjt/cvsroot" checkout java/com/Ostermiller

You will find the source code in the com/Ostermiller/attesoro directory. Attesoro also uses some source code from the com/Ostermiller/util directory.

Translating

Attesoro itself can be localized. The properties file to translate is com/Ostermiller/attesoro/Editor.properties. It is currently only English. You may use Attesoro to translate itself if you desire. Once Attesoro has been translated please send the translation to Stephen so that he can include it in the next release.

Compiling

Attesoro comes with a make file that will compile everything. Usually you can go to the com/Ostermiller/attesoro directory and type "make". If that doesn't work, or if you do not have make, you can compile the java files from that directory with:
javac -classpath ../../.. *.java
You can either build the jar file using "make" or "jar", or you may run Attesoro when it is not in a jar file:
java -classpath ../../.. com.Ostermiller.attesoro.Editor