'apache ant build.xml

Is it possible to create files on the fly using apache ant - currently I have my apache ant build.xml downloading all my JS script dependencies.

What I am want to do now is create some HTML templates is this possible. I cannot find a task or antlib that does this.

Can any point me in the correct direction?



Solution 1:[1]

You could use the touch and echo commands as well

<touch file="xx.js"/>
<echo file="xx.js">blah</echo>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 emeraldjava