http://www.gnu.org/software/bash/manual/bash.html
On Monday 17 September 2007 05:15, Vanja Petreski wrote:
> Hello,
>
> I have assembly bin-release.xml:
>
> ...
>
> <fileSet>
> <directory>src/main/runscript</directory>
> <filtered>true</filtered>
> <useStrictFiltering>true</useStrictFiltering>
> <outputDirectory>bin</outputDirectory>
> <includes>
> <include>*.sh</include>
> <include>*.bat</include>
> </includes>
> <fileMode>0544</fileMode>
> </fileSet>
> ...
>
> My run.sh look like this:
>
> #!/bin/sh
> java -jar ${project.build.finalName}.jar
>
> When I fire mvn clean package assembly:assembly, resulting run.sh is the
> same as the original. I figure out that in the bin-release.xml there is no
> such property. Is there any way to access it, because i dont want to change
> my run script every time when I change the version, and, still, I want to
> have "versioned" jar. Btw, this is multi module project.
>
> Thanx,
> Vanja
--
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]