Generating Java code from XML in Eclipse
问题 I am working on a project that will have several Java classes that are very similar to each other, and that I would like to generate from XML files. What I would like to be able to do is change the Eclipse build process to do something like this: Compile the code generator Run the code generator, converting the XML to Java Compile the rest of the project I could do this all manually but I would prefer to be able to have Eclipse do it all for me. Example I want to be able to take a source XML