If you have ever listed the OpenAM Subversion repository content, you would have noticed that it contains a lot of projects with confusing names, especially if you are looking for a specific Web or J2EE Agent version to build.
First of all, let’s take a look at the repository in question :
$ svn list 10.0.0/ 10.0.0-EA/ 10.0.0-docs/ 10.0.1/ 10.1.0-Xpress/ 10.1.0-Xpress-docs/ 10.1.0_TRUNK_before_maven_integration/ 11.0.0/ 9.5/ 9.5.1_RC1/ 9.5.1_RC2/ 9.5.1_RTM/ 9.5.2_RC1/ 9.5.2_RTM/ 9.5.3_RC1/ 9.5.3_RTM/ 9.5.4_RC1/ 9.5.4_RTM/ 9.5.5/ Agents-3.1.0-Xpress/ Agents-3.1.0-Xpress-apache/ Agents-3.2.0/ Agents-3.3.0/ Agents-3.3.2/ Agents-3.3.3/ JEEAgents-3.3.0/ agents_225_stable/ agents_301_stable/ agents_302_stable/ agents_303_stable/ agents_3041/ agents_3042/ agents_3043/ agents_3044/ agents_3045/ agents_3046/ agents_304_stable/ j2eeagents_301_stable/ j2eeagents_302_stable/ j2eeagents_303_stable/
All these directories above represent stable projects (tags), but as you can see, it doesn’t seem obvious to guess which one you have to checkout when you need to build a specific version either of a J2EE or a Web OpenAM Agent. So here is a tiny cheat sheet to help you choose which repository you have to checkout depending of what you want to build :
– OpenAM : all the directories having only numbers as names, concern OpenAM. It builds with maven from openam/. To to get the last version :
$ svn co
– J2EE Agents : each directory whose name starts with « j2ee ». You’ll need to run maven in openam-agents/jee-agents/. To to get the last version :
$ svn co
– Web Agents : each directory whose name starts with « agent ». You’ll need to run ant in opensso/products/webagents/. To to get the last version :
$ svn co
Be careful, even if you find J2EE Agent files in Web Agent repositories (and vice versa), do not try to build it from there, it won’t succeed.