Просмотр исходного кода

Improved Eclipse instructions.

peter_backlund 17 лет назад
Родитель
Сommit
6c8822bbd6
1 измененных файлов: 15 добавлений и 3 удалений
  1. 15
    3
      dddsample/src/site/apt/download.apt

+ 15
- 3
dddsample/src/site/apt/download.apt Просмотреть файл

@@ -82,10 +82,22 @@ IDE Setup
82 82
     * Eclipse
83 83
 
84 84
       Eclipse support for Maven is still a bit rocky, so project descriptor files have been
85
-      committed into the repository so that the project can immediately be opened with no further
86
-      configuration.
85
+      committed into the repository so that the project can immediately be opened with
86
+      minimal additional configuration.
87 87
 
88
-About Maven          pom
88
+      The only thing you need to do is to is to define the classpath variable M2_REPO,
89
+      which is:
90
+
91
+      * Windows: C:\Documents and Settings\<Your username>\.m2\repository
92
+
93
+      * Mac: /Users/<Your username>\.m2\repository
94
+
95
+      * Unix: /home/<Your username>\.m2\repository
96
+
97
+      Go to Window -> Preferences, Java -> Build Path -> Classpath variables, New.
98
+      Set the name to M2_REPO and use the Folder button to browse to the aforementioned location.
99
+
100
+About Maven
89 101
 
90 102
     Maven downloads all external library dependencies and plugins separately, which can amount to quite a large number of
91 103
     small files that are downloaded sequentially. These are all cached locally, but the first time you run it you should