[英]Loading yaml property file with ant
Is there any built-in way to parse a yaml property file in ant? 有没有内置的方法来解析ant中的yaml属性文件?
When searching for a solution I only find the LoadProeprties
task with which I could only load files in the .properties
format: https://ant.apache.org/manual/Tasks/loadproperties.html 在寻找解决方案时,我只能找到只能以
.properties
格式加载文件的LoadProeprties
任务: https : LoadProeprties
No. Ant only supports loading Properties and XML files (the latter via XMLProperty ). 否。Ant仅支持加载属性和XML文件(后者通过XMLProperty )。 There are numerous ways to transform YAML into a Properties file though.
尽管有很多方法可以将YAML转换为Properties文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.