Common Ant's operation (my own summary)

xiaoxiao2021-03-06  38

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" />

destdir = "$ {root} / bin /"

INCLUDES = "** / *. java"

Classpath = "$ {classpath}; $ {client_classes} /utils_common.jar"

/>

- (10) Run (parameters in Arg, different, classpath is the path to the Class file to be executed) ->

转载请注明原文地址:https://www.9cbs.com/read-63309.html

New Post(0)