ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: apply task trouble for command using < and >
Date Fri, 25 Nov 2005 16:55:31 GMT
Usually you place a <mkdir> at the beginning, e.g. before a <javac>.
If the dir does not exist, it will be created. If if exists already, nothing happens.

Because this (javac fails if dir does not exist) is an old behaviour some build scripts
may rely on that behaviour, so we cant change that. 

<include name="*.js"/>
<include name="**/*.js"/>
You dont need the first statement. ** fetches all directories - inclusive the current .


>-----Urspr√ľngliche Nachricht-----
>Von: Jakob Fix [] 
>Gesendet: Freitag, 25. November 2005 17:39
>An: Ant Users List
>Betreff: Re: apply task trouble for command using < and >
>now it even looks aesthetic :-)
>I've integrated jslint which checks the syntax (see
> using another macrodef, and if all 
>files pass runs them through jsmin.  Well, I'm aware that this 
>may get OT, but I must say I learnt an awful lot.  Thanks again, Jan.
>Hmm, just one small problem I couldn't solve yet.  Apply will 
>bail out if it tries to output a file to a directory that 
>doesn't exist.
>I attach the build.xml file (we'll see if it gets through ... 
>Jakarta mailing list guidelines don't say anything about 
>attachments).  Thanks again!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message