Thanks, this solved it. Having one more problem - starting Modeler from the Windows assembly. I tested a few cases:
1. Old Windows 7 VM 1.1 Java 1.8 - works 1.2 Java 17 (Temurin) - shows an error dialog: "No suitable Java version found on your system! The program requires Java 1.8 or later" 2. Windows 10 VM 1.1 Java 11 (Temurin) - shows an error dialog: "No suitable Java version found on your system! The program requires Java 1.8 or later" CayenneModeler 4.1 starts on this VM with no issues. Andrus > On Nov 29, 2021, at 12:35 PM, Nikita Timofeev <ntimof...@objectstyle.com> > wrote: > > Hi Andrus, > > You need manually copy the "gradle" directory with all content from > git checkout to the released sources in the "cayenne-gradle-plugin" > module. > This folder is just dropped completely in the src release to comply > with the Apache guidelines. > It's mentioned here [1] in the "Releasing Downloadable Assemblies" section. > > [1] https://cayenne.apache.org/dev/release-guide.html > > On Mon, Nov 29, 2021 at 1:07 PM Andrus Adamchik <aadamc...@gmail.com> wrote: >> >> Trying to build from source with Java 8. Getting an error in >> "cayenne-gradle-plugin". I tried with both Gradle 7.3 available on the PATH, >> and without it. Same error. Any ideas? >> >> Andrus >> >> >> [INFO] ----------< org.apache.cayenne.plugins:cayenne-gradle-plugin >> >---------- >> [INFO] Building cayenne-gradle-plugin: Cayenne Gradle Plugin 4.2.B1 >> [22/59] >> [INFO] --------------------------------[ pom >> ]--------------------------------- >> [INFO] >> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >> cayenne-gradle-plugin --- >> [INFO] >> [INFO] --- maven-dependency-plugin:3.0.1:build-classpath (build-classpath) @ >> cayenne-gradle-plugin --- >> [INFO] Skipped writing classpath file >> '/Users/andrus/Desktop/4.2.B1/cayenne-4.2.B1-src/cayenne-gradle-plugin/build/classpath.txt'. >> No changes found. >> [INFO] >> [INFO] --- exec-maven-plugin:1.6.0:exec (gradle) @ cayenne-gradle-plugin --- >> Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain >> [ERROR] Command execution failed. >> org.apache.commons.exec.ExecuteException: Process exited with an error: 1 >> (Exit value: 1) >> at org.apache.commons.exec.DefaultExecutor.executeInternal >> (DefaultExecutor.java:404) >> at org.apache.commons.exec.DefaultExecutor.execute >> (DefaultExecutor.java:166) >> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) >> at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751) >> at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313) >> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo >> (DefaultBuildPluginManager.java:137) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:210) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:156) >> at org.apache.maven.lifecycle.internal.MojoExecutor.execute >> (MojoExecutor.java:148) >> >> >> [INFO] cayenne-gradle-plugin: Cayenne Gradle Plugin ....... FAILURE [ 1.092 >> s] >> >> >> >> >>> On Nov 25, 2021, at 5:32 PM, Nikita Timofeev <ntimof...@objectstyle.com> >>> wrote: >>> >>> Hi all, >>> >>> Here is a 4.2.B1 release. >>> >>> Release notes: >>> https://github.com/apache/cayenne/blob/4.2.B1/RELEASE-NOTES.txt >>> Maven repo: >>> https://repository.apache.org/content/repositories/orgapachecayenne-1045/ >>> Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.2.B1/ >>> >>> Please evaluate and cast your votes. >>> >>> -- >>> Best regards, >>> Nikita Timofeev >> > > > -- > Best regards, > Nikita Timofeev