Explorar el Código

Improved Eclipse instructions.

peter_backlund hace 17 años
padre
commit
6c8822bbd6
Se han modificado 1 ficheros con 15 adiciones y 3 borrados
  1. 15
    3
      dddsample/src/site/apt/download.apt

+ 15
- 3
dddsample/src/site/apt/download.apt Ver fichero

82
     * Eclipse
82
     * Eclipse
83
 
83
 
84
       Eclipse support for Maven is still a bit rocky, so project descriptor files have been
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
     Maven downloads all external library dependencies and plugins separately, which can amount to quite a large number of
102
     Maven downloads all external library dependencies and plugins separately, which can amount to quite a large number of
91
     small files that are downloaded sequentially. These are all cached locally, but the first time you run it you should
103
     small files that are downloaded sequentially. These are all cached locally, but the first time you run it you should