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
If your running the build.xml from eclipse, here are two possible solutions:
1: rightClick on build.xml->classpath tab (Here you add each svnant jar
explicitly)-> Add External Jar(add all svnant jars)->Run
2: rightClick on build.xml->Environment->Select button->Then select the env
variable explici
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
I need a temporary directory.
What's the 'ant speak' for
property name='my-temp' if directory exists (my-temp) then my-temp
else mkdir 'my-temp'
I hope that's clear?
In bash it might be
#check/create fo directory for output, per font
if [[ ! -d ${here}/fo ]]
then
mkdir ${here}/fo
fi
Ok, here's the deal.
The properties file is generated in ISO8859-1 encoding but(and this is
what I didn't realise :-[ ) when I edit the file to put the
APPLICATION_GUID as HELLOÀÁÀ, both vim and gedit convert the file into
UTF-8.
I used iconv to reconvert the file into ISO8859-1 and now it s
10 matches
Mail list logo