Hi all,

A few months back I was working on a project which was constrained to use 
JDK 1.1 due to support issues with a legacy access library. I wanted to use 
Velocity but found that it required the JDK 1.2 collections (hmm... shouldnt 
these prerequisites be documented? - I digress)

After unsuccessfully looking for suitable alternatives, I decided to patch 
Velocity to work on JDK 1.1 using the Sun Infobus collections library. I've 
just dug my patch out again and updated it to Velocity 1.2 RC3. The result 
is attached in a zip file. It would be nice if this patch could be made 
available on the Velocity site.

The zip file includes a 'howto' document which should explain most things 
about the patch.

The following parts of Velocity are NOT supported:-
- JarResourceLoader
- Anakia
- Texen
- Use of the Avalon logging package (i.e. you must use Log4J)
- the ClassLoader change test (but this might be fixable)

The Velocity library patching is done entirely using ANT, so you can see 
exactly what is being done by inspecting build.xml.

The changes needed to the unit tests are somewhat beyond the capabilities of 
ANT's <replace> task, so extra files need to be unpacked over the Velocity 
originals if you want to run the test suite.

Some of the patches could probably be merged back into the main sources 
without causing problems.

I'm not sure if this list allows attachments, but I suspect I'm about to 
find out.

Regards,
Andy
----------------------------------------------------------------
Andy Carlson


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Attachment: velocity-1.2-rc3-mod.zip
Description: Zip compressed data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to