You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Yu, Calvin" <cy...@verticalone.com> on 2000/10/27 15:14:47 UTC

Converting paths to properties.

I apologize if this question has already been asked.

Is there anyway to convert the a path element to a string property?  Some
places that this would come in handy would be for the ddcreator and ejbc
tasks, which does not have classpath element support (at least not the
binary downloads), and to generate shell scripts that execute java classes.

Thank you,
Calvin

Re: Converting paths to properties.

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "YC" == Yu, Calvin <cy...@verticalone.com> writes:

 YC> Is there anyway to convert the a path element to a string
 YC> property?

<path id="somepath">
 ...
</path>

<property name="foo" refid="somepath" />

should work.

Cheers

        Stefan