Then add your Ant files to a folder in it by right-clicking the folder and selecting Add Files.Īfter adding the files, right click on the folder again and select Generate DTD/Schema. Make sure the Project window is open, if not use the Window menu to open it. The way this works is that you create a project by selecting New Project on the Project menu. XMLSpy can generate schemas from a set of XML files. As you use more features, adding to your XSD is a very minor effort in return for getting great editing support and validation help. If an official schema isn’t going to happen, you can use XMLSpy to quickly create one that covers the specific tasks and features you use.
I immediately remembered that I’d been here before a couple years back, but this time I figured I’d use XMLSpy’s schema generation feature to try to do something about it… Above the challenge of making a flexible and comprehensive model of the Ant core, it would be able to include all the external tasks. The answer turns out to be, there is no Ant schema or DTD. I quickly found a Stack Overflow question looking for the same thing. That seemed like a simple problem, so off I went looking for the schema. I was editing one of them in XMLSpy but wasn’t getting entry help or code completion because I didn’t have a schema assigned to my script.
#WHERE WE USE APACHE ANT SOFTWARE#
Recently I was having some issues with the Ant files for a software project I was working on.