[ 
http://jira.codehaus.org/browse/MRPM-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230983#action_230983
 ] 

Luke Yang edited comment on MRPM-86 at 8/5/10 2:57 AM:
-------------------------------------------------------

Agree. I saw the same behavior. But I have no problem to run "rpm -i" to 
install the generated RPM package finallly.

      was (Author: lukeyang2000):
    Agree. I saw the same behavior. 
  
> Softlink of directory tries to link absolut path
> ------------------------------------------------
>
>                 Key: MRPM-86
>                 URL: http://jira.codehaus.org/browse/MRPM-86
>             Project: Mojo RPM Plugin
>          Issue Type: Bug
>          Components: rpm
>    Affects Versions: 2.1-alpha-1
>            Reporter: Thomas Peuss
>            Assignee: Brett Okken
>
> Following mapping
>                        <mapping>
>                             <directory>${rpm.basepath}/logs</directory>
>                             <filemode>750</filemode>
>                             <username>root</username>
>                             <groupname>root</groupname>
>                         </mapping>
>                         <mapping>
>                             <directory>/var/log/services</directory>
>                             <filemode>750</filemode>
>                             <username>root</username>
>                             <groupname>root</groupname>
>                             <sources>
>                                 <softlinkSource>
>                                     <location>${rpm.basepath}/logs</location>
>                                     
> <destination>verbrauchsanzeige</destination>
>                                 </softlinkSource>
>                             </sources>
>                         </mapping>
> gives following error
> [WARNING] + ln -s /opt/services/webservice/verbrauchsanzeige/logs 
> /opt/expet/workspace/VerbrauchsanzeigeInternational/target/rpm/VerbrauchsanzeigeInternational/buildroot/var/log/services/verbrauchsanzeige
> [WARNING] ln: creating symbolic link 
> `/opt/expet/workspace/VerbrauchsanzeigeInternational/target/rpm/VerbrauchsanzeigeInternational/buildroot/var/log/services/verbrauchsanzeige'
>  to `/opt/services/webservice/verbrauchsanzeige/logs': No such file or 
> directory
> The error occurs because the mapping is translated to an absolute path 
> instead an relative link in the buildroot.

-- 
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