锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲人成网站色在线入口,亚洲xxxx18,另类小说亚洲色图http://www.tkk7.com/lifesting/category/30519.htmlJust Do It!zh-cnWed, 23 Apr 2008 11:21:31 GMTWed, 23 Apr 2008 11:21:31 GMT60windows鎵瑰鐞嗕腑瀵瑰甫絀烘牸璺緞鐨勫鐞?/title><link>http://www.tkk7.com/lifesting/archive/2008/04/23/195102.html</link><dc:creator>Always BaNg.</dc:creator><author>Always BaNg.</author><pubDate>Wed, 23 Apr 2008 07:04:00 GMT</pubDate><guid>http://www.tkk7.com/lifesting/archive/2008/04/23/195102.html</guid><wfw:comment>http://www.tkk7.com/lifesting/comments/195102.html</wfw:comment><comments>http://www.tkk7.com/lifesting/archive/2008/04/23/195102.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.tkk7.com/lifesting/comments/commentRss/195102.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/lifesting/services/trackbacks/195102.html</trackback:ping><description><![CDATA[<p>涓鑸湪Windows鐨勮蔣浠跺ぇ閮ㄥ垎瀹夎鍦╟:\ Program Files涓嬮潰錛屾瘮濡傛垜鏈哄櫒涓婄殑Java浣嶇疆灝辨槸C:\Program Files\Java\jdk1.5.0_12錛屽亣濡傚鏋滀綘鍦ㄦ壒澶勭悊涓皟鐢╦ava鎴栬卝avaw錛屼細榪欎箞鍐欙細<br /> <br /> set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_12<br /> set EXE_JAVA=%JAVA_HOME%\bin\java<br /> %EXE_JAVA% -version<br /> <br /> 閭f牱浼氭姤鍛婁竴涓敊璇細<br /> <span style="color: red">'C:\Program' 涓嶆槸鍐呴儴鎴栧閮ㄥ懡浠わ紝涔熶笉鏄彲榪愯鐨勭▼搴?br /> 鎴栨壒澶勭悊鏂囦歡銆?/span><br /> <br /> 浠ュ墠涓轟簡閬垮厤榪欑闂錛屼細鎶婃妸JDK鎸埌c:\錛屼絾涓嶆槸涓涓氱敤鐨勮В鍐沖姙娉曪紝鐜板湪鍙互閲囩敤涓ょ鏂瑰紡鏉ヨВ鍐籌細<br /> <br /> 1 鍔犱笂寮曞彿錛岃〃紺轟竴涓畬鏁磋礬寰勶紝榪欎釜鍦ㄥソ澶氭湇鍔″櫒鎵瑰鐞嗕腑甯哥敤鍒版瘮濡俲boss,  tomcat銆?br /> set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_12<br /> set EXE_JAVA=<span style="color: red"><strong>"%JAVA_HOME%"</strong></span>\bin\java <br /> %EXE_JAVA% -version<br /> <br /> 2 杞垚鐭礬寰勶紝榪欎釜鎴戣涓烘槸鏈濂界殑瑙e喅鍔炴硶銆?br /> set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_12<br /> <span style="color: #0000ff"><strong>for %x in ("%JAVA_HOME%") do set JAVA_HOME=%~sx</strong></span><br /> set EXE_JAVA=%JAVA_HOME%\bin\java<br /> %EXE_JAVA% -version<br /> <br /> 闇瑕佹敞鎰忕殑鏄紝鍦ㄦ壒澶勭悊鏂囦歡姣斿 run.bat 涓紝涓婇潰鐨刦or璇彞鐨勫彉閲忔湁<strong>涓や釜%%</strong>鍙楓?br /> <span style="color: #0000ff"><strong>for %%x in ("%JAVA_HOME%") do set JAVA_HOME=%%~sx</strong></span><br /> <br /> <br /> <br /> <br /> </p> <img src ="http://www.tkk7.com/lifesting/aggbug/195102.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/lifesting/" target="_blank">Always BaNg.</a> 2008-04-23 15:04 <a href="http://www.tkk7.com/lifesting/archive/2008/04/23/195102.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦ㄦ壒澶勭悊涓姞杞芥煇涓洰褰曟墍鏈夌殑jarhttp://www.tkk7.com/lifesting/archive/2008/04/13/192562.htmlAlways BaNg.Always BaNg.Sun, 13 Apr 2008 07:32:00 GMThttp://www.tkk7.com/lifesting/archive/2008/04/13/192562.htmlhttp://www.tkk7.com/lifesting/comments/192562.htmlhttp://www.tkk7.com/lifesting/archive/2008/04/13/192562.html#Feedback7http://www.tkk7.com/lifesting/comments/commentRss/192562.htmlhttp://www.tkk7.com/lifesting/services/trackbacks/192562.html闂灝辨槸姣忔柊鍔犲叆涓涓猨ar錛屽氨寰楁敼鎵瑰鐞嗕竴嬈★紝鍐嶅氨鏄瘡寮鍙戜竴涓氨寰楄繖涔堣緗竴嬈°?/span>寰堢儲浜猴紝perl 鍒涘浜鴻錛屽伔鎳掔殑紼嬪簭鍛樻墠鏄ソ紼嬪簭鍛?)錛屾垜闇瑕佷竴涓氱敤鐨勫姞杞芥柟寮忋?br />
涓嶇linux/windows鎴栧叾瀹僌S錛岄兘鎻愪緵涓涓猻hell涓巏ernel浜や簰錛屽茍涓攕hell閮芥湁涓涓被浼肩殑for鍐呯疆commnd銆?br />
涓嬮潰鏄痩inux bash鐨勫皾璇?br />
#!/usr/bin/sh

clspath
="bootstrap.jar"
for k in *.jar
do
 clspath
=$clspath:$PWD/$k
 echo 
"current jar is $k."
done
printf "classpath is %s" $clspath

宸ヤ綔鐨勫緢濂斤紝浜庢槸鍦╳indows鍚屾牱try浜嗕竴涓媌atch
@echo off

set clspath
=bootstrap.jar
for %%j in (*.jar) do (
set clspath
=%clspath%;%cd%\%%j
echo current jar is 
%%j.
)
echo classpath is 
%clspath%

寰堝鎬殑鏄渶鍚庣殑緇撴灉鍗存槸 classpath is bootstrap.jar;D:\workflow\bingo\lib\servlet-api.jar銆傚緢鏄劇劧batch榛樿涓嶆敮鎸?strong>鍙橀噺榪唬鏇存敼銆?br /> google浜嗕竴涓嬶紝鍙戠幇鍘熷洜錛岀◢寰敼涓涓嬶細
 
 1@echo off
 2
 3set clspath=bootstrap.jar
 4setlocal enabledelayedexpansion
 5for %%j in (*.jar) do (
 6set clspath=!clspath!;%cd%\%%j
 7echo current jar is %%j.
 8)
 9echo classpath is %clspath%
10endlocal


瀵規瘮涓涓嬶紝鍙互鍙戠幇錛?/p>

  1. 絎?琛屽姞涓婁簡setlocal enabledelayedexpansion錛屽嵆鍙橀噺寤惰繜灞曞紑銆?
  2. 絎?0琛屾湁涓涓猠ndlocal錛岀粨鏉熻繖涓緗?
  3. 絎?琛屾妸%classpath%鍙樻垚浜?classpath!銆?

铏界劧鐩殑杈懼埌浜嗭紝榪樻槸瑕侀剻瑙嗗井杞殑dos batch錛屽疄鍦ㄥ緢寮憋紝涓嶇煡Powershell鎬庢牱銆?/p>

鍙傝冭祫鏂欙細
   setlocal


 



Always BaNg. 2008-04-13 15:32 鍙戣〃璇勮
]]>
褰揗aven閬囦笂MyEclipsehttp://www.tkk7.com/lifesting/archive/2008/04/02/190367.htmlAlways BaNg.Always BaNg.Wed, 02 Apr 2008 06:32:00 GMThttp://www.tkk7.com/lifesting/archive/2008/04/02/190367.htmlhttp://www.tkk7.com/lifesting/comments/190367.htmlhttp://www.tkk7.com/lifesting/archive/2008/04/02/190367.html#Feedback0http://www.tkk7.com/lifesting/comments/commentRss/190367.htmlhttp://www.tkk7.com/lifesting/services/trackbacks/190367.html Maven鏈夎嚜宸辯殑涓濂楃害瀹氱洰褰曡鍒欙紝涓嶮yEclipse鐨勬湁鍐茬獊錛屽叾瀹炵粨鍚堜篃寰堢畝鍗曪紝鍥犱負MyEclipse鐨勭洰褰曞彲閰嶇疆銆?br />
1 鐢╩aven鍒涘緩涓涓獁eb project
 mvn archetype:create   -DgroupId=com.lifesting  -DartifactId=test  -DarchetypeArtifactId=maven-archetype-webapp

2 琛ュ叏鏌愪簺鐩綍
 cd test\src
 mkdir main\java
 mkdir test\resources
 mkdir test\java

3 淇敼pom鏂囦歡錛屽湪鐢熸垚eclipse欏圭洰鐨勬椂鍊檓aven eclipse plugin浣跨敤姝ら厤緗?br />   鍦╬roject/build涓嬮潰鎻掑叆
<plugins> 
    
<plugin> 
      
<groupId>org.apache.maven.plugins</groupId> 
      
<artifactId>maven-eclipse-plugin</artifactId> 
      
<configuration> 
         
<projectnatures> 
            
<java.lang.String>com.genuitec.eclipse.j2eedt.core.webnature</java.lang.String> 
            
<java.lang.String>org.eclipse.jdt.core.javanature</java.lang.String> 
          
</projectnatures> 
          
<outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory> 
      
</configuration> 
    
</plugin> 
  
</plugins> 
project nature鏄痚clipse寮鍙戜腑涓涓蹇碉紝姣斿鍔犲叆javanature灝辮〃紺烘欏圭洰鏄竴涓猨ava project錛屼細緇戝畾涓涓猨ava builder鐢ㄦ潵緙栬瘧java鏂囦歡錛岃寃ebnature鍛婅瘔MyEclipse榪欐槸涓涓狹yEclipse web欏圭洰錛屾洿澶歁yEclipse projectNature錛?br /> webservice-- com.genuitec.eclipse.ws.xfire.wsnature
facelet-- com.genuitec.eclipse.jsf.faceletsnature
jsf--com.genuitec.eclipse.jsf.jsfnature
struts--com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature
鎴栬呭湪鎻掍歡閲岄潰浣跨敤榪欎釜鏂規硶錛?br />
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("test");
        
try {
            String[] natures 
= project.getDescription().getNatureIds();
            
for (String nature :natures)
                System.out.println(nature);
        }
 catch (CoreException e) {
            e.printStackTrace();
        }
鍙互灝嗛」鐩墍鏈夌殑nature鎵撳嵃鍑烘潵

outputDirectory涓昏鏄憡璇塵aven eclipse plugin緙栬瘧杈撳嚭鍦ㄤ粈涔堜綅緗紝榛樿鍦╰arget/classes涓嬮潰錛寃eb欏圭洰涓嶅悓錛屽簲璇ユ斁鍦╯rc/main/webapp/WEB-INF/classes 鎵嶈兘澶熻MyEclipse package鍒版湇鍔″櫒銆?br />
4 鍦ㄥ懡浠よtest鐩綍涓嬭繍琛宮vn eclipse:eclipse鐢熸垚Eclipse欏圭洰銆?br />
5 鍦∕yEclipse涓皢test project 瀵煎叆鍒皐orkspace錛孧yEclipse閫氳繃projectNature璇嗗埆鍒皌est鏄竴涓狹yEclipse web project錛屽畠浼氬湪欏圭洰鐩綍涓嬬敓鎴愪竴涓?mymetadata鏂囦歡銆傚啀鍏抽棴MyEclipse錛岃繖涔堝仛鐨勫師鍥犳槸鍥犱負榛樿MyEclipse鐨剋ebRoot涓嶅彲閰嶇疆銆?br />
6 淇敼MyEclipse涓嬮潰鐨?mymetadata鏂囦歡錛屾瘮濡傛垜鐨則est欏圭洰鏂囦歡鍐呭涓?br />
<?xml version="1.0" encoding="UTF-8"?>
<project-module
  
type="WEB"
  name
="test"
  id
="myeclipse.1207117121765"
  j2ee-spec
="1.4"
  archive
="test.war">
  
<attributes>
    
<attribute name="webrootdir" value="/WebRoot" />
  
</attributes>
</project-module>
澧炲姞涓琛岋紝淇敼涓琛屼負錛?br />
<?xml version="1.0" encoding="UTF-8"?>
<project-module
  
type="WEB"
  name
="test"
  id
="myeclipse.1207117121765"
  context-root
="/test""
  j2ee-spec
="1.4"
  archive
="test.war">
  
<attributes>
    
<attribute name="webrootdir" value="/src/main/webapp" />
  
</attributes>
</project-module>

鍙互鐪嬪埌錛屽鍔犵殑涓琛?context-root="/test" 琛ㄧずweb鐨勪笂涓嬫枃涓簍est.
淇敼鐨勪竴琛屼負webrootdir鐨勫鹼紝灝?WebRoot鏀逛負maven榛樿鐨剋eb欏圭洰source鐩綍/src/main/webapp銆?br />
7 閲嶆柊鍚姩MyEclipse錛屼竴鍒囨悶瀹氫簡錛岃皟璇曞紑鍙戜袱涓嶈銆?br />
鍙傝冭祫鏂?br /> http://www.myeclipseide.com/PNphpBB2-viewtopic-t-17416.html


Always BaNg. 2008-04-02 14:32 鍙戣〃璇勮
]]>
鍒犻櫎鎵鏈塻vn 鍏冩暟鎹?/title><link>http://www.tkk7.com/lifesting/archive/2008/03/31/189762.html</link><dc:creator>Always BaNg.</dc:creator><author>Always BaNg.</author><pubDate>Mon, 31 Mar 2008 05:34:00 GMT</pubDate><guid>http://www.tkk7.com/lifesting/archive/2008/03/31/189762.html</guid><wfw:comment>http://www.tkk7.com/lifesting/comments/189762.html</wfw:comment><comments>http://www.tkk7.com/lifesting/archive/2008/03/31/189762.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/lifesting/comments/commentRss/189762.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/lifesting/services/trackbacks/189762.html</trackback:ping><description><![CDATA[璧峰洜錛?br /> 姣忎釜svn鐩綍閮芥湁涓涓?svn鐩綍鍖呭惈svn鍏冩暟鎹俊鎭備竴涓」鐩殑svn鏁版嵁寰堟槸搴炲ぇ錛屾墦鍖呯殑鏃跺欓渶瑕佸垹闄ゃ?br /> <br /> 瑙e喅鏂規錛?br /> <br /> 浣跨敤cygwin鍛戒護<br /> <br /> find . -type d -name ".svn" | xargs rm -rf <img src ="http://www.tkk7.com/lifesting/aggbug/189762.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/lifesting/" target="_blank">Always BaNg.</a> 2008-03-31 13:34 <a href="http://www.tkk7.com/lifesting/archive/2008/03/31/189762.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>cygwin find涔嬪悗鎵ц澶氶」鍛戒護http://www.tkk7.com/lifesting/archive/2008/03/31/189761.htmlAlways BaNg.Always BaNg.Mon, 31 Mar 2008 05:29:00 GMThttp://www.tkk7.com/lifesting/archive/2008/03/31/189761.htmlhttp://www.tkk7.com/lifesting/comments/189761.htmlhttp://www.tkk7.com/lifesting/archive/2008/03/31/189761.html#Feedback0http://www.tkk7.com/lifesting/comments/commentRss/189761.htmlhttp://www.tkk7.com/lifesting/services/trackbacks/189761.html 閬嶅巻鎵鏈夐」鐩洰褰曪紝鍦ㄦ瘡涓」鐩笅鎵цmvn eclipse:clean鍜宮vn clean銆?br />
瑙e喅鏂規錛?br />
 find . -maxdepth 1 -type d -exec bash -c "cd {} && mvn eclipse:clean && mvn clean && cd .." \;

Always BaNg. 2008-03-31 13:29 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 久久夜色精品国产噜噜噜亚洲AV| 青青青国产在线观看免费网站| 青柠影视在线观看免费高清 | 亚洲香蕉久久一区二区| 91青青青国产在观免费影视| 久久久久亚洲av无码专区喷水| 最近免费中文在线视频| 亚洲一卡二卡三卡四卡无卡麻豆| 99久久免费国产精品特黄| 中文字幕乱码亚洲无线三区| 欧洲精品免费一区二区三区 | 免费无码又爽又刺激高潮软件| 亚洲国产精品无码一线岛国| 久久久久久夜精品精品免费啦 | 亚洲国产日韩a在线播放| 免费人成视频在线观看不卡| 精品人妻系列无码人妻免费视频| 亚洲国产精品SSS在线观看AV| 国产成人免费高清激情明星| 亚洲av中文无码字幕色不卡| 亚洲日韩精品无码专区网站| 国内永久免费crm系统z在线| 亚洲天堂中文字幕在线观看| 成人人观看的免费毛片| 日韩精品免费一线在线观看| 亚洲AV综合色区无码一区| 在线观看视频免费完整版| 另类图片亚洲校园小说区| 亚洲AV永久纯肉无码精品动漫| 午夜国产精品免费观看| 国产91成人精品亚洲精品| 亚洲AV乱码一区二区三区林ゆな| 9久9久女女免费精品视频在线观看| 亚洲国产成人AV网站| 久久精品国产96精品亚洲| 女人张开腿给人桶免费视频| 91精品全国免费观看青青| 亚洲最大的成人网| 亚洲国产精彩中文乱码AV| 最好免费观看韩国+日本| 黄色片免费在线观看|