9
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

java-design-patternsをWindowsでEclipseで実行できるようになるまでの手順

9
Last updated at Posted at 2016-04-28

環境設定手順

非常に私的な内容なので、色々決め打ちだったり酷いですが、この通りにやれば動く。はず。

  1. msysgitをインストール

  2. tortoisegitをインストール
    → デスクトップで右クリックして、Git clone, Git Create repository...というメニューが追加されていたら成功

  3. mavenをインストール(zipファイルを解答、PATHを通す)
    → コマンドプロンプトを開き、「mvn --help」と入力してコマンドを認識していたら成功

  4. プロジェクトのチェックアウト

  5. c:\home\gitフォルダを作る

  6. 上記フォルダで、右クリック→Git cloneを選択

  7. URLにペースト https://github.com/iluwatar/java-design-patterns.git

  8. OK押す。

  9. java-design-patternsというフォルダができる

  10. 上記フォルダを開きShiftを押しながら右クリック→コマンドウインドウをここで開く
    コマンドプロンプトが開いたら、mvn testと実行する
    →しばらく、ガシャガシャ文字列が流れて BUILD SUCCESSと表示されれば成功

  11. eclipseへのインポート

  12. Eclipseでworkspaceを開く

  13. ワークスペースは、「C:\home\workspaces\java-design-patterns」とする。

  14. File→Import→Maven→Existing Maven Projectsを選択

  15. c:\home\git\java-design-patternsを選択

  16. すべてのプロジェクトにチェックが入っていることを確認してFinish

  17. これでEclipseで編集・実行可能に

  18. 対象のプロジェクト(例えばabstract-factory)を選び、右クリックでRun As..→Java Application→App

以上。

9
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?