ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John5342 <john5...@googlemail.com>
Subject Re: How to Configure batch file in Ant?
Date Thu, 18 Sep 2008 13:37:23 GMT
>Probably best to <exec> the unix untar command so that permissions get
preserved, otherwise shell scripts don't have their >execute bit set

True normally but actually probably doesnt make any difference. The getting
started guide mentions explitely setting the permissions anyway (can be done
using chmod ant task in this case) so the permissions probably arent set in
the archive in the first place. Its also more portable to do as much as
possible using ant tasks.

2008/9/18 Steve Loughran <stevel@apache.org>

> John5342 wrote:
>
>> Best place to start is probably the getting started guide at
>> http://activemq.apache.org/version-5-getting-started.html and follow the
>> unix instructions. Most of the actions should be doable using standard ant
>> tasks such as untar and then at the end of the getting started guide it
>> mentions the unix script to run which is
>>
>>
> Probably best to <exec> the unix untar command so that permissions get
> preserved, otherwise shell scripts don't have their execute bit set
>
>
> --
> Steve Loughran                  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action           http://antbook.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message