The most frustrating developer environment ever!
It'a been said that it's a poor craftsman who blames his tools, but Anypoint Studio - basically a huge stack of Java dependencies with configurations all over the place - is so damn frustrating to use. It took several hours' work to get a unit test running. The obvious fix is to add the mule.env and mule.key variables in the Runtime Configuration, in the Environment tab.
I tried cleaning and refreshing the project, and opening the project in a blank workspace. Along the way I encountered a hidden error message for a missing OJCDB dependency, which didn't show in the actual dependencies list. That wouldn't install from Exchange, so the .jar file needed to be downloaded and installed manually.
The next thing to try, I figured, was to update MUnit, using the 'Install New Software...' feature. Anypoint Studio decided to download a shitload of .jar files, which took an hour, and threw out a load more error messages.
Anypoint Studio needed to be running JDK 8 (Embedded), and should only be using JDK 17 after it's deployed. The MUnit runtime value should be the default.
I'm still not sure what the deal is with the Key Store. My project used the native one, which I thought would have contained the certs for common CAs. Apparently no. I needed to switch that for a specific .jks file.
The /ukpolitics thread used to be my go-to place for news, but Reddit became unusable yesterday, with that insistent account signup modal appearing on every thread, and a sign-in page loading every time I tried closing it. I'm probably better off without the morning doom-scroll anyway.
Watched the Panorama documentary on BBC, last night, about Trump and his election campaign. It was unapologetically biased in favour of Harris and the Democrats, almost to the point of being one-sided. It did a half-decent job of expressing how Trump's campaign is fuelled by disillusionment with the political system. The choice over in the United States appears starker than what we recently had in Britain.
The 'Christian' Nationalist movement is more of a threat than I previously thought, if what I learned of Project 2025 is anything to go by. Drafted by people who were around Trump during his last presidency, and sponsored by the Heritage Foundation, Project 2025 is essentially a manifesto to establish a highly authoritarian theocracy - and a decidedly unconstitutional one at that - through executive orders.