Re: Check if directory is empty or not

2007-04-26 Thread Charles Paulet
todir="${directory.target.temp}" includeEmptyDirs="false"/> file="${directory.target.temp}/my-dir-to-check"/> the src directory is not copied if it is empty ! Anderson, Rob (Global Trade) wrote: I have a build.xml that runs a custom task to import documents into a document managemen

Re: Settting environment variables

2007-04-20 Thread Charles Paulet
Instead of using exec, you can use shellscript tag from ant-contrib (http://ant-contrib.sourceforge.net/tasks/tasks/shellscript.html) : export myvar=myvalue my_exec my_param query wrote: When I tried to use in and task, build compilation is failing with the following errors