ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Phonsa <>
Subject RE: Directory names
Date Tue, 30 Sep 2003 16:15:20 GMT
Thanks a lot, this works. I wanted to somehow use your answer for my
original problem. Pls take a look at this and I would appreciate any

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 based on the name and director structure of the
project. I am able to generate docs if all projects and docs were under one
folder. But the scr and destination folders are supposed to be under
different directory structures like this:

Src: Projects/devSystem/Project1

Destination: Javadoc/devSystem/Project1

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.



-----Original Message-----
From: [] 
Sent: Monday, September 29, 2003 11:21 PM
Subject: RE: Directory names


    <dirset id="fs" dir="." includes="*"/>
    <pathconvert property="fs.value" refid="fs"



> -----Original Message-----
> From: Vikas Phonsa []
> Sent: Monday, September 29, 2003 10:18 PM
> To: 'Ant Users List'
> Subject: Directory names
> Is there any way ant could be used to get a list of names of 
> directories
> under a base directory.
> I have checked out basename and dirname but it seems they 
> won't serve the
> purpose.
> Thanks
> vikas
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message