3
我敢肯定,这是微不足道的 - 但一直在抨击我的头墙 我想要一个目录充满了胡须模板(html文件本质上)并将它们组合成一个文件 - 包装每一个与标签Apache Ant为每个文件的concat作业添加页眉和页脚
例子:
File1 = <a>This is a Link</a>
File2 = <b>This is in bold</b>
我要像输出看:
<script type="text/mustache" id="File1">
<a>This is a Link</a>
</script>
<script type="text/mustache" id="File2">
<b>This is in bold</b>
</script>
我使用的是CONCATŧ问
<concat destfile="mustache.js" fixlastline="yes">
<fileset dir="." includes="**/*.mustache"/>
</concat>
,但无法弄清楚如何让脚本块显示
感谢您的想法 - 实际上我们无法得到这个工作(并放弃了 - 使用bash脚本,而不是: – user922044
这个例子完全是你要求的 - 什么不适合你!? – Rebse