Eclipse中匯入jar檔案的原始碼

2021-08-31 22:56:55 字數 300 閱讀 1295

[b]eclipse中匯入jar檔案的原始碼[/b]

在eclipse中匯入jar檔案對應的原始碼,主要是為了方便檢視一些介面的原始碼,可以直接按著ctrl+滑鼠左鍵跳到對應的原始碼檔案。

1.選中專案,然後右鍵,選擇屬性

[img]

2.選擇構建路徑-->庫

3.點開需要新增源**的jar檔案(我想載入lucene-core-3.03.jar的原始檔)

[img]

4.選擇源**連線, 然後右邊點編輯,新增相應的源**檔案就可以了(可以是jar,zip或者資料夾)

[img]

在Eclipse中匯入dtd ,使XML 自動提示

dtd 型別約束檔案 1.window preferences xml xml catalog user specified entries視窗中,選擇add 按紐 2.在add xml catalog entry 對話方塊中選擇或輸入以下 內容 location f soft programmin...

mysql中匯入 sql檔案

以下命令均在cmd中執行 mysqldump uroot p123456 d webmeeting c test.sql 將資料庫webmeeting中的表結構匯出到c test.sql中 mysqldump uroot p123456 webmeeting 123.sql 將資料庫中所有資料匯出到...

eclipse匯入約束檔案

dtd 型別約束檔案 1.window preferences xml xml catalog user specified entries視窗中,選擇add 按紐 2.在add xml catalog entry 對話方塊中選擇或輸入以下內容 location f soft programming...