java learnging

          一塊探討JAVA的奧妙吧
          posts - 34, comments - 27, trackbacks - 0, articles - 22

          2005年7月25日

          Version Eclipse 3.1

          1.性能

              a. 禁用緩存遠程資源
                 Window -> Preferences -> Internet -> Cache -> 選擇Disable Caching
                 這樣在打開web.xml等文件時就不會 Loading xmlns 之類的信息了
             
              b. 禁用有效性驗證
                 Window -> Preferences -> Validation -> 選擇Deselect All
                 可能有效性驗證是個不錯的功能,不過有時候需要花的時間太長,有點受不了,基本上也不怎么需要
              c. 禁用啟動eclipse時自動構建
                 Window -> Preferences -> Launching -> 不選擇 Build before launching

          2.個人嗜好

              a. 修改Ant Document Url
                 Window -> Preferences -> Ant -> Document Url -> 選擇Ant Document目錄
                 這樣要比eclipse默認去apache的網站訪問快多了
             
              b. 修改快捷鍵的設定
                 Window -> Preferences -> General -> Keys -> 按自己的需要修改
                 尤其是Content assist 這么一個好用的功能和我的輸入法沖突了,只有改了

              c. 修改java文件的source和output folder
                 Window -> Preferences -> Java -> Build Path ->選擇 Folders,并設為src和classes
                 這樣的項目文件目錄比較標準,不過和maven的標準不太一樣哦

              d. 修改Mark Occerencs
                 Window -> Preferences -> Java -> Editor -> Mark Occerencs -> 把Mark Occerencs置為disable
                 這樣在選擇一個單詞的時候,與這個單詞“具有同樣含義”的單詞就不會同時加亮了

          posted @ 2005-08-17 17:38 bigseal 閱讀(1489) | 評論 (0)編輯 收藏

          Eclipse 3.0/3.1

          Subclipse releases for Eclipse 3.x are hosted at our update site. Add http://subclipse.tigris.org/update as an update site in Eclipse's update manager (which you can find in the Help menu).

          The update site itself can be downloaded and used as a local update site as well. Simply unzip the site archive, and add the path as a new "Local Site" in the Eclipse update manager. You can also host your own internal Subclipse update site by placing the site on your own HTTP server (be sure to update site.xml appropriately).

          We also provide instructions for installing Subclipse in Eclipse 3.x

          Eclipse 2.1.3

          Subclipse 0.9.3.3 is linked against Subversion 1.1.4. Binaries for Windows are included.

          Development for this version of Eclipse is no longer active. There are no new releases planned.

          Download the Eclipse 2.x version

          Note:如果把文件直接unzip到eclipse的安裝目下,在使用的時候會沒有授權文件文件之類的錯誤。

          posted @ 2005-08-15 12:38 bigseal 閱讀(15296) | 評論 (0)編輯 收藏

          修改默認字符集(default character set)
          在mysql的my.ini配置文件中設置,這樣在mysql啟動后就會自動加載
          例如:把默認字符集設置為UTF-8

          default-character-set=utf8

          查看變量值:
          例如:查看字符集設置

          SHOW VARIABLES LIKE 'character_set_%';
          SHOW VARIABLES LIKE 
          'collation_%'

          設置變量值
          例如:設置字符集變量
           set  character_set_server  = utf8;
           
          set  character_set_system  = utf8;
           
          set  character_set_database  = utf8;
           
          set  character_set_client  = utf8;
           
          set   character_set_connection  = utf8;
           
          set  character_set_results = utf8;
           
           
          set collation_connection = utf8_general_ci;
           
          set collation_database = utf8_general_ci;
           
          set  collation_server = utf8_general_ci;

          posted @ 2005-07-25 17:38 bigseal 閱讀(1436) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 衢州市| 大田县| 沁阳市| 富阳市| 黑山县| 邵阳县| 饶平县| 晋宁县| 定边县| 祁东县| 南召县| 武平县| 深水埗区| 航空| 临朐县| 汤原县| 日土县| 平邑县| 承德县| 稻城县| 深泽县| 周至县| 定襄县| 信宜市| 五家渠市| 海阳市| 东莞市| 门源| 天台县| 隆安县| 思茅市| 稻城县| 三原县| 潼南县| 白玉县| 武平县| 浮山县| 西盟| 余庆县| 章丘市| 灵寿县|