Any reason your scripts can't live in resources and get filtered, so
the proper values are replaced in the files during the normal Maven
"process-resources" phase?

Wayne

On 2/28/07, Todd Nine <[EMAIL PROTECTED]> wrote:
Hi all,
  I have a large standalone distribution I'm zipping up with the assembler.
It's using a self executing jar, and has both a batch script and a shell
script that use "java -jar artifactId-<version>.jar <args>".  Is it possible
to use something similar to sed in the assembler so I can find and replace a
variable in my scripts with the artifact name.  This way we won't have to
manually update the scripts before we package our artifacts, and we can
reduce errors due to version mismatches in the scripts.

Thanks,
Todd


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to