creating a library
in
Library and Tool Development
•
1 year ago
I want to create a library and i'm following the steps now.
I downloaded the template and imported that.
Now i'm add the step of adding core.jar but i have a question about it.
Locate and add Processing's "core.jar" to your build path. It is recommended that a copy of "core.jar" is located in your Eclipse workspace in a "libs" folder. If the "libs" folder does not exist yet, create it. Read the section below regarding where to find the "core.jar" file.
The template folder also has a folder called "lib" (instand of "libs").
But i don't add it there if i'm correct? I just create the folder in the root of my workspace and it it there right?
and
If you created a "libs" folder as described above, put the libraries you need to add to your classpath in there. In the "Properties" of your Java project, navigate to Java Build Path → Libraries, and click "Add External JARs...". Select the .jar files from the "libs" folder that are required for compiling your project. Adjust the "build.xml" file accordingly.
For the core.jar i don't have to change the build.xml i suppose? Cause i looked at the file and i have no clue what to do with it.
1