Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 49872 invoked from network); 21 Jul 2004 14:13:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jul 2004 14:13:29 -0000 Received: (qmail 10888 invoked by uid 500); 21 Jul 2004 14:13:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10811 invoked by uid 500); 21 Jul 2004 14:13:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 10795 invoked by uid 99); 21 Jul 2004 14:13:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [193.48.86.224] (HELO IReS.in2p3.fr) (193.48.86.224) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 21 Jul 2004 07:13:17 -0700 Received: from sbgpcs10.in2p3.fr (root@sbgpcs10.in2p3.fr [193.48.86.238]) by IReS.in2p3.fr (8.12.3/8.12.3/Debian-6.6) with ESMTP id i6LEDFbE017732 for ; Wed, 21 Jul 2004 16:13:15 +0200 Received: from sbgpcs10.in2p3.fr (ngirard@localhost [127.0.0.1]) by sbgpcs10.in2p3.fr (8.12.3/8.12.3/Debian-6.6) with ESMTP id i6LEDFT2007995 for ; Wed, 21 Jul 2004 16:13:15 +0200 Received: (from ngirard@localhost) by sbgpcs10.in2p3.fr (8.12.3/8.12.3/Debian-6.6) id i6LEDFeq007993 for user@ant.apache.org; Wed, 21 Jul 2004 16:13:15 +0200 Date: Wed, 21 Jul 2004 16:13:14 +0200 From: Nicolas Girard To: user@ant.apache.org Subject: Apply task and missing directories Message-ID: <20040721141314.GC6227@sbgpcs10.in2p3.fr> Reply-To: Nicolas Girard Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, i'm trying to automate the generation of png images from dia diagrams. The idea is to regularly update a cvs sandbox ; then, if one .dia file is newer than the associated .png file, i'd just like to launch dia using the 'apply' task. Here's a subset of the script: As you can see, I'd like the .png images to be generated into the build.design directory, which is different from the src.design directory where the srcfiles remain. Here's my problem: when dealing with, say file '${src.design}/a/b/test.dia', I get an error message because the output directory '${build.design}/a/b/' doesn't exist. So far I couldn't find an elegant way of creating the missing output directory before the external program is launched. Do you have an idea on how to achieve this ? Many thanks in advance, cheers, Nicolas --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org