Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (22 sloc) 1.339 kb
44a474a @cbeams Various updates to support IDEA
cbeams authored
1 The following has been tested against Intellij IDEA 12.0
f880055 @cbeams Update README and add IDE import helper scripts
cbeams authored
2
3 ## Steps
4
5 _Within your locally cloned spring-framework working directory:_
6
44a474a @cbeams Various updates to support IDEA
cbeams authored
7 1. Generate IDEA metadata with `./gradlew :spring-oxm:compileTestJava cleanIdea idea`
f880055 @cbeams Update README and add IDE import helper scripts
cbeams authored
8 2. Import into IDEA as usual
9 3. Set the Project JDK as appropriate
10 4. Add git support
11 5. Code away
12
13 ## Known issues
14
44a474a @cbeams Various updates to support IDEA
cbeams authored
15 1. `spring-aspects` does not compile out of the box due to references to aspect types unknown to IDEA.
16 See http://youtrack.jetbrains.com/issue/IDEA-64446 for details. In the meantime, you may want to
17 exclude `spring-aspects` from the overall project to avoid compilation errors.
18 2. While all JUnit tests pass from the command line with Gradle, many will fail when run from IDEA.
19 Resolving this is a work in progress. If attempting to run all JUnit tests from within IDEA, you will
20 likely need to set the following VM options to avoid out of memory errors:
21 -XX:MaxPermSize=2048m -Xmx2048m -XX:MaxHeapSize=2048m
f880055 @cbeams Update README and add IDE import helper scripts
cbeams authored
22
23 ## Tips
24
44a474a @cbeams Various updates to support IDEA
cbeams authored
25 In any case, please do not check in your own generated .iml, .ipr, or .iws files.
26 You'll notice these files are already intentionally in .gitignore. The same policy goes for eclipse metadata.
f880055 @cbeams Update README and add IDE import helper scripts
cbeams authored
27
28 ## FAQ
29
30 Q. What about IDEA's own [Gradle support](http://confluence.jetbrains.net/display/IDEADEV/Gradle+integration)?
31
44a474a @cbeams Various updates to support IDEA
cbeams authored
32 A. Keep an eye on http://youtrack.jetbrains.com/issue/IDEA-53476
Something went wrong with that request. Please try again.