Closed f-cramer closed 1 year ago
This is definitely planned but I'm not sure how to adapt the configuration change in 3.50.
That's definitely an easy way to approach this, which will require a new major version as it's a breaking change or we try to deprecate and delegate to replacements with reasonable default values.
I don't think a plugin is really the place to provide backwards compatibility for features that were removed in the main product, is it? But I don't really know how this was handled for previous updates.
I have recently run into the same issues as @f-cramer with issues finding the java path since upgrading to java 17.
I think it would be worth to go for the path of least resistance for this, ie. new major release. Otherwise given the changes below, it wouldn't be that much to delegate and change, right? One thing is removed, and 3 are replaced.
I'll see if I can find a team member who could assist with this.
I've spent the last few evenings trying to address this and other issues (#88 and #142) with a new version. Unfortunately some tests are still failing, but I'll stay on it and will hopefully finish the new release during the next few nights.
@f-cramer, @FritjofH can you please verify that the latest development version 3.0.0-SNAPSHOT works for you?
@f-cramer, @FritjofH can you please verify that the latest development version 3.0.0-SNAPSHOT works for you?
Absolutely, will get on it this coming week. Thanks for your work!
I am working with @FritjofH and we have now tested the snapshot and it worked well for us.
Only change we had to do is that previously "icon" accepted a file as argument, but now it seems to require a string.
After changing icon = theFile
to icon = theFile.getAbsolutePath()
it builds as expected in our environment.
As to whether launch4j 3.50 resolves all the original issues we had with JRE path resolution, this is still being tested.
@f-cramer, @FritjofH can you please verify that the latest development version 3.0.0-SNAPSHOT works for you?
Absolutely, will get on it this coming week. Thanks for your work!
Thanks for your test, @mattiaslundstrom. I'd say that's expected behavior since the icon property as well as other "file-related" properties are defined as String
.
I've run some more tests on a work-related project and will close this issue as everything seems to work here.
I have totally missed this. Just tried the update on one of our projects and it works perfectly. Thanks a lot
Launch4j 3.50 was released in late 2022 an includes some major improvements concerning path search. Unfortunately it also renamed multiple properties and changed path search to be the default instead of registry search. Are there any plans to upgrade to 3.50 or would a PR be welcome?