processing-library-template icon indicating copy to clipboard operation
processing-library-template copied to clipboard

Is it lib or libs?

Open hamoid opened this issue 8 years ago • 2 comments

Hi, I see the repo includes a lib folder, but the readme mentions creating a libs folder. Is it one, the other or both? Cheers!

hamoid avatar Mar 30 '17 08:03 hamoid

Looking at the ant file it seems to be lib, there's no mention of libs. Should the readme be updated?

hamoid avatar Mar 30 '17 08:03 hamoid

Hey, there are actually two folders libs and lib.

  • libs is where you would put JARs to add to your classpath, but that you don't want to add to your Library package. A good example of this is Processing's core.jar. This path is set in the build.properties file.
  • lib is where you would put JARs to add to your Library package. These are dependencies for your Library to work properly that aren't part of Processing. An example of this is if you were to write a Twitter client for Processing, you'd probably use Twitter4J and include the twitter4j.jar file in your lib folder.

prisonerjohn avatar Apr 03 '17 18:04 prisonerjohn