On Wed, Apr 24, 2002 at 01:44:31AM -0700, Chris Kimpton wrote:
> Some properties in this file, like ${id} and
> ${integrationUnitTestDirectory} don't seem to get expanded when they
> are used - at least not for me.

$Id is not really a property, you just see that message when parsing the
docs because velocity is treating the RCS Id keyword as a reference that
its trying to expand.  You can safely ignore that.

> Is there some trick I am missing?

No tricks here.

> I am assuming that because they are defined in the project.xml those
> values will be used?

That is correct, integrationUnitTestDirectory is part of the project
descriptor and gets placed into the Ant context for build purposes.

> I am trying to run the iutest target from my project, it passes the
> first bit that uses the expanded ${integrationUnitTestDirectory}
> property - but then fails in the actual iutest/compile target, because
> the property did not expand for ${iutest}.

If ${iutest} is not being set, then I would venture that you are not
using the recommended method of loading up the properties as suggested
in the Integration document (see the section called "Properties").

> Is there a sample build-maven.xml in the maven installation - it would
> be useful - especially when things occasionally change in this file -
> to have it.

Yes.  There is a sample build-maven.xml file in the Integration
document.  This document should answer your questions.

Thanks,
Pete

Reply via email to