ivy+ant configuration record

1. Configure ant, the configuration process is omitted, mainly the environment variable ANT_HOME.PATH.CLASSPATH;

test whether the configuration is successful:
a. Create a build.xml template file as follows:
<?xml version="1.0" encoding="GBK"?>
<project name="测试" default="copyfile" basedir="." >
   <target name="copyfile">
      <copy file="D:\testTemp\a.txt" todir="E:\testTemp" overwrite="true" />
   </target>
</project>

b. Create a file a.txt to be copied, the content is customized;
c. Run cmd, go to the build.xml path, enter "ant" and press Enter.

2. The method of generating the build.xml file

Using Ant in Eclipse
http://blog.csdn.net/baple/article/details/38380169

Building ant projects and compiling and running ant in eclipse
http://blog.csdn.net/qing419925094 /article/details/42968007

3. Ivy configuration
---- Use Apache Ivy to implement dependency management in projects
http://blog.csdn.net/jediael_lu/article/details/37353723

---- Beginner Ivy(1)- Installation configuration
http://www.blogjava.net/aoxj/archive/2009/03/31/263012.html

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327062200&siteId=291194637