我會(huì)走向何方

          我又該走向何方

          BlogJava 首頁(yè) 新隨筆 聯(lián)系 聚合 管理
            15 Posts :: 2 Stories :: 17 Comments :: 0 Trackbacks

          2007年1月31日 #

          主要是java方面的開發(fā),如果你知道python就更好,如果你是那種認(rèn)為"什么語言都一樣"就最好
          當(dāng)然,你如果聽過jstl、spring、hibernate、lucence等opensource會(huì)更好
          由于是處于創(chuàng)業(yè)期的團(tuán)隊(duì),需要從前臺(tái)照顧到后臺(tái),所以希望你的js也很出色,當(dāng)然同樣,你如果聽過jquery、prototype、ext-js等opensource會(huì)更好


          有興趣的兄弟可以訪問的網(wǎng)站 http://www.j.cn

          可以直接簡(jiǎn)歷發(fā)到我的郵箱 hama916@gmail.com

          當(dāng)然提供業(yè)界領(lǐng)先的待遇標(biāo)準(zhǔn)與晉升機(jī)會(huì)(落了俗套)

          對(duì)了,歡迎北京本地實(shí)習(xí)生(外地就算了,提供不了宿舍),希望你的年輕、激情為我們的團(tuán)隊(duì)帶來活力:-)
          posted @ 2009-03-30 11:44 hama 閱讀(101) | 評(píng)論 (0)編輯 收藏

          How do I configure Tomcat to support remote debugging?

          The short answer is to add the following options when the JVM is started:
          -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
          There are a number of ways you can do this depending on how you normally start Tomcat:

          • Set environment variables JPDA_ADDRESS=8000 and JPDA_TRANSPORT=dt_socket and then start tomcat using catalina jpda start(sh catalina.sh jpda start).
          • If you run Tomcat using service wrapper, check the documentation for the service to determine how to set the required JVM options.
          • If you start Tomcat from within an IDE, check the documentation for the IDE to determine how to set the required JVM options.

          Using catalina start and CATALINA_OPTS

          Alternatively, you can set the java program's command-line arguments for the JPDA settings. For Tomcat, you specify them in the CATALINA_OPTS environment variable and the catalina.sh or catalina.bat script adds the value of the environment variable to the java command that starts Tomcat; for example:

          bash:

          declare -x CATALINA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"
          $JWSDP_HOME/bin/catalina.sh start

          csh:

          setenv CATALINA_OPTS "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"
          $JWSDP_HOME/bin/catalina.sh start

          Windows:

          set JPDA_TRANSPORT=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
          %JWSDP_HOME%\bin\catalina start
          The port does not need to be set to 8000, it may be any value appropriate for your system.

          Whilst this is very useful in development it should not be used in production because of both security and performance implications.


          How do I remotely debug Tomcat using Eclipse?

          This answer assumes that you have a project set up with all of the fixings and have some idea of what you're doing in this respect. If not then thats really outside the scope of this topic and more in the scope of you needing to go to eclipse.org and read up on how to use your ide, and maybe practice a little bit before you come back to this. We're also going to assume you have some idea of what a debugger is and how to use one.

          Make sure tomcat is started and that your app is deployed and the sources, etc are all defined as resources in your app. If you have a servlet or something, set a breakpoint where its sure to hit on the next request. Go to "Run->Debug...". Click on "Remote Java Applications", then click "New". Type in the title and all. Notice that port 8000 from the Tomcat instructions. Save and run. Eclipse will connect to the VM that Tomcat is running under. Wow, that was easy! Now go type the url to submit to your servlet or whatever in your browser. Boom you hit the breakpoint right? Have fun!

          posted @ 2007-02-06 09:02 hama 閱讀(3116) | 評(píng)論 (0)編輯 收藏

          由于公司的項(xiàng)目前期是給外包團(tuán)隊(duì)做的,接手的時(shí)候我們自己和外包團(tuán)隊(duì)都需要更新代碼,但因?yàn)楹贤膯栴},所以我們不能直接修改外包團(tuán)隊(duì)CVS上的代碼, CVS的版本分支問題搞的頭好大!
          當(dāng)然問題圓滿解決!!!感謝車東!!!

          CVS Branch:項(xiàng)目多分支同步開發(fā)

          確認(rèn)版本里程碑:多個(gè)文件各自版本號(hào)不一樣,項(xiàng)目到一定階段,可以給所有文件統(tǒng)一指定一個(gè)階段里程碑版本號(hào),方便以后按照這個(gè)階段里程碑版本號(hào)導(dǎo)出項(xiàng)目,同時(shí)也是項(xiàng)目的多個(gè)分支開發(fā)的基礎(chǔ)。

          cvs tag release_1_0

          開始一個(gè)新的里程碑
          cvs commit -r 2 標(biāo)記所有文件開始進(jìn)入2.x的開發(fā)

          注意:CVS里的revsion和軟件包的發(fā)布版本可以沒有直接的關(guān)系。但所有文件使用和發(fā)布版本一致的版本號(hào)比較有助于維護(hù)。

          版本分支的建立
          在開發(fā)項(xiàng)目的2.x版本的時(shí)候發(fā)現(xiàn)1.x有問題,但2.x又不敢用,則從先前標(biāo)記的里程碑:release_1_0導(dǎo)出一個(gè)分支 release_1_0_patch
          cvs rtag -b -r release_1_0 release_1_0_patch proj_dir

          一些人先在另外一個(gè)目錄下導(dǎo)出release_1_0_patch這個(gè)分支:解決1.0中的緊急問題,
          cvs checkout -r release_1_0_patch
          而其他人員仍舊在項(xiàng)目的主干分支2.x上開發(fā)

          在release_1_0_patch上修正錯(cuò)誤后,標(biāo)記一個(gè)1.0的錯(cuò)誤修正版本號(hào)
          cvs tag release_1_0_patch_1

          如果2.0認(rèn)為這些錯(cuò)誤修改在2.0里也需要,也可以在2.0的開發(fā)目錄下合并release_1_0_patch_1中的修改到當(dāng)前代碼中:
          cvs update -j release_1_0_patch_1


          posted @ 2007-01-31 11:45 hama 閱讀(1062) | 評(píng)論 (0)編輯 收藏

          主站蜘蛛池模板: 布尔津县| 文山县| 百色市| 乌拉特中旗| 鹿泉市| 六安市| 原平市| 贵阳市| 清水河县| 客服| 郸城县| 门头沟区| 福建省| 白玉县| 乌鲁木齐市| 成武县| 平江县| 云安县| 仁化县| 舞阳县| 南澳县| 浮梁县| 青田县| 西丰县| 汉沽区| 南江县| 周宁县| 武清区| 郁南县| 六安市| 皋兰县| 吉安县| 军事| 应城市| 陵川县| 湘阴县| 宜川县| 新密市| 南漳县| 定日县| 罗城|