Krysalis Centipede
Published: 01/16/2004 12:34:41
 
  krysalis at sf.net > krysalisFont size:      
 

How To... Start a Project - Write Code

PDF
PDF

Write Your Source Code

You can now get on with writing your source code using your favourite editing environment. The java source files belong in ./src/java and any required libraries belong in ./lib/core (don't forget to place any license files in ./legal as well).

The krysalis-project template provides a single class as an example to illustrate where to place source code. However, you are not restricted to src/java as in the template. You can always change the location of your sourcecode in the modules.xml file

If you like to write test code for all your classes (it really is a good idea, see junit.org for more information) then you shoudld place the test code and resources in the directory identified in the test element of the modules.xml file

by Ross D. Gardler



Valid HTML 4.01!Valid CSS!