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