Skip to content

Commit

Permalink
4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jjazzboss committed Dec 30, 2024
1 parent f6836f6 commit c27e697
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
1 change: 1 addition & 0 deletions DemoApp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This small Maven project demonstrates how to use the JJazzLab Toolkit.
> Java 17 is required because FluidSynthEmbeddedSynth uses Java 17 incubating features.
### Run
- Some specific JVM command line arguments are required (eg --add-opens...), see `pom.xml`.
- For FluidSynth to work you need to download and copy [JJazzLab-SoundFont.sf2](https://musical-artifacts.com/artifacts/1036) to the project root directory (next to `pom.xml`).
- `mvn exec:exec`

Expand Down
26 changes: 14 additions & 12 deletions DemoApp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jjazzlab</groupId>
<artifactId>jjazzlab-toolkit-demo</artifactId>
<version>4.1.1</version>
<version>4.1.2</version>
<packaging>jar</packaging>
<name>JJazzLab Toolkit Demo</name>

Expand Down Expand Up @@ -37,14 +37,16 @@
<!-- The 2 lines below automatically create the classpath using all project dependencies, also adding the project build directory -->
<argument>-classpath</argument>
<classpath/>

<argument>--add-modules=jdk.incubator.foreign</argument> <!-- required for FluidSynthEmbeddedSynth -->
<argument>--enable-preview</argument> <!-- required for FluidSynthEmbeddedSynth -->
<argument>--enable-native-access=ALL-UNNAMED</argument>
<argument>--add-opens=java.base/java.net=ALL-UNNAMED</argument>
<argument>--add-opens=java.base/java.lang=ALL-UNNAMED</argument>
<argument>--add-opens=java.desktop/javax.swing=ALL-UNNAMED</argument>
<argument>--add-exports=java.desktop/sun.awt=ALL-UNNAMED</argument>
<argument>--add-opens=java.base/java.util=ALL-UNNAMED</argument>
<argument>--enable-native-access=ALL-UNNAMED</argument> <!-- required for FluidSynthEmbeddedSynth -->
<argument>--add-opens=java.base/java.net=ALL-UNNAMED</argument> <!-- required by Netbeans platform or Xstream -->
<argument>--add-opens=java.base/java.lang=ALL-UNNAMED</argument> <!-- required by Netbeans platform or Xstream -->
<argument>--add-opens=java.desktop/javax.swing=ALL-UNNAMED</argument> <!-- required by Netbeans platform or Xstream -->
<argument>--add-opens=java.desktop/java.awt.event=ALL-UNNAMED</argument> <!-- required by Netbeans platform 22 on MacOS -->
<argument>--add-exports=java.desktop/sun.awt=ALL-UNNAMED</argument> <!-- required by Netbeans platform or Xstream -->
<argument>--add-opens=java.base/java.util=ALL-UNNAMED</argument> <!-- required by Netbeans platform or Xstream (when absent, it makes Xstream .sng deserialization fail with unrelated error msg) -->
<argument>org.jjazzlab.toolkitdemo.ToolkitDemoApp</argument> <!-- program entry point -->
</arguments>
</configuration>
Expand All @@ -59,17 +61,17 @@
<dependency>
<groupId>org.jjazzlab</groupId>
<artifactId>jjazzlab-toolkit</artifactId>
<version>4.1.0</version>
<version>4.1.2</version>
</dependency>
<dependency>
<groupId>org.jjazzlab.plugins</groupId>
<artifactId>yamjjazz-jar</artifactId>
<version>4.1.0</version>
<artifactId>yamjjazz</artifactId>
<version>4.1.2</version>
</dependency>
<dependency>
<groupId>org.jjazzlab.plugins</groupId>
<artifactId>fluidsynthembeddedsynth-jar</artifactId>
<version>4.1.0</version>
<artifactId>fluidsynthembeddedsynth</artifactId>
<version>4.1.2</version>
</dependency>
</dependencies>
</project>
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ For example, you can use it to :

For sample code how to use the main features, check out the [DemoApp](https://github.com/jjazzboss/JJazzLabToolkit/tree/main/DemoApp) sub-project.

You'll need to run your program with Java 17 and some specific JVM command line arguments (e.g. --add-opens), see `DemoApp/pom.xml` for reference.

The JJazzLab Toolkit follows the same versioning than the JJazzLab application: a new version of the toolkit is released when a new version of JJazzLab is released.

### With Maven
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jjazzlab</groupId>
<artifactId>jjazzlab-toolkit</artifactId>
<version>4.1.1</version>
<version>4.1.2</version>
<name>jjazzlab-toolkit</name>
<packaging>jar</packaging>

Expand Down Expand Up @@ -44,7 +44,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jjazzlab.compiler.release>17</jjazzlab.compiler.release>
<jjazzlab.maven.compiler.plugin.version>3.11.0</jjazzlab.maven.compiler.plugin.version>
<netbeans.version>RELEASE210</netbeans.version>
<netbeans.version>RELEASE230</netbeans.version>
</properties>


Expand Down

0 comments on commit c27e697

Please sign in to comment.