--
You received this message because you are subscribed to the Google Groups "Quarkus Platform Coordination" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-platform-coo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-platform-coordination/CALt0%2Bo_%2BRHGoST8Rc5vYnFU0xL9zOz-f-H2-FbeGTZssDVL3cA%40mail.gmail.com.
HiThanks for the heads-up about this "bigger" change.I tried on the 1.11.1 release via code.quarkus.io to create a basic project (no selected extensions).And then change to use fast-jar via❯ cat src/main/resources/application.propertiesquarkus.package.type=fast-jarAnd then do a❯ mvn clean packageAnd then look inside the target directory> ls targetAnd there is this JAR:code-with-quarkus-1.0.0-SNAPSHOT.jarAs an end user I would assume I could run this with❯ java -jar target/code-with-quarkus-1.0.0-SNAPSHOT.jarno main manifest attribute, in target/code-with-quarkus-1.0.0-SNAPSHOT.jarI wonder if the user experience of this "fast jar" can be improved. Its not intuitive that you need to run a JAR that does NOT have your project name in it, but its always named quarkus-app JAR and its located in some sub folder of target, so its harder to location.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-platform-coordination/CADm1_xPKdxkcBzuPqk6LiXdPYaxK%2ByR4rudbnBsFMqQQ2ODsbw%40mail.gmail.com.
On Tue, 9 Feb 2021 at 01:29, Claus Ibsen <cib...@redhat.com> wrote:HiThanks for the heads-up about this "bigger" change.I tried on the 1.11.1 release via code.quarkus.io to create a basic project (no selected extensions).And then change to use fast-jar via❯ cat src/main/resources/application.propertiesquarkus.package.type=fast-jarAnd then do a❯ mvn clean packageAnd then look inside the target directory> ls targetAnd there is this JAR:code-with-quarkus-1.0.0-SNAPSHOT.jarAs an end user I would assume I could run this with❯ java -jar target/code-with-quarkus-1.0.0-SNAPSHOT.jarno main manifest attribute, in target/code-with-quarkus-1.0.0-SNAPSHOT.jarI wonder if the user experience of this "fast jar" can be improved. Its not intuitive that you need to run a JAR that does NOT have your project name in it, but its always named quarkus-app JAR and its located in some sub folder of target, so its harder to location.The reason for this was so your application is 'self contained', and not mixed in with other random stuff in the target directory. Previously your app consisted of the runner jar and the lib directory but they were both in 'target' mixed in with all the other outputs that mavengenerates, so it was not obvious which things your app actually needed. Fast jar packages everything into a directory to avoid this.