-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
is processing4 available in a maven repository? #262
Comments
In GitLab by @maxandersen on Aug 28, 2021, 17:46 fyi, based on https://discourse.processing.org/t/processing-4-core-maven-artifact/27334/2 I made https://github.com/maxandersen/processing4/tree/jitpack which enables using jitpack for building and fetching maven dependencies. Example using jbang.dev: ///usr/bin/env jbang "$0" "$@" ; exit $?
// //DEPS <dependency1> <dependency2>
//REPOS jitpack,mavencentral
//DEPS com.github.maxandersen:processing4:jitpack-SNAPSHOT
//processing relies on mac specific classes removed in Java 10 and highger
//https://discourse.processing.org/t/error-hello-processing-jdk-10-osx-high-sierra-com-apple-eawt-quithandler-not-supported/1396/3
// JAVA 8
import processing.core.PApplet;
import processing.core.PVector;
import java.awt.*;
import static java.lang.Math.max;
import static java.lang.System.*;
import static processing.core.PApplet.cos;
import static processing.core.PApplet.mag;
import static processing.core.PApplet.pow;
import static processing.core.PApplet.sqrt;
import static processing.core.PConstants.TWO_PI;
import java.awt.Polygon;
public class purplerain extends PApplet {
// Depth sorting example by Jakub Valtar
// https://github.com/JakubValtar
@Override
public void settings() {
size(640, 720, P3D);
}
public void setup() {
colorMode(HSB, 100, 100, 100, 100);
frameRate(60);
}
public void draw() {
//beginRaw(PDF, "output" + frameCount + ".pdf");
if (!mousePressed) {
hint(ENABLE_DEPTH_SORT);
} else {
hint(DISABLE_DEPTH_SORT);
}
noStroke();
background(0);
translate(width/2, height/2, -300);
scale(2);
int rot = frameCount;
rotateZ(radians(90));
rotateX(radians(rot/60.0f * 10));
rotateY(radians(rot/60.0f * 30));
blendMode(ADD);
for (int i = 0; i < 100; i++) {
fill(map(i % 10, 0, 10, 0, 100), 100, 100, 30);
beginShape(TRIANGLES);
vertex(200, 50, -50);
vertex(100, 100, 50);
vertex(100, 0, 20);
endShape();
rotateY(radians(270.0f/100));
}
//endRaw();
if (frameCount % 30 == 0) println(frameRate);
}
public static void main(String... args) {
PApplet.main( "purplerain", args);
}
} What is important ( at least on OSX ) is to use Oracle/JAVA.net JDK which you can get using jdkman if that is in place then the code above runs using: |
In GitLab by @ThexXTURBOXx on Aug 31, 2021, 14:12 I think, this would be great for a PR. I, personally, use Processing in many of my projects and still rely on this |
In GitLab by @marko-radosavljevic on Sep 2, 2021, 20:54 Yeah, every time I create new processing project, I check if maven artifact exist, and check latest news in processing repo. ^^ Maintainer opinion on this is, sadly, pretty clear: processing/processing#5666
Latest two issues and community discussions on this topic:
This is not official, it's not being updated, and not endorsed by the processing project. What motivated me to reply to this issue is the fact that I had to debug a friend's processing project today, and the issue was stale and unofficial maven artifacts :/. Hopefully things will change for processing 4. ❤️ |
In GitLab by @ben.holland.core on Sep 20, 2021, 20:53 re: The responses mentioned here? |
Created by: davidpc-te A more up to date unofficial option: |
Created by: benfry Support for a Maven release would mostly be about setting something up that extends the build process so that the artifacts can be created as part of In the meantime, I'm looking into having the current unapproved Maven artifacts removed because of all the confusion they're causing. It's frustrating for me because I don't have time to support a Maven release, and have been really clear about that, and now I'm forced into dealing with the unapproved post to Maven Central and spending time I don't have getting the unapproved posting removed. Help me out here, folks… Updated to add: closing this for now; if someone wants to do the work outlined above, please set it up as a PR and we can see about making it work. |
Created by: github-actions[bot] This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs. |
In GitLab by @maxandersen on Aug 28, 2021, 15:55
Description
processing 3.x is available in maven under org.processing:core:3.3.7.
Where are the 4.x published to ? Would like to use them directly from java
using standard build tools. thank you.
The text was updated successfully, but these errors were encountered: