Hi Jonh. If you have some time to dig this a bit it would be really great, as I have no projects with Ant at all. Could you please also check if this task is working with 4.2.RC1? I just get a quick look through RC1 to RC2 commits [1] and I don't really see anything that could affect Ant. And is there any chance that you are using Cayenne 5.0 build in Ant?
[1] https://github.com/apache/cayenne/compare/4.2.RC1...4.2.RC2 On Thu, Dec 1, 2022 at 10:56 PM John Huss <johnth...@gmail.com> wrote: > > All my release checks passed. Also all the unit tests in my own projects > pass with this release! > > I am having a problem with the Ant Cgen task - it doesn't seem to be > finding the default cgen templates anymore if they are not overridden in > the ant configuration: > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find > resource 'templates/v4_1/superclass.vm' > > at > org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:462) > > at > org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:343) > > at > org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1554) > > at > org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1534) > > at > org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:301) > > at > org.apache.cayenne.gen.ClassGenerationAction.getTemplate(ClassGenerationAction.java:326) > > at > org.apache.cayenne.gen.ClassGenerationAction.execute(ClassGenerationAction.java:294) > > at > org.apache.cayenne.gen.ClassGenerationAction.execute(ClassGenerationAction.java:267) > > at > org.apache.cayenne.tools.CayenneGeneratorTask.execute(CayenneGeneratorTask.java:148) > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) > > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > > at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) > > at org.apache.tools.ant.Task.perform(Task.java:350) > > at org.apache.tools.ant.Target.execute(Target.java:449) > > at org.apache.tools.ant.Target.performTasks(Target.java:470) > > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) > > at org.apache.tools.ant.Project.executeTarget(Project.java:1374) > > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > > at org.apache.tools.ant.Project.executeTargets(Project.java:1264) > > at org.apache.tools.ant.Main.runBuild(Main.java:818) > > at org.apache.tools.ant.Main.startAnt(Main.java:223) > > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) > > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) > > > Should I look into this error more? > > > > On Thu, Dec 1, 2022 at 6:42 AM Andrus Adamchik <aadamc...@gmail.com> wrote: > > > And since my work depends on some of these bug fixes, I just did a quick > > evaluation: > > > > + MD5/SHA512 matches (using cayenne-release-tools script) > > + Signature checks (using cayenne-release-tools script) > > + rat passes > > + builds from source > > + Modeler runs on OS X > > + Cross-platform Modeler runs on OS X > > + Upgrade AgRest/LinkMove using the Maven repo. > > > > Everything looks good. I am +1. > > > > Andrus > > > > > > > On Dec 1, 2022, at 11:47 AM, Nikita Timofeev <ntimof...@objectstyle.com> > > wrote: > > > > > > Hi all, > > > > > > Here's a 4.2.RC2 release. > > > > > > It has couple minor fixes that better be tested a bit, so it's next > > > RC. Hope it could be the last before the GA release. > > > > > > Release notes: > > https://github.com/apache/cayenne/blob/4.2.RC2/RELEASE-NOTES.txt > > > Maven repo: > > https://repository.apache.org/content/repositories/orgapachecayenne-1050/ > > > Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.2.RC2/ > > > > > > Please evaluate and cast your votes. > > > > > > -- > > > Best regards, > > > Nikita Timofeev > > > > -- Best regards, Nikita Timofeev