Use of Ant in the project

xiaoxiao2021-03-06  69

ANT directory settings and descriptions:

Build.bat // Set environment variables, execute Ant (available for temporary)

Build.xml // Ant configuration file

/ - DIST // Place compilation, final files after packaging

- SRC - Package // Place Java Source File - Webroot // JSP Source File and Related Profiles

- Build // Place the compiled file

- LIB // Place Compilation Required related class files

- DOC // generated API document

Note: Java source files are placed under SRC, and the JSP source file is placed in the Webroot directory under src. Execute the Ant command. In the dist directory: classes file, jar package, WAR package with build.xml file // == ======================================= >

$ {env.java_home} $ {env.ant_home}

= "javadoc" depends = "build">

===========================================//

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

New Post(0)