ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam....@cyberspaceroad.com>
Subject changing a java package name to a directory path
Date Wed, 18 Jun 2003 10:55:24 GMT
Hi,

I would like to create a directory path	from a property containing a 
java package name.

e.g.:

org.foo.bar to org/foo/bar

Is there a way of doing this in Ant? I'm using JAXB (the xml binding 
package). I created a task to run its executable xjc, which creates a 
package of java classes from an xml schema. You have to give it a 
package name, e.g. org.foo.bar, to create. It's this property I need to 
convert into a path so I can check if it's <uptodate> in comparison with 
the xml schema.

Thanks in advance for any help,

Adam




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


Mime
View raw message