Skip to content

Conversation

@stuartwdouglas
Copy link
Collaborator

Looks like this got lost in a rebase

Looks like this got lost in a rebase
@boring-cyborg boring-cyborg bot added the area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins label May 15, 2020
String path = QuarkusEntryPoint.class.getProtectionDomain().getCodeSource().getLocation().getPath();
String decodedPath = URLDecoder.decode(path, "UTF-8");
SerializedApplication app = SerializedApplication.read(in, Paths.get(decodedPath).getParent().getParent());
SerializedApplication app = SerializedApplication.read(in, new File(decodedPath).toPath().getParent().getParent());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this make a difference?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the most important bit. new File and Paths.get() behave differently when passed a windows path

@geoand geoand changed the title Windows fix for jast-jar Windows fix for fast-jar May 16, 2020
@geoand
Copy link
Contributor

geoand commented May 17, 2020

This seems to be passing the Windows tests while most other PRs are failing, so I'll go ahead and merge

@geoand geoand merged commit d63095b into quarkusio:master May 17, 2020
@gsmet gsmet added this to the 1.5.0 milestone May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants