Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix path to jar in windows script for the case it is run not from home dir #432

Merged
merged 1 commit into from
Oct 20, 2015

Conversation

redreev
Copy link
Contributor

@redreev redreev commented Oct 19, 2015

Hi guys, I've run windows cli jsonschema2pojo.bat cli and it failed with error saying jar file is not found. Problem was that I've run the script not from jsonschema2pojo home, but from my own folder, and path to the jsonschema2pojo jar in the script is relative to jsonschema2pojo home.

Here's fix for the issue. I've changed relative path to the jar to absolute path, so now the windows cli runner works fine not just from jsonschema2pojo home.

@joelittlejohn
Copy link
Owner

Thanks! 👍

joelittlejohn added a commit that referenced this pull request Oct 20, 2015
Fix path to jar in windows script for the case it is run not from home dir
@joelittlejohn joelittlejohn merged commit 0eda759 into joelittlejohn:master Oct 20, 2015
@joelittlejohn joelittlejohn added this to the 0.4.16 milestone Oct 22, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants