Adding external dependencies
From Mallet
If you want to make MALLET depend on a new external library, you should add the library's jar file to lib/mallet-deps.jar</lib>. The file <tt>lib/mallet-deps.jar is a jar file that contains all the external libraries upon which MALLET depends. If you add jars to mallet-deps, please follow these guidelines:
- Commit the jars you're adding to the lib directory.
- Modify the file name of your jar to include the library version
- Do not modify mallet-deps yourself; instead modify the Makefile, and build mallet-deps from there.
Ideally, mallet-deps would not be controlled by cvs at all (no more than the MALLET class files are). We keep mallet-deps in cvs only for historical reason.
Following these guidelines will make it easier to modify mallet-deps in the future.