Writing a Tool that depends on a Library
in
Library and Tool Development
•
3 years ago
I've just written a processing library, and now I'm trying to write a tool that depends on the library (i.e., the tool uses some of the classes in the library's .jar file). I'm having trouble. The tool compiles successfully, but problems come up when I try to launch Processing. The Tool complains that it can't find the library classes (it throws a ClassNotFoundException).
I've tried including this line in build.properties --
classpath.libraries.location=${sketchbook.location}/libraries
-- but that doesn't seem to help.
How can I tell the Tool to look for classes in Processing's library folder?
Any suggestions?
Apologies if I'm forgetting to do something obvious. I'm new-ish to Java.
Many thanks,
D.
1