Croway opened a new pull request, #27826:
URL: https://github.com/apache/camel/pull/27826

   When the launcher distribution contains both its executable JAR and a 
sources JAR, `camel.sh` can select the sources JAR and fail with `no main 
manifest attribute` before running the requested command. The Windows script 
also selects by wildcard order.
   
   Explicitly skip `*-sources.jar` in both scripts and select the executable 
launcher JAR. Add regression tests to the existing Unix and Windows script 
suites with sources JARs sorting before and after the executable JAR, including 
installation paths containing spaces.
   
   Validation on macOS:
   - The new Unix regression test fails before the fix, selecting the sources 
JAR.
   - `mvn -o -Dtest=CamelShDiscoveryTest,CamelBatDiscoveryTest,FakeJavaTest 
test formatter:format impsort:sort` passes with Java 21: 25 tests passed, 25 
Windows-only tests skipped.
   - `git diff --check` passes.
   
   _AI-generated by Codex on behalf of @Croway._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to