| JDK142, ANT154: Convert java class name to relative path | JDK142, ANT154: Convert java class name to relative path 2007-07-24 - By Karr, David
I'm trying to build something that determines a set of file names to pass to the PMD Ant task. At one step, I have a Java class name, and I need to convert it to a relative file path. How do I convert a variable like "com.abc.stuff" to "com/abc/stuff" (I can deal with adding the prefixes and suffixes to that)?
It looks like the Ant-contrib "propertyregex" task comes close, but I don't understand how to use it to get what I'm looking for.
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |