Hello, I'm using trying to create an archetype, and I want to use some
properties. However <defaultValue> doesn't reference the included property
if it's already define, as I thought would be the norm. Here's an example:

<?xml version="1.0" encoding="UTF-8"?>
<archetype-descriptor name="basic">
  <fileSets>
        [...]
  </fileSets>

  <requiredProperties>
    <requiredProperty key="earname"/>
    <requiredProperty key="context-root">
      <defaultValue>${earname}</defaultValue>
    </requiredProperty>
  </requiredProperties>
</archetype-descriptor>

When I generate this project, I am asked for earname, but never for
context-root, and inside my project files ${context-root} will explode to
the ${earname} literal.
Any ideas?

Reply via email to