I am trying to reuse a task in an Ant way:
<Target Name="Release">
<Message Text="Env: $(Env)"/>
</Target>
<Target Name="ReleaseIntegration">
<CreateProperty Value="Development">
<Output TaskParameter="Value" PropertyName="Env" />
</CreateProperty>
<Message Text="Env: $(Env)"/>
<CallTarget Targets="Release"/>
</Target>
And I get:
Env: Development
Env:
Any ideas how to get this property into Release target?