Common Ant's operation, the main content is:
This article refers to the Java basic study of SuperZRB: the commonly used Ant's operational document, all of which are the correct executed code, and one or two of its own comments.
(1) Establish a project (2) Establishing an attribute (3) Operation of the database (4) Javac compile (5) Delete Directory (6) Establishment Directory (7) Copy file group (8) JAR is a package (9) copy Single file (10) runs more and more common, I didn't expect, I hope everyone will add.
Driver = "com.mysql.jdbc.driver" URL = "JDBC: mysql: // localhost: 3306 / quickstart" Userid = "root" password = "" οNERRοR = "Continue" Print = "yes" SRC = "./ Test.ddl" /> target> destdir = "$ {root} / bin /" INCLUDES = "** / *. java" Classpath = "$ {classpath}; $ {client_classes} /utils_common.jar" /> target> target> fileset> copy> target> target> fileset> copy> target> - (10) Run (parameters in Arg, different, classpath is the path to the Class file to be executed) -> java> target> provject>