Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 13958 invoked from network); 29 Sep 2003 20:54:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Sep 2003 20:54:56 -0000 Received: (qmail 99298 invoked by uid 500); 29 Sep 2003 20:54:35 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 99104 invoked by uid 500); 29 Sep 2003 20:54:34 -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 99088 invoked from network); 29 Sep 2003 20:54:33 -0000 Received: from unknown (HELO ASMCMAIL.suz.com) (208.139.169.228) by daedalus.apache.org with SMTP; 29 Sep 2003 20:54:33 -0000 Received: by ns.suz.com with Internet Mail Service (5.5.2653.19) id ; Mon, 29 Sep 2003 13:53:53 -0700 Message-ID: <8765557836794E4EADF7F31290F4C39F032817E1@ns.suz.com> From: Vikas Phonsa To: 'Ant Users List' Subject: RE: If-Else For FileSets Date: Mon, 29 Sep 2003 13:53:50 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 Thanks for ur response, All the examples and docs I could find about javadoc task show that you = can use fileset, patternset etc to specify the source directory but there doesn't seem to be a way to specify different destination directories = based. Is there anyway to specify different destination directory for each = source folder based on the name of the source folder ? Thanks Vikas -----Original Message----- From: Antoine L=E9vy-Lambert [mailto:antoine@antbuild.com]=20 Sent: Monday, September 29, 2003 10:03 AM To: Ant Users List Subject: AW: If-Else For FileSets 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=FCngliche 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org