Skip to content

Commit

Permalink
Release SNAPSHOT-151
Browse files Browse the repository at this point in the history
 * Switch to OpenJ9 for lower memory usage and faster startup time.
 * Updated Dorkbox SystemTray to latest.
 * Added splash screen.
  • Loading branch information
brett-smith committed Apr 15, 2021
1 parent 43fbd5e commit a527b2b
Show file tree
Hide file tree
Showing 39 changed files with 246 additions and 110 deletions.
6 changes: 5 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 1.0.0-SNAPSHOT-${buildNumber}

* Under development ...
* Switch to OpenJ9 for lower memory usage and faster startup time.

* Updated Dorkbox SystemTray to latest.

* Added splash screen.

# 1.0.0-SNAPSHOT-148

Expand Down
4 changes: 2 additions & 2 deletions buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:30 GMT 2021
buildNumber=148
#Thu Apr 15 18:29:54 BST 2021
buildNumber=1
26 changes: 3 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,34 +74,14 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<id>buildnumber</id>
<phase>prepare-package</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<format>{0,number}</format>
<items>
<item>buildNumber</item>
</items>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<revisionOnScmFailure>unknownbuild</revisionOnScmFailure>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
Expand Down
4 changes: 2 additions & 2 deletions snake-app-linux/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:36 GMT 2021
buildNumber=134
#Thu Apr 15 18:30:00 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-backend-openrazer/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:34 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:58 BST 2021
buildNumber=1
2 changes: 1 addition & 1 deletion snake-backend-openrazer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>com.github.hypfvieh</groupId>
<artifactId>dbus-java</artifactId>
<version>3.3.0-SNAPSHOT</version>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
4 changes: 2 additions & 2 deletions snake-dist/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:38 GMT 2021
buildNumber=133
#Thu Apr 15 18:45:04 BST 2021
buildNumber=151
68 changes: 51 additions & 17 deletions snake-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<remoteBase>${snakeRemote}</remoteBase>
<mainClass>uk.co.bithatch.snake.app.linux/uk.co.bithatch.snake.app.linux.App</mainClass>
<remotesFromOriginalSource>false</remotesFromOriginalSource>
<splash>${basedir}/src/main/images/splash.png</splash>
<image>true</image>
<vmArgs>
<vmArg>-Xmx64m</vmArg>
Expand All @@ -82,6 +83,7 @@
<forkerArg>jvmarg -Djava.system.class.loader=uk.co.bithatch.snake.ui.DynamicClassLoader</forkerArg>
<forkerArg>restart-on 90</forkerArg>
<forkerArg>single-instance-per-user</forkerArg>
<forkerArg>run-on-install</forkerArg>
<forkerArg>install-location ${installer.home}/snake-razer</forkerArg>
<forkerArg>jvmarg --add-modules</forkerArg>
<forkerArg>jvmarg themes.awhitelight,themes.agreenfuture,themes.aredsky,themes.abluelife,themes.ayellowdwarf,themes.anorangetwist,themes.apinkburst,themes.apurplehaze</forkerArg>
Expand Down Expand Up @@ -114,12 +116,19 @@
<bootstrapArtifacts>
<bootstrapArtifact>snake-updater</bootstrapArtifact>
</bootstrapArtifacts>
<classpathArtifacts>
<classpathArtifact>asm</classpathArtifact>
</classpathArtifacts>
<automaticArtifacts>
<automaticArtifact>asm</automaticArtifact>
<automaticArtifact>java-utils</automaticArtifact>
<automaticArtifact>svgSalamander</automaticArtifact>
<automaticArtifact>kotlin-stdlib</automaticArtifact>
<automaticArtifact>kotlin-stdlib-common</automaticArtifact>
<automaticArtifact>jffi</automaticArtifact>
<automaticArtifact>jnr-a64asm</automaticArtifact>
<automaticArtifact>jnr-x86asm</automaticArtifact>
<automaticArtifact>annotations</automaticArtifact>
<automaticArtifact>kotlinx-coroutines-core-jvm</automaticArtifact>
<automaticArtifact>kotlin-logging-jvm</automaticArtifact>
<automaticArtifact>javassist</automaticArtifact>
</automaticArtifacts>
<systemModules>
<systemModule>java.prefs</systemModule>
Expand All @@ -129,20 +138,16 @@
<systemModule>jdk.zipfs</systemModule>

<systemModule>java.instrument</systemModule>
<systemModule>java.management</systemModule>
<systemModule>jdk.attach</systemModule>
<systemModule>jdk.management.agent</systemModule>
<systemModule>jdk.xml.dom</systemModule>
<systemModule>jdk.jsobject</systemModule>
<systemModule>java.net.http</systemModule>
<systemModule>java.scripting</systemModule>
<systemModule>jdk.management.agent</systemModule>
<systemModule>java.management</systemModule>

<!-- TODO separate this in forker? -->
<systemModule>java.desktop</systemModule>

<!-- TODO separate this in forker? -->
<systemModule>java.management</systemModule>

<!-- TODO Because of Gson, consider finding a library that doesnt
link to SQL -->
<systemModule>java.sql</systemModule>
Expand All @@ -164,6 +169,7 @@
<mainClass>uk.co.bithatch.snake.app.linux/uk.co.bithatch.snake.app.linux.App</mainClass>
<remotesFromOriginalSource>false</remotesFromOriginalSource>
<imageDirectory>${project.build.directory}/image-noruntime</imageDirectory>
<splash>${basedir}/src/main/images/splash.png</splash>
<image>true</image>
<link>false</link>
<vmArgs>
Expand All @@ -175,6 +181,7 @@
<forkerArg>jvmarg -Dforker.betaChannel=${snakeRemoteNoRuntimeSnapshot}</forkerArg>
<forkerArg>jvmarg -Djava.system.class.loader=uk.co.bithatch.snake.ui.DynamicClassLoader</forkerArg>
<forkerArg>restart-on 90</forkerArg>
<forkerArg>run-on-install</forkerArg>
<forkerArg>single-instance-per-user</forkerArg>
<forkerArg>install-location ${installer.home}/snake-razer</forkerArg>
<forkerArg>jvmarg --add-modules</forkerArg>
Expand Down Expand Up @@ -208,12 +215,19 @@
<bootstrapArtifacts>
<bootstrapArtifact>snake-updater</bootstrapArtifact>
</bootstrapArtifacts>
<classpathArtifacts>
<classpathArtifact>asm</classpathArtifact>
</classpathArtifacts>
<automaticArtifacts>
<automaticArtifact>asm</automaticArtifact>
<automaticArtifact>java-utils</automaticArtifact>
<automaticArtifact>svgSalamander</automaticArtifact>
<automaticArtifact>kotlin-stdlib</automaticArtifact>
<automaticArtifact>kotlin-stdlib-common</automaticArtifact>
<automaticArtifact>jffi</automaticArtifact>
<automaticArtifact>jnr-a64asm</automaticArtifact>
<automaticArtifact>jnr-x86asm</automaticArtifact>
<automaticArtifact>annotations</automaticArtifact>
<automaticArtifact>kotlinx-coroutines-core-jvm</automaticArtifact>
<automaticArtifact>kotlin-logging-jvm</automaticArtifact>
<automaticArtifact>javassist</automaticArtifact>
</automaticArtifacts>
<systemModules>
<systemModule>java.prefs</systemModule>
Expand All @@ -223,19 +237,15 @@

<systemModule>java.instrument</systemModule>
<systemModule>java.management</systemModule>
<systemModule>jdk.attach</systemModule>
<systemModule>jdk.management.agent</systemModule>
<systemModule>jdk.xml.dom</systemModule>
<systemModule>jdk.jsobject</systemModule>
<systemModule>java.net.http</systemModule>
<systemModule>java.scripting</systemModule>
<systemModule>jdk.management.agent</systemModule>

<!-- TODO separate this in forker? -->
<systemModule>java.desktop</systemModule>

<!-- TODO separate this in forker? -->
<systemModule>java.management</systemModule>

<!-- TODO Because of Gson, consider finding a library that doesnt
link to SQL -->
<systemModule>java.sql</systemModule>
Expand Down Expand Up @@ -787,6 +797,30 @@
<build>
<finalName>snake</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<id>buildnumber</id>
<phase>prepare-package</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<skip>false</skip>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<format>{0,number}</format>
<items>
<item>buildNumber</item>
</items>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<revisionOnScmFailure>unknownbuild</revisionOnScmFailure>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
Expand Down
Binary file added snake-dist/src/main/images/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions snake-lib/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:32 GMT 2021
buildNumber=147
#Thu Apr 15 18:29:56 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:35 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:58 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/snake-theme-abluelife/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:35 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:59 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/snake-theme-agreenfuture/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:35 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:58 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/snake-theme-anorangetwist/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:35 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:59 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/snake-theme-apinkburst/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:36 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:59 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/snake-theme-apurplehaze/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:36 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:59 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/snake-theme-aredsky/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:35 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:59 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/snake-theme-awhitelight/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:35 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:58 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-themes/snake-theme-ayellowdwarf/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:36 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:59 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-ui-linux/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:35 GMT 2021
buildNumber=134
#Thu Apr 15 18:29:58 BST 2021
buildNumber=1
4 changes: 2 additions & 2 deletions snake-ui/buildNumber.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Mon Feb 08 08:59:34 GMT 2021
buildNumber=135
#Thu Apr 15 18:29:58 BST 2021
buildNumber=1
Loading

0 comments on commit a527b2b

Please sign in to comment.