From user-return-37330-apmail-ant-user-archive=ant.apache.org@ant.apache.org Mon Sep 29 17:04:36 2003 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 84714 invoked from network); 29 Sep 2003 17:04:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Sep 2003 17:04:36 -0000 Received: (qmail 47156 invoked by uid 500); 29 Sep 2003 17:04:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 47125 invoked by uid 500); 29 Sep 2003 17:04:19 -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 47112 invoked from network); 29 Sep 2003 17:04:18 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 29 Sep 2003 17:04:18 -0000 Received: from D2CFT80J (localhost.localdomain [127.0.0.1]) (authenticated) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id h8TH4Kd19512 for ; Mon, 29 Sep 2003 19:04:20 +0200 From: =?iso-8859-1?Q?Antoine_L=E9vy-Lambert?= To: "Ant Users List" Subject: AW: If-Else For FileSets Date: Mon, 29 Sep 2003 19:03:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <8765557836794E4EADF7F31290F4C39F032815C7@ns.suz.com> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Patterns support if and unless in ant 1.5.4 and higher (I dont know about earlier versions) from the manual : http://ant.apache.org/manual/CoreTypes/patternset.html Antoine -----Ursprüngliche Nachricht----- Von: Vikas Phonsa [mailto:VPhonsa@suz.com] Gesendet: Montag, 29. September 2003 18:41 An: 'Ant Users List' Betreff: If-Else For FileSets Hi Everybody, I'm trying to make an ant script that would scan several different Project folders, generate javadocs and place the docs in different destination folders for each project. The scr and destination folders are under different directory structures Src: Projects/devSystem/Project1 Projects/devBR/Project2 Destination: Javadoc/devSystem/Project1 Javadoc/devBR/Project2 I know if-else task exists in ant-contrib. But can I implement some if-else functionality to do a selection based on directory structure or names so that the docs go to the appropriate folders. Below is the script that I could use to generate docs if all projects and docs were under the folder where my build script is located: Any ideas, suggestions? Thanks Vikas --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org