I follow the operations in the book but I failed to start ant.
Operations:
1) Write a simple java program named MyDate as follows:
2) Create a XML file and write follows words in it:
3) Open the cmd window and type the command as follows:
Now the directory of the project is as follows:
The MyDate.java is under the folder src
4) Start use ant
Tips: I don't know why would it happen and I've serched many materials but still can't find the solution.
I've got the solutions!!!!! 8.18
modify the build.xml as follows:
The lesson I've got here is that: Don't always believe the book. Just go to the offical site to get the solution.
I got a example from the site and modified it and then I can run ant!
So cool!