Hi again, and sorry for bothering everyone.

The problem was just in a typo. Additional properties and standard ones are interpolated in file names equally well.

Sorry again and best regards,

Sergey


On 07.05.2016 20:32, USHAKOV, Sergey wrote:
Hi!

I got a question on using archetypes. Sorry if asking a FAQ, but I could not find an answer so far...

A have an archetype with a resource whose file name should be interpolated with an additional archetype property. Is that possible?

I have archetype metadata like this:

<archetype-descriptor ... >
  <requiredProperties>
    <requiredProperty key="paramProjectTitleEn">
      <defaultValue>Project Title</defaultValue>
    </requiredProperty>
  </requiredProperties>
...

If I use a standard property like "groupId" in resource file name, like "__groupId__my_resource_name", interpolation succeeds. But if I use an additionalproperty, like "__paramProjectTitleEn__my_resource_name", I get debug messages "Copying fileset ... -> 0: []" and "Copied 0 files".

And at the same time this additional property is successfully interpolated in resource content filtering.

Is it possible to get additional archetype properties interpolated in resource file names? What may be missing?

Thanks and best regards,
Sergey Ushakov

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to