Just do it like you do in ant..
I have lot of stuff like this in some custom plugins :
    <j:if test="${os != 'Linux'}">
       <ant:echo append="true"
file="${tocure.eclipseupdate.script}">@echo off
      </ant:echo>
    </j:if>

This one is for creating a custom bash / batch file to update all
projects that are present in eclipse.

Mvgr,
Martin

On Fri, 2004-04-23 at 20:50, David Bock wrote:
> I want the output of a project to be a jar file and a shell script that
> will execute that jar file.
> 
> I have found it amazingly trivial to generate a jar file, but have not
> found any good information on generating a shell script (or any text
> file) that would accompany it.
> 
> If I were in straight Ant, I would just copy an existing file into the
> target directory, using a filterset to replace the name of the jar file
> within the file(since that can change, depending on the properties in
> the POM.
> 
> How can I do something similar in Maven?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Mvgr,
Martin


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

Reply via email to