getodk / validate

ODK Validate is a Java application for confirming that a form is valid and compliant with the ODK XForms specification. Contribute and make the world a better place! ✨🔍✨
https://docs.getodk.org/validate/
Other
9 stars 26 forks source link

getResource cannot be used when accessing files inside jar #75

Closed yanokwa closed 5 years ago

yanokwa commented 5 years ago

Addresses #74

What has been done to verify that this works as intended?

Ran ./gradlew {run|test|jar} and confirmed everything worked.

Why is this the best possible solution? Were any other approaches considered?

Narrowest change that doesn't touch JR.

Are there any risks to merging this code? If so, what are they?

Not really. Seems to be the standard way to do these sorts of things.