Mostly so I don’t forget myself next time
Don’t forget to checkout only the wanted HEAD revision from svn:
svn co -r HEAD https://src.springframework.org/svn/spring-framework/trunk spring-framework
If you have ant as part of your distro (as is the case in gentoo), download a binary ant distribution and run <your_new_ant_path>/bin/ant instead of the ‘default’ ant to prevent any classpath issues.
Make sure you do
export ANT_OPTS=”-XX:PermSize=128m -XX:MaxPermSize=128m”
If necessary add -Xmx512m or more too.
Enter build-spring-framework and run
<your_new_ant_path>/bin/ant
to build Spring. In order for Eclipse to be able to find all required jar’s, you’re probably best running the resolve ant target in most of the subprojects.
Open import the projects to an Eclipse workspace, set the IVY_CACHE classpath var in Eclipse prefs to spring-framework/ivy-cache
I had a few errors in tests for the oxm bundle failing, but since I don’t really need them anyways I just removed the src/test source dirs from the oxm project in Eclipse
It’s 2 AM so yea, the above is probably pretty messy