锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲色婷婷六月亚洲婷婷6月,国产亚洲蜜芽精品久久,在线A亚洲老鸭窝天堂http://www.tkk7.com/wangxq/archive/2006/03/30/38244.html鎵漿涔懼潳鎵漿涔懼潳Thu, 30 Mar 2006 05:37:00 GMThttp://www.tkk7.com/wangxq/archive/2006/03/30/38244.htmlhttp://www.tkk7.com/wangxq/comments/38244.htmlhttp://www.tkk7.com/wangxq/archive/2006/03/30/38244.html#Feedback0http://www.tkk7.com/wangxq/comments/commentRss/38244.htmlhttp://www.tkk7.com/wangxq/services/trackbacks/38244.html闃呰鍏ㄦ枃

鎵漿涔懼潳 2006-03-30 13:37 鍙戣〃璇勮
]]>
Maven Introductionhttp://www.tkk7.com/wangxq/archive/2006/03/01/32978.html鎵漿涔懼潳鎵漿涔懼潳Wed, 01 Mar 2006 03:01:00 GMThttp://www.tkk7.com/wangxq/archive/2006/03/01/32978.htmlhttp://www.tkk7.com/wangxq/comments/32978.htmlhttp://www.tkk7.com/wangxq/archive/2006/03/01/32978.html#Feedback0http://www.tkk7.com/wangxq/comments/commentRss/32978.htmlhttp://www.tkk7.com/wangxq/services/trackbacks/32978.html Maven Introduction

First, download maven-1.0.2.exe or maven-1.0.2.zip from

http://apache.justdn.org/maven/binaries/maven-1.0.2.exe

Then, unzip maven-1.0.2.zip to C:/ maven-1.0.2

Set MAVEN_HOME as : C:/ maven-1.0.2

Set %MAVEN_HOME%\bin to environment path.

Now, you can have a try to use it:

Go to ms-dos, and input C: >meven , and you will see:

____

|\/|__ _Apache__ ___

| |\/| / _` \ V / -_) ' \~ intelligent projects ~

|_||_\__,_|\_/\___|_||_|v. 1.0.2

This is showed that you have configured maven successfully.

Now, we can do a simple example to use maven.

Create a new folder named maventest in the C disk, and the go into ms-dos, input C:\MavenTest>maven genapp, press enter, you can input follow messages:

____

|\/|__ _Apache__ ___

| |\/| / _` \ V / -_) ' \~ intelligent projects ~

|_||_\__,_|\_/\___|_||_|v. 1.0.2

Enter a project template to use: [default]

Please specify an id for your application:[app]

wangxq

Please specify a name for your application:[Example Application]

wangxq

Please specify the package for your application:[example.app]

wangxq

build:start:

genapp:

聽聽聽 [copy] Copying 1 file to C:\MavenTest\src\java\wangxq

聽聽聽 [copy] Copying 3 files to C:\MavenTest\src\test\wangxq

聽聽聽 [copy] Copying 1 file to C:\MavenTest

聽聽聽 [copy] Copying 2 files to C:\MavenTest

BUILD SUCCESSFUL

Total time: 33 seconds

Finished at: Wed Mar 01 09:26:00 CST 2006

Now, you can find that there are two new folders and two files in the maventest folder, these things are created automaticly by maven genapp plugin.

And then, you can implement C:\MavenTest>maven java:compile:

Maven will download needed jar form internet, and when it finishes, it will compile java files in the src folder. And then create a new folder contain class files.

build:start:

java:prepare-filesystem:

聽聽聽 [mkdir] Created dir: C:\MavenTest\target\classes

java:compile:

聽聽聽 [echo] Compiling to C:\MavenTest/target/classes

聽聽聽 [echo]

==========================================================

NOTE: Targetting JVM 1.4, classes

will not run on earlier JVMs

==========================================================

聽聽聽 [javac] Compiling 1 source file to C:\MavenTest\target\classes

BUILD SUCCESSFUL

Total time: 2 minutes 48 seconds

Finished at: Wed Mar 01 09:29:58 CST 2006

And then, you can implement C:\MavenTest>maven jar:

Maven will download needed jar form internet, and when it finishes, it will implement jar files in the target folder.

build:start:

java:prepare-filesystem:

java:compile:

聽聽聽 [echo] Compiling to C:\MavenTest/target/classes

聽聽聽 [echo]

==========================================================

NOTE: Targetting JVM 1.4, classes

will not run on earlier JVMs

==========================================================

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:

聽聽聽 [junit] Running wangxq.AppTest

聽聽聽 [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125 sec

BUILD SUCCESSFUL

Total time: 7 seconds

Finished at: Wed Mar 01 10:35:05 CST 2006

By the way, we should know that maven find configure parameters start from defaults.properties which is in the maven.jar, open the defaults.properties, modify maven.repo.remote =

http://apache.linuxforum.net/dist/java-repository,聽

http://dist.codehaus.org ,

http://mirrors.sunsite.dk/maven,聽

http://public.planetmirror.com/pub/maven ,

http://www.ibiblio.org/mavenMaven

These URLs should in the same line; we modify this just because some one cannot download files in the default remote repository----ibiblio.org. And then, we had better modify default location where download jars placed. We create a new folder in the MAVEN_HOME named local, and then,

Set maven.home.local = ${maven.home}/local.

Maybe there will have random code problem in the Chinese environment, so we find org\apache\maven\messages\ messages_zh_CN.properties in the maven.jar, and modify Chinese characters to English characters.



鎵漿涔懼潳 2006-03-01 11:01 鍙戣〃璇勮
]]>
Mock Object鐩稿叧璧勬簮http://www.tkk7.com/wangxq/archive/2006/02/17/31127.html鎵漿涔懼潳鎵漿涔懼潳Fri, 17 Feb 2006 01:26:00 GMThttp://www.tkk7.com/wangxq/archive/2006/02/17/31127.htmlhttp://www.tkk7.com/wangxq/comments/31127.htmlhttp://www.tkk7.com/wangxq/archive/2006/02/17/31127.html#Feedback0http://www.tkk7.com/wangxq/comments/commentRss/31127.htmlhttp://www.tkk7.com/wangxq/services/trackbacks/31127.htmlMock Object鐩稿叧璧勬簮- -                                      

鍦–SDN鏂囨。搴撲腑鏀墮泦鐨勪竴浜汳ock Object鐨勪竴浜涜祫婧?

  鐢∕ock Object榪涜鐙珛鍗曞厓嫻嬭瘯: http://dev.csdn.net/develop/article/52/52371.shtm 

  Mock Object宸ュ叿妯悜姣旇緝錛堜笂錛? http://dev.csdn.net/develop/article/25/25554.shtm
 
  Mock Object宸ュ叿妯悜姣旇緝錛堜笅錛? http://dev.csdn.net/develop/article/25/25555.shtm 

  EasyMock浣跨敤綆鏄庢墜鍐?nbsp;          http://dev.csdn.net/develop/article/28/28583.shtm
  
  浣跨敤jMock杈呭姪鍗曞厓嫻嬭瘯          http://dev.csdn.net/develop/article/26/26916.shtm 

  MockObjects鐨勯夋嫨錛欵asyMock涓嶫Mock鐨勬瘮杈?nbsp;  http://dev.csdn.net/develop/article/28/28603.shtm



鎵漿涔懼潳 2006-02-17 09:26 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 在线观看91精品国产不卡免费| 免费精品国产日韩热久久| 国产伦一区二区三区免费| 亚洲欧洲无码一区二区三区| 91在线品视觉盛宴免费| 亚洲免费闲人蜜桃| 97人妻无码一区二区精品免费| 亚洲狠狠狠一区二区三区| 中文字幕在线免费| 亚洲午夜精品国产电影在线观看| 亚洲视频在线观看免费视频| 亚洲国产成人无码av在线播放| 欧洲乱码伦视频免费| 亚洲自偷自偷在线成人网站传媒| 成人免费a级毛片无码网站入口 | 永久免费AV无码网站在线观看 | 亚洲精品色午夜无码专区日韩| 搡女人免费免费视频观看| 久久精品国产亚洲av麻| 91成人在线免费观看| 亚洲卡一卡二卡乱码新区| 国产美女精品视频免费观看| 羞羞视频在线观看免费| 亚洲成AV人片在线观看| 国产高清免费视频| 国产成人亚洲精品无码AV大片| 亚洲人成人网站色www| 久久www免费人成看片| 香港一级毛片免费看| 亚洲精品无码不卡在线播HE| 久久福利资源网站免费看| 国产精品手机在线亚洲| 亚洲成a人片在线观看无码专区| 久久天天躁狠狠躁夜夜免费观看| 亚洲av无码专区在线观看下载| 一本色道久久综合亚洲精品| 免费观看激色视频网站bd| 四虎国产精品永免费| 亚洲日本国产乱码va在线观看| 国产成人高清精品免费软件| 国产精品免费无遮挡无码永久视频|