ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: Creating symbolic links
Date Sun, 21 May 2006 13:29:57 GMT
Martin:

Is there a reason you are suggestion to use <exec>?  I mean, it would 
appear <symlink> should do the trick...but, assuming it doesn't, your 
<exec> task solution certainly should work.

Sorry, I feel like I am catching have the conversation...and am confused ;)

Martin Gainty wrote:
> Good Morning Scot-
> The exec task on the .sh that contains the ln commands should work
> Let me know if you have specific issues with that implementation
> Thanks
> Martin --
>
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please 
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
> ----- Original Message ----- From: "Scot P. Floess" 
> <floess@mindspring.com>
> To: "Martin Gainty" <mgainty@hotmail.com>
> Sent: Saturday, May 20, 2006 8:00 PM
> Subject: Re: Creating symbolic links
>
>
>> External Java class?  Sorry you lost me...where did he mention an 
>> external class?  He was questioning <symlink>
>>
>> Did I miss something?
>>
>> Martin Gainty wrote:
>>> Good Afternoon Scott / Tom
>>>
>>> I dont see how Ant Typedef Task which is used to wire in external 
>>> Java class could be used for this task
>>> http://ant.apache.org/manual/index.html
>>>
>>> Do you have something specific implementation in mind?
>>>
>>> M-
>>>
>>> This email message and any files transmitted with it contain 
>>> confidential
>>> information intended only for the person(s) to whom this email 
>>> message is
>>> addressed.  If you have received this email message in error, please 
>>> notify
>>> the sender immediately by telephone or email and destroy the original
>>> message without making a copy.  Thank you.
>>>
>>> ----- Original Message ----- From: "Scot P. Floess" 
>>> <floess@mindspring.com>
>>> To: "Ant Users List" <user@ant.apache.org>
>>> Sent: Saturday, May 20, 2006 3:55 PM
>>> Subject: Re: Creating symbolic links
>>>
>>>
>>>> I don't think he meant anything by it...I tried to use it too (I've 
>>>> never used the task before).  I read the online docs, am on a Linux 
>>>> system (its all I use) and had some issues with it - as in I wasn't 
>>>> able to do symbolic links.  Of course I didn't spend a great deal 
>>>> of time using the task - but, it didn't work as straight forward as 
>>>> other tasks do - be it ant or ant contrib.
>>>>
>>>> Granted symbolic links are a *nix sorta concept, I'm sure Tom 
>>>> wanted to approach this via an ant task.  Sounds to me like he did 
>>>> read the manual...just wasn't working as he would have thought...
>>>>
>>>> Martin Gainty wrote:
>>>>> Goddag Tom-
>>>>>
>>>>> you may want to invoke the ant task 'exec' ..doc available at
>>>>> http://ant.apache.org/manual/index.html
>>>>> /*assume /bin/bash is the first line of the exec'ed 
>>>>> shell*/#!/bin/bash/usr/ucb/ln [-fs] OriginalFilename Newlinkname
>>>>> Sverige Altid-Martin
>>>>> This email message and any files transmitted with it contain 
>>>>> confidential
>>>>> information intended only for the person(s) to whom this email 
>>>>> message is
>>>>> addressed.  If you have received this email message in error, 
>>>>> please notify
>>>>> the sender immediately by telephone or email and destroy the original
>>>>> message without making a copy.  Thank you.
>>>>>
>>>>> ----- Original Message ----- From: "Tommy Nordgren" 
>>>>> <tommy.nordgren@chello.se>
>>>>> To: "Ant Users List" <user@ant.apache.org>
>>>>> Sent: Saturday, May 20, 2006 8:14 AM
>>>>> Subject: Re: Creating symbolic links
>>>>>
>>>>>
>>>>>>
>>>>>> On 20 maj 2006, at 14.07, Scot P. Floess wrote:
>>>>>>
>>>>>>> What doesn't it do?  More to the point what is it not doing for

>>>>>>> you?
>>>>>>>
>>>>>>> Tommy Nordgren wrote:
>>>>>>>> Are there any ant task available to create a set of symbolic

>>>>>>>> links in a directory, that
>>>>>>>> refers to a group of files in another directory?
>>>>>>>> I've checked out the Symlink task of the ant distribution,
but 
>>>>>>>> it don't quite do what I want.
>>>>>>>>
>>>>>>>> -------------------------------------
>>>>>>>> This sig is dedicated to the advancement of Nuclear Power
>>>>>>>> Tommy Nordgren
>>>>>>>> tommy.nordgren@chello.se
>>>>>>>>
>>>>>>>
>>>>>> According to docs , when passed a set of files, in dont create a

>>>>>> set of symbolic links in the target
>>>>>> directory. Instead it creates a single file containing all the 
>>>>>> links in java resource format.
>>>>>>
>>>>>> ------------------------------------------------------
>>>>>> "Home is not where you are born, but where your heart finds peace"
-
>>>>>> Tommy Nordgren, "The dying old crone"
>>>>>> tommy.nordgren@chello.se
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------

>>>>>>
>>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>>
>>>>>
>>>>
>>>> -- 
>>>> Scot P. Floess
>>>> 27 Lake Royale
>>>> Louisburg, NC  27549
>>>>
>>>> 252-478-8087 (Home)
>>>> 919-754-4592 (Work)
>>>>
>>>> Chief Architect JPlate  http://sourceforge.net/projects/jplate
>>>> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>
>>>>
>>>
>>
>> -- 
>> Scot P. Floess
>> 27 Lake Royale
>> Louisburg, NC  27549
>>
>> 252-478-8087 (Home)
>> 919-754-4592 (Work)
>>
>> Chief Architect JPlate  http://sourceforge.net/projects/jplate
>> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


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


Mime
View raw message