First off, thanks to James Mitchell (of the Struts team) who has been
teaching me the wonders of svn:externals.  I hope my SVN reorg will
make him proud.  :-)

While James and I were discussing the Struts layout he also mentioned
something interesting.  They no longer keep any jar files in their
repository.  He has figured out a way to deal with the jar file
dependencies that does *not* require Maven (ie. can be done from Ant.)

I'm planning on doing something similar as part of the reorg.  Check
out the following steps that allow you to build struts 1.2 without
specifying a single jar file in your properties ...

$svn co https://svn.apache.org/repos/asf/struts/core/branches/STRUTS_1_2_BRANCH/
struts-1.2
$cd struts-1.2
$ant download-dependencies release

Nice!  I see no reason to deprive ourselves of the same cool build
process ;-)  Also, its possible to build using local jar files if that
is your cup of tea (just don't run the download-dependencies target
and specify the jar file locations in your local props file.)

sean

Reply via email to