[ 
http://jira.codehaus.org/browse/MUNIX-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trygve Laugstol updated MUNIX-19:
---------------------------------

    Affects Version/s: 1.0-alpha-1
                       1.0-alpha-2
                        1.0-alpha-3
        Fix Version/s:     (was:  1.0-alpha-4)
                       1.0-alpha-5

> default copy-directory
> ----------------------
>
>                 Key: MUNIX-19
>                 URL: http://jira.codehaus.org/browse/MUNIX-19
>             Project: Maven 2.x Unix Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2,  1.0-alpha-3
>            Reporter: Erik Drolshammer
>            Assignee: Trygve Laugstol
>            Priority: Minor
>             Fix For: 1.0-alpha-5
>
>
> We want convention over configuration and thus want to introduce defaults 
> with regards what folder names are used. 
> I suggests that we by default copy all contents in src/main/unix/files and 
> set default attributes on all folders, except a bin catalogue which get 
> execute bits as well. Someting like: 
>          <defaults>
>             <fileAttributes>
>               <user>${rpm.username}</user>
>               <group>${rpm.groupname}</group>
>               <mode>0664</mode>
>             </fileAttributes>
>             <directoryAttributes>
>               <user>${rpm.username}</user>
>               <group>${rpm.groupname}</group>
>               <mode>0775</mode>
>             </directoryAttributes>
>           </defaults>
>          
>           <assembly>
>             <copy-directory>
>               <from>src/main/unix/files</from>
>               <to>${rpm.path}/</to>
>             </copy-directory>          
>             <set-attributes>
>               <basedir>${rpm.path}/bin</basedir>
>               <fileAttributes>
>                 <user>${rpm.username}</user>
>                 <group>${rpm.groupname}</group>
>                 <mode>6750</mode>
>               </fileAttributes>
>             </set-attributes>
>             <set-attributes>
>               <basedir>${rpm.path}/logs</basedir>
>               <fileAttributes>
>                 <group>${rpm.log.groupname}</group>
>               </fileAttributes>
>             </set-attributes>
>           </assembly>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to