helidon-io / helidon-build-tools

Build tools for the Helidon Project
https://helidon.io
Apache License 2.0
35 stars 35 forks source link

Support variable in path values #1067

Open tvallin opened 2 months ago

tvallin commented 2 months ago

From @romain-grecourt:

Add the capability to resolve variable in path. This improve the readability and remove unnecessary code lines, if statements.

Use case

From

<exec src="/nodes/mp/inputs.xml" if="${flavor} == 'mp'"/>
<exec src="/nodes/se/inputs.xml" if="${flavor} == 'se'"/>

To

<exec src="/nodes/${flavor}/inputs.xml"/>