ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RADEMAKERS Tanguy" <Tanguy.RADEMAK...@swift.com>
Subject RE: symlink - which ant jar do I need?
Date Mon, 22 Oct 2007 12:01:49 GMT
Hello Wayne,

In the future, you may want to make things like that clear from the
start, as i have been running a simple test to create symlinks, not
delete them. Having changed that, i can tell you that the following
build script does work to delete symlinks under Solaris 10 (not sure
about Linux):

<?xml version="1.0" encoding="UTF-8"?>
<project name="bollo" default="symlinktest" basedir=".">

    <target name="symlinktest">
            <symlink action="delete" link="target" resource="source"/>
            <!-- <symlink link="target" resource="source"/> -->
    </target>

</project>

Regs,
/t

>-----Original Message-----
>From: Wayne Cruz [mailto:wayne.cruz@sri.com] 
>Sent: Thursday, October 18, 2007 7:13 PM
>To: Ant Users List
>Subject: RE: symlink - which ant jar do I need?
>
>Tanguy-
>
>I'll try using an <exec> task to run a "which ln" command - good idea!
>
>I've already gone ahead and used an <exec> task to delete the symbolic 
>link.  Deleting a symbolic link is what I've wanted to all 
>along and I was 
>hoping to use the symlink delete option to do so.  Is there possibly a 
>problem with the symlink delete option?
>
>Thanks for your help,
>Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message