[Home, Previous, Next]
7 How to use this environment?
Summary: Describes how to use this ANT environment.
Now there is already an anti-ANT environment, put it in the work / common / directory, the configuration file is also complete, you can start working.
Steps to conduct projects:
Give the project a loud name, just call Proj bar :) CD to Work / Lower Mkdir Proj Copy Work / Common / Build.xml and Build.properties file to Proj to modify build.xml, build.properties Putting and project What is the name, such as the name. CD to proj ant usage (you can see how to print out) ANT Prepare (build a directory structure), start tapping the code. Create a directory to SRC / Main / COM / VITULAR / ProJ / establishes hello.java files in src / main / com / vitular / proj /. Ant Checkstyle discovers less package.html in the directory and does not let me create a PUBLIC constructor. (As long as it contains the main () function, it is said to be modified. If you have changed it, you will check it. Ant Compile (compiled) ANT JAR (packaged) Go to SRC / TEST / to build a testHello.java file test. Ant Test is good, successful. ... The rest is not coming.
[Home, Previous, Next]