I maintain a Processing library that requires some specific .dll/.dylib/.so files that I include with the library when it is downloaded.
When a sketch that includes my library, how can have these folders copied into the application.windows/lib folder? In the same way that the data folder is copied to the applications.windows/ folder.
In principle, assuming you’ve setup you library correct, it gets nearly automatically.
If you have dependent system libraries, like ie. .dll for windows or .so for linux, your library project should be bundle like this …
mylibrary
mylibrary/library.properties
mylibrary/examples/…
mylibrary/src/…
mylibrary/library/mylibrary.jar
mylibrary/library/jna.jar (assuming, jna interface to the dll,so,etc.)
mylibrary/library/windows-amd64/my.dll
mylibrary/library/linux-amd64/my.so
In that case, the export application choose the corresponding system libraries depending on which port you choose and put them into the exported lib directory …