[Anthill] create a symbolic link in a tar

Jefferson K. French jeff at mdbconsulting.com
Wed Apr 14 12:59:59 CDT 2004


Cheri,

Not sure what your're asking. If you're asking whether tar can store
symbolic links, then the answer is yes, it does so by default (use -h
to include what the link points to, rather than the link itself).

If you're asking how to do this with Ant, I think you can set
FileSet's followsymlinks property to false. By default it follows the
symbolic link. I've not used that property, however, only read about
it.

  Jeff

On Wed, 14 Apr 2004, at 09:23:51 [GMT -0500] Fox, Cheri wrote:

> Hi,  
 
> We currently use an 'exec' in our ant scripts to create a symbolic link
> within a tar.  Is there a way to create that link within the tar command
> instead?
 
> Thanks,
> Cheri Fox
 
-- 
MDB Consulting, LLC
mailto:jeff at mdbconsulting.com





More information about the Anthill mailing list