When I found earlier this year that Eclipse does a pretty good job for XML editing, Eclipse became my IDE of choice. Download support for Subversion and Maven, and most of my tasks seem straightforward.
Except setting up OpenAM as a new project in Eclipse. Which I seem to do too often.
My first mistake is trying to set up from existing code checked out from https://svn.forgerock.org/openam/trunk/opensso. Next mistake is trying to check out the code from Subversion with New > Project… > SVN, and then getting confused, trying to use the existing Ant file under
In fact, what seemed to work for me is this (Eclipse 3.7.0). YMMV…
- In Eclipse, New > Project… > SVN, etc.
When Eclipse starts the wizard inside the wizard, New > Java Project in the directory where the sources will check out, and then Project name
opensso(same as the file system directory).
- Download the .zip of extlib dependencies from this Wiki page that will be used to replace
opensso/products/extlib(but don’t do it yet).
opensso/products/extlibwith the content of the .zip.
- Build the software first from the command line (
cd opensso/products ; ant server-war).
- In Eclipse, open
opensso/products/build.xml, right-click the
server-wartarget and Run As > Ant Build.
server-wartarget from inside Eclipse… and work on docs under