From 6bddf9a83c57b8b0bcea2dd6a677d01437adf376 Mon Sep 17 00:00:00 2001 From: trackme518 <50262885+trackme518@users.noreply.github.com> Date: Mon, 21 Sep 2026 16:19:43 +0200 Subject: [PATCH] Build fixes for modern Processing and JDK - build.properties: Processing 4.1+ ships versioned jars under Contents/app/resources/core/library; use glob patterns for core and jogl-all. Bump library version to 10 (4.1), tested against 4.5.6. - build.xml: javadoc classpath referenced a nonexistent core.jar and had a broken {project.bin} expansion; use the build classpath. Replace the legacy ExampleTaglet (com.sun.javadoc API removed in recent JDKs) with javadoc's standard -tag option, and drop the dead processing.org javadoc link. Companion to the Syphon/Java pull request adding the universal (Apple Silicon + Intel) native build; the java submodule pointer should be updated to the merged commit. --- resources/build.properties | 20 ++++++++++++-------- resources/build.xml | 18 +++++++++++------- resources/library.properties | 4 ++-- 3 files changed, 25 insertions(+), 17 deletions(-) diff --git a/resources/build.properties b/resources/build.properties index 690cf1d..b9cf2e9 100644 --- a/resources/build.properties +++ b/resources/build.properties @@ -28,16 +28,20 @@ sketchbook.location=${user.home}/Documents/Processing # For OS X,the following path will direct you into Processing's application # package, in case you put Processing inside your Applications folder. -classpath.local.location=/Applications/Processing.app/Contents/Java/core/library +# Processing 4.0 betas placed the jars in Contents/Java/core/library, while +# newer releases (4.1+) use Contents/app/resources/core/library and version the +# jar file names, hence the glob patterns below. + +classpath.local.location=/Applications/Processing.app/Contents/app/resources/core/library jsyphon.location=java/JSyphon -# Add all jar files that are required for compiling your project to the local -# and project classpath. Use a comma as delimiter. These jar files must be +# Add all jar files that are required for compiling your project to the local +# and project classpath. Use a comma as delimiter. These jar files must be # inside your classpath.local.location folder. -classpath.local.include=core.jar, jsyphon.jar, jogl-all.jar +classpath.local.include=core*.jar, jogl-all-2*.jar # Add processing's libraries folder to the classpath. @@ -132,12 +136,12 @@ source.repository=https://github.com/Syphon/Processing.git # This is used to compare different versions of the same library, and check if # an update is available. -library.version=9 +library.version=10 # The version as the user will see it. -library.prettyVersion=4.0 +library.prettyVersion=4.1 # The min and max revision of Processing compatible with your library. @@ -155,12 +159,12 @@ compatible.maxRevision=0 # against. This information is only used in the generated webpage. tested.platform=macos -tested.processingVersion=4.0b7 +tested.processingVersion=4.5.6 # Additional information for the generated webpage. -library.copyright=(c) 2011-2022 +library.copyright=(c) 2011-2026 library.dependencies=opengl, syphon library.keywords=frame sharing, realtime, osx, opengl diff --git a/resources/build.xml b/resources/build.xml index ef50004..bfca5dc 100644 --- a/resources/build.xml +++ b/resources/build.xml @@ -215,18 +215,22 @@ ${line} - + windowtitle="Javadocs: ${project.name}" + additionalparam="-Xdoclint:none -tag example:a:"Example""> - - - + + + + + + diff --git a/resources/library.properties b/resources/library.properties index 17fdaca..e11a24f 100755 --- a/resources/library.properties +++ b/resources/library.properties @@ -41,11 +41,11 @@ paragraph = Syphon is an open source macOS technology that allows applications t # compare different versions of the same library, and check if an update is # available. You should think of it as a counter, counting the total number of # releases you've had. -version = 9 # This must be parsable as an int +version = 10 # This must be parsable as an int # The version as the user will see it. If blank, the version attribute will be # used here. This should be a single word, with no spaces. -prettyVersion = 4.0 # This is treated as a String +prettyVersion = 4.1 # This is treated as a String # The min and max revision of Processing compatible with your library. # Note that these fields use the revision and not the version of Processing,