Dear all, Long time no see. I have quietly lurked here while working on a different technology stack (mainly clojure/clojurescript), but now want to migrate my old WO applications to use my newer backend components when possible.
1. Please could I have an invite to the slack channel? 2. I have restarted my push to migrate to maven, as I need to modernise the build and make it easier to stitch everything I need together. But I've hit some hurdles - are there any maven experts? a) My EOModels in frameworks were not being found until I specifically told eclipse to NSBundeProjectEnabled to false. That seemed to fix that, but now I get a weird NPE on startup (in eclipse) which suggests my class description for an entity isn't being found. I do have <configuration><flattenComponents>true</flattenComponents></configuration> in at least the main application package. [2022-1-15 21:13:14 GMT] <main> java.lang.NullPointerException at er.rest.IERXRestDelegate$Factory.delegateForClassDescription( IERXRestDelegate.java:147) at er.rest.routes.ERXRouteRequestHandler.addDefaultRoutes( ERXRouteRequestHandler.java:539) at com.eldrix.news.app.Application.<init>(Application.java:110) I'm using v2.5 of the maven lifecycle plugin. b) At least I get that far in eclipse. At the command-line, when I build the application, I get the following: Exception in thread "main" com.webobjects.foundation.NSForwardException [java.util.zip.ZipException] zip END header not found:java.util.zip.ZipException: zip END header not found at com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:45) at er.extensions.appserver.ERXApplication$Loader.stringFromJar(ERXApplication.java:857) at er.extensions.appserver.ERXApplication$Loader.<init>(ERXApplication.java:517) at er.extensions.appserver.ERXApplication.setup(ERXApplication.java:1071) at er.extensions.appserver.ERXApplication.main(ERXApplication.java:884) at com.eldrix.news.app.Application.main(Application.java:73) My google-fu has failed me for this one. I have cleaned all the frameworks, installed them all and then rebuilt the application without success. I deleted .m2/repository as a last resort, and did it all again, but the problem persists. I also thought maven would automatically manage submodules and build them in the right order, but that doesn't happen either. I would be very grateful for any pointers at all. I still would like to move away from ant for this build, and I need to simplify my frameworks, so moving to maven seems like an important step in modernising my build. Mark -- Dr. Mark Wardle Consultant Neurologist and Clinical informatician, University Hospital Wales, Cardiff, UK Chair, NHS Wales Technical Standards Board. Email: mark.war...@wales.nhs.uk or m...@wardle.org Twitter: @mwardle Telephone: 02920745274 (secretary) or facsimile: 02920744166
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com