I am using the jar plugin to add the dependencies to the manifest of
my project's jar, and the dependencies plugin to create a lib
directory to contain them. I like that my jar has the version number
appended.
Given that, is there any way to inject the version number into a shell
script and a Windows batch file to create runner scripts during
packaging? The essence of the script would be a line of the form:
java -jar target/artifactId-version.jar $*
or something like that.
I've looked at Codehaus's appassembler plugin and it does too much. I
haven't really looked at Codehaus's xslt plugin, but maybe that's the
way to go.
Any ideas?
-K, who has always gotten good suggestions from this list.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]