--- George McKinney wrote:
> The brute force way would be
> <property name="pt1" value="/base/rootdir/subdir1/"/>
> <property name="pt2" value="subdir2/subdir3/subdir4"/>
> <property name="longdir" value="${pt1}${pt2}"/>
> Although you might prefer a ${base} property that has the common root
and
> concatenate that with specific sub-paths whenever you need them.
Agreed. And we do that. Here's another example:
<javadoc doctitle="SMSI Java API Reference"
header="&copy; Copyright SMSI, 2000, 2001, 2002<br>All
Rights Reserved"
Having to write:
<property name="header1" value="&copy; Copyright SMSI, 2000, "/>
<property name="header2" value="2001, 2002<br>All Rights
Reserved"/>
<property name="javadoc_header" value="${header1}${header2}"/>
is amazingly unsatisfying.
Other thoughts?
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|