Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Update AbstractSamplesTest to properly handle base directories with special characters (e.g. spaces) #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

er1c
Copy link

@er1c er1c commented Jan 12, 2019

The getFile here is returning a String that is potentially adding escaping characters (e.g. '%20'). The java.ioFile can natively take a URI as a parameter, so avoid trying to convert the path to a string, and simply avoid the issue.

[INFO] JAXB2 Basics - Project ............................. SUCCESS [  0.129 s]
[INFO] JAXB2 Basics - Ant Task ............................ SUCCESS [  3.454 s]
[INFO] JAXB2 Basics - Runtime ............................. SUCCESS [  6.756 s]
[INFO] JAXB2 Basics - Tools ............................... SUCCESS [  3.976 s]
[INFO] JAXB2 Basics - Testing ............................. SUCCESS [  3.436 s]
[INFO] JAXB2 Basics - Basic Plugins ....................... SUCCESS [  3.529 s]
[INFO] JAXB2 Basics - Full Plugins JAR .................... SUCCESS [  0.375 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.843 s
[INFO] Finished at: 2019-01-12T16:11:09+00:00
[INFO] Final Memory: 23M/291M
[INFO] ------------------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant