How is possible to export ant Project generated programmatically into build.xml
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.
精彩评论