ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@wamu.net>
Subject JDK142, ANT154: Convert java class name to relative path
Date Tue, 24 Jul 2007 23:53:48 GMT
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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message