I created a build file using Export option in the context menu of the Eclipse project. Creating the build.xml was not a difficult thing, so to speak as it was managed by Eclipse.
Then I ran the build file by right clicking on it - and selecting the desired option. Now I added a sample
java class in the default package. But running the build did not run this Java class.
This is the build.xml:
Some doubts that popped up into my head; how do I run the project after successfully building it? It appears from the docs that I would need a separate <target>. If I have two class files that I have to execute back to back what steps do I take?
And if I have to build this project from command line, how would I proceed? I'm new to
Ant and will deeply appreciate your thoughts.