ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject RE: tokenize each directory of a path
Date Sat, 26 May 2001 11:09:46 GMT
Can't you just use java.io.File?
It knows how to pick paths appart and path does not have to exist or
anything.

> -----Original Message-----
> From: Wee, Merrick [mailto:Merrick.Wee@state.mn.us]
> Sent: Saturday, May 26, 2001 7:01 AM
> To: 'ant-dev@jakarta.apache.org'
> Subject: tokenize each directory of a path
>
>
> I need to parse out a path (test/directory/path) in order to
> get the deepest
> child "path" in other words
>
> Can anyone give me a recommendation on how to approach this?
>
> I've found the path tokenizer, some regex and perl5 (in the
> ORO and regex
> jakarta projects) but
> I can't find any docs on how to use them, or even what tasks
> are available,
> just the javadoc.
> Can I just stick in a java chunk in the xml somewhere, as it
> is a pretty
> simple job?  Do I have to go ahead and write
> my own task?  Which I"ve done for other stuff, this just
> seems like a simple
> task.
>
> Any help??
>
>
> Thanks
>


Mime
View raw message