Skip to content

Snap does not have the commandline processing-java available #1047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
berkes opened this issue Apr 18, 2025 · 1 comment
Open

Snap does not have the commandline processing-java available #1047

berkes opened this issue Apr 18, 2025 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@berkes
Copy link

berkes commented Apr 18, 2025

Most appropriate sub-area of Processing 4?

Other (specify if possible)

Processing version

4.4.1

Operating system

Linux Ubuntu 24.04.2 LTS x86_64

Steps to reproduce this

  1. Install from source. See a binary called /path/to/source/processing-java. Run this binary with --help. It will show help, starting with
Command line edition for Processing 1295 (Java Mode)

(version will differ)

  1. Now remove it and instead use the new snap to install. Run snap info processing
name:      processing
summary:   A friendly software sketchbook
....
commands:
  - processing

Notice there is no processing-java.

running snap run processing --help launches the GUI an shows an error on the terminal, that --help is not recognized.

Expected behaviour:

snap run processing-java

To run the CLI mode. E.g.

snap run processing-java --sketch /path/to/SomeSketch --run

To compile and run a sketch.

Offering the CLI in a separate snap would be fine as well.

snippet

Not applicable

Additional context

No response

Would you like to work on the issue?

No - I am unfamiliar with the build process of Processing, Gradle, Java

@berkes berkes added the bug Something isn't working label Apr 18, 2025
@Stefterv Stefterv self-assigned this Apr 18, 2025
@Stefterv
Copy link
Collaborator

Hey @berkes Thank you for raising this issue!

As we migrated to the Gradle build system in #888 we didn't catch the use of processing-java in the betas. I just took a look and our snap configuration does not allow us to replicate the processing-java command directly (only processing.processing-java).

So we have two options, either we publish a secondary package on snap called processing-java which would require you to install processing-java separately. Or we roll this functionality directly into the PDE (which I am more in favour of) so we could replace $ processing-java with $ processing -cli for example

@Stefterv Stefterv added this to the 4.4.3 milestone Apr 18, 2025
@Stefterv Stefterv changed the title Snap does not have the commandline "processing-java" available Snap does not have the commandline processing-java available Apr 18, 2025
@SableRaf SableRaf moved this to Backlog in Processing Roadmap Apr 18, 2025
@SableRaf SableRaf moved this from Backlog to In progress in Processing Roadmap Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In progress
Development

No branches or pull requests

2 participants