从今天看是研究springside-3.3.4第一天:部署

all-in-one版本太大,就不想下了,我下了一个src版,当然这个版本就需要自己准备相关东西来配置喽,废话少说,准备开始;

准备工作:
1、apache-maven-2.2.1-bin.zip
2、maven-ant-tasks-2.1.1.jar
3、apache-ant-1.8.1.zip
4、springside-3.3.4-src.zip
5、Set JAVA_HOME,并加入path(估计学JAVA的,早配置了)

配置apache-maven-2.2.1
1. Set M2_HOME and add %M2_HOME%/bin to “path”
2. Run command “mvn --version” in dos
===================打印结果=====================
Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800)
Java version: 1.6.0_13
Java home: C:\Program Files\Java\jdk1.6.0_13\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

配置apache-ant-1.8.1
1、SET ANT_HOME and add %PATH%;%ANT_HOME%\bin to "path"
2、Run command “ant  -version” in dos
===================打印结果=====================
Apache Ant version 1.8.1 compiled on April 30 2010

配好ant和maven的path后, 保证在ant的lib目录中放了maven-ant-tasks-2.1.1.jar.

你可能感兴趣的:(java,apache,maven,ant,dos)