On 25 April 2012 04:56, Stefan Bodewig wrote:
>>> In ant that would be
>
>>>
>
>>> If the directory already exists the task simply doesn't do anything.
>
>> How might I combine that with a property definition please...
>
> I didn't see you wanted to define a property, sorry. My recommendation
On 2012-04-24, Dave Pawson wrote:
> On 24 April 2012 16:00, Stefan Bodewig wrote:
>> On 2012-04-24, Dave Pawson wrote:
>>> In bash it might be
>>> #check/create fo directory for output, per font
>>> if [[ ! -d ${here}/fo ]]
>>> then
>>> mkdir ${here}/fo
>>> fi
>> In ant that would be
On 24 April 2012 16:00, Stefan Bodewig wrote:
> On 2012-04-24, Dave Pawson wrote:
>
>> In bash it might be
>
>> #check/create fo directory for output, per font
>> if [[ ! -d ${here}/fo ]]
>> then
>> mkdir ${here}/fo
>> fi
>
> In ant that would be
>
>
>
> If the directory already exists th
On 24 April 2012 16:00, Stefan Bodewig wrote:
> On 2012-04-24, Dave Pawson wrote:
>
>> In bash it might be
>
>> #check/create fo directory for output, per font
>> if [[ ! -d ${here}/fo ]]
>> then
>> mkdir ${here}/fo
>> fi
>
> In ant that would be
>
>
>
> If the directory already exists th
On 24 April 2012 15:59, Harold Putman wrote:
> You just do...
>
>
>
>
> The creates the directory in basedir, and by using tempfile you guarantees
> that the directory does not already exist. But if the directory did already
> exists, mkdir will do nothing, there is no need to che
On 2012-04-24, Dave Pawson wrote:
> In bash it might be
> #check/create fo directory for output, per font
> if [[ ! -d ${here}/fo ]]
> then
> mkdir ${here}/fo
> fi
In ant that would be
If the directory already exists the task simply doesn't do anything.
Stefan
--
You just do...
The creates the directory in basedir, and by using tempfile you guarantees
that the directory does not already exist. But if the directory did already
exists, mkdir will do nothing, there is no need to check first.
(BTW thanks for the XSLT FAQ. I spend a lot of