ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Coverting package name to directory
Date Thu, 07 Nov 2002 15:30:52 GMT
I don't know about a better way, but in a POC I did
for placing source files in the proper directory based
on the package name, I echoed the package to a file,
used the replace task to substitute / for ., and read
it back in as a property.

-Matt

--- Stefano Mancarella <stefano.mancarella@caboto.it>
wrote:
> Which is the better way to convert a package name to
> a relative 
> directory path?
> 
> For example:
> com.foo.blah --> com/foo/blah
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message