ApacheAnt中的Concat文件是否为变量?

ApacheAnt中的Concat文件是否为变量?,ant,build,Ant,Build,我知道我可以使用ANT的concat将多个文件合并到一个文件中。但是把文件合并成一个变量怎么样 可以这样做吗?可以用作资源集合,因此您可以将其用于: 可以用作资源集合,因此您可以将其用于: 太好了。完全错过了!多谢了,太好了。完全错过了!谢谢 <loadresource property="the.property"> <concat> <file file="foo.txt" /> <file file="another_fil

我知道我可以使用ANT的
concat
将多个文件合并到一个文件中。但是把文件合并成一个变量怎么样

可以这样做吗?

可以用作资源集合,因此您可以将其用于:


可以用作资源集合,因此您可以将其用于:



太好了。完全错过了!多谢了,太好了。完全错过了!谢谢
<loadresource property="the.property">
  <concat>
    <file file="foo.txt" />
    <file file="another_file.txt />
    <string>You can put any resource in here, not just files!</string>
  </concat>
</loadresource>