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

Unable to access jarfile when PLANTUML_JAR contains spaces on Windows #7

Open
rose-a opened this issue Jul 6, 2018 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@rose-a
Copy link

rose-a commented Jul 6, 2018

If PLANTUML_JAR contains a path with spaces in it, compiling results in an error (Example path: C:\Program Files (x86)\PlantUML\plantuml.jar):

Error: Unable to access jarfile C:\Program

I tried it out running the java cmd on the command line, same result there. If you put quotes around the environment variable everything works fine.

@koppor koppor added the enhancement New feature or request label Jul 6, 2018
@koppor
Copy link
Owner

koppor commented Jul 6, 2018

I think, the fix is to do some string concatenation at https://github.com/latextemplates/plantuml/blob/dd626b7ab664d7554d5e62be2de0ff375c5f7933/plantuml.lua#L25.

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

No branches or pull requests

2 participants