There may be some twisted and ingenious application of <pathconvert> that could accomplish this, or some other task I don't know about, but it seems that Ant's facilities for manipulating properties sans file IO are limited.
How about a script? -Matt --- Stefano Mancarella <[EMAIL PROTECTED]> wrote: > Matt Benson wrote: > > > 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. > > I've already considered this solution, but it seems > too complicated. > You have to use 4 different tasks to implement it: > <echo>, <replace>, > <loadfile> than <delete>. > Isn't there a simpler solution? > > > -- > 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>
