Krysalis Centipede | ![]() |
project/lib | ||
Here is where you usually find the libraries, ie jars. When building complex pieces of software it is not uncommon to find large numbers of jar files in the lib directory. Furthermore, some are needed during build but not during execution, for example, those required by ANT, and so it can become very difficult to work out which are required when packaging a distribution. In order to prevent the need to manualy maintain the build file we use three lib directories by default.
- core - files in here are absolutely required for the project to run.
- endorsed - files are used by both the Centipede build system and the project itself, generally these come out of the ./tools/** directory
- optional - files are things that are not required by the project but may be used to add functionality. The project should still operate if these are missing, it simply doesn;t provide the extra functionality
As with all directories you can change their location by editing the layout.xml file.
by Andrew C. Oliver, Nicola Ken Barozzi, Rosss D. Gardler