开发者

How is possible to export ant Project generated programmatically into build.xml

开发者 https://www.devze.com 2023-01-04 10:19 出处:网络
I am using ant externally, i.e. I construct org.apache.tools.ant.Project dynamically in my prog开发者_高级运维ram: setup its Tasks, Targets etc., then I want to create build.xml file. How is possible

I am using ant externally, i.e. I construct org.apache.tools.ant.Project dynamically in my prog开发者_高级运维ram: setup its Tasks, Targets etc., then I want to create build.xml file. How is possible? How possible export this project into ordinal ant build.xml?


I've been working with the ant codebase a lot recently, and I'm afraid I don't think this is possible.

Since you're the one generating the project in the first place, it might be easier if you generate the XML at the same time.

0

精彩评论

暂无评论...
验证码 换一张
取 消