Skip to content

py5generator build process breaks with Processing v 4.4.0 #629

Closed
@hx2A

Description

@hx2A

The py5 build process is dependent on the Processing. Previously I would download one of the release archives (e.g. processing-4.3.4-linux-arm64.tgz) and unzip that, but as of 4.4.0, files like that are no longer being created. I need to adapt py5's build process to either use the result of Processing's new Gradle build process or use one of the portable files (e.g. processing-4.4.1-linux-x64-portable.zip).

To complete the build, I need all of the files and resources that are currently in these subdirectories:

https://github.com/py5coding/py5/tree/main/py5/jars
https://github.com/py5coding/py5/tree/main/py5/natives

Right now I think my best bet is to use the portable release file. I think I can get all of the jar files I need from these portable subdirectories:

lib/app/resources/core/library/
lib/app/resources/modes/java/libraries/svg/library/
lib/app/resources/modes/java/libraries/pdf/library/
lib/app/resources/modes/java/libraries/dxf/library/

Q: Are there jars in lib/app/resources/core/library/ that I don't need? I don't think the annotations, antlr, or kotlin-stdlib jars are needed. Is there anything missing that I am overlooking?

Q: And what about the native libraries currently in https://github.com/py5coding/py5/tree/main/py5/natives? These seem to be packaged up in the *native* jar files in the portable release's lib/app/resources/core/library/ directory. How do I use them? Currently py5 uses this function to add the native libraries to the java.library.path System property. How does this work with the native library files in jars? Do I just add the native jar file to java.library.path?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions