maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Greer <>
Subject Re: site:deploy & preserving permissions
Date Thu, 09 Sep 2004 23:47:12 GMT
In case anyone else runs into this, after poking around in the jelly 
script I discovered there isn't a maven parameter for setting the mode.  
I ended up modifying the script to change all cgi files to executable.

 <tar tarfile="${}/${}-site.tar" 
basedir="${docsDest}" excludes="**/*.cgi">
        <tarfileset dir="${docsDest}" mode="755">
            <include name="**/*.cgi"/>

It would be cool if the site plugin could be modified to allow this 
through the properties. I'm not sure how to do this in jelly for 
multiple modes, but setting an excludesfile and includesfile through 
parameters would give a little flexibility (i.e. 


Derek Greer wrote:

> I have a perl cgi which I am trying to deploy with my maven site, but 
> the cgi's permissions isn't being maintained.  I'm using 
> = gtar and would like to pass the "-p" 
> argument to have it preserve the permissions.  Is there a way to do that?
> Derek
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message