Joerg Hohwiller wrote:
> Hi there,
> 
>> Stephen Connolly wrote:
>>> the issue I see for you is just when creating the tar with symbolic links
>>>
>>> you would not be untaring with your plugin, so all you have to do is
>>> handle detecting the symbolic links and adding them into the tar file
>>> correctly
>> Actually, I will as the plugin support unpacking artifacts and files, so
>> getting proper symlink support would be very useful.
> 
>>> I'd take a look at JNA as I know it has mapped the native libs for
>>> dealing with links (hard and soft) and works on a wide range of jre's
>>> from 1.4 up
>> I'll keep that in mind, thanks for the tip!
> 
> Surely we will support symbolic links. But for me the main problem about this
> is doing integration tests rather than having this as a feature. You
> do NOT have to create the symlinks on the disc to build a package.
> To me symlinks should be configured like file permissions, etc. That is what
> also happens for solaris-pkg in the proto files. The unix-maven-plugin should
> allow a generic configuration of symlinks in such configuration
> (/path/to/link=/path/to/source) and be able to support this for creating TAR,
> Deb, RPM, ...

It already does, but I meant when if you're telling the plugin to unpack
a certain file you want to replicate any symlinks in the source tarball too.

--
Trygve

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

    http://xircles.codehaus.org/manage_email


Reply via email to