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

Load version from Manifest #43

Merged
merged 1 commit into from
Nov 30, 2016
Merged

Load version from Manifest #43

merged 1 commit into from
Nov 30, 2016

Conversation

jsotuyod
Copy link
Member

 - Simplify the code, get rid of a bunch of version flags that had no real value
Copy link
Contributor

@henrik242 henrik242 left a comment

Choose a reason for hiding this comment

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

👍 Nice cleanup

@jsotuyod jsotuyod merged commit 7fb6ff5 into master Nov 30, 2016
@jsotuyod jsotuyod deleted the fix-properties branch November 30, 2016 15:38
@mebigfatguy
Copy link
Contributor

whats the checking for file protocol for? Should work otherwise, right? what would the other be, jnlp?

@jsotuyod
Copy link
Member Author

@mebigfatguy actually, I'm not sure (it was already like that in the code, I just load the manifest instead of version.properties). I think it's intending to check if we are loading from a jar ("jar:file://...") or not, but I may be wrong.

If we are not running from the jar (running from IDE), the getResourceAsStream would return null.

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.

None yet

4 participants