Thursday, August 19, 2010

Kicking Ivy out of Eclipse

To make Ivy-less operation easier, I:
  • Removed all of the jars from my development project in Eclipse
  • Created a directory (outside of the project)
  • Made symbolic links from that directory to my common jar path (i.e. "ln -s /usr/share/java/spring.jar ~/dist/project", etc.)
  • Added all of the jars to my Eclipse project in one operation (by clicking Add External JARs and highlighting all of the jars in that dir)
  • Scripted the creation of the symlinks, and added the script to SVN.
It might also be worth looking into how SVN handles symbolic links, which could make it feasible to add the symlinks into the projects as well.



Post a Comment

<< Home