maven build, single raw file, and version number from build.properties #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a pom.xml file for people who prefer to use Maven.
Added an ant target "version-number" to keep the version number updated in the build.xml, pom.xml, and Java source. It's part of the default ant build, but Maven users will need to run "ant version-number" between updating the version in build.properties and "mvn package".
Added a new option "-R" to take the file name as a raw single file without a group, so it doesn't require the ".st" suffix. This is helpful when writing scripts to process single files, where the input files names either don't end with ".st" or they have dots like "nginx.conf.st".