2012-01-30 89 views

回答

3

concat可以作爲一個資源集合,所以你可以在一個loadresource使用它:

<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> 

現在the.property屬性將包含concat內的所有資源的串聯。 (當你說變量時,我假設你的意思是一個螞蟻屬性。)

+0

太棒了。完全錯過了!非常感謝 – Industrial 2012-02-01 22:10:49