Velocity uses the word "enum" for variable names, but Java 1.5 has a keyword named "enum", so Velocity will not build. ... [javac] /var/tmp/portage/velocity-1.4-r1/work/velocity-1.4/bin/src/org/apache/velocity/util/EnumerationIterator.java:63: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] return enum.hasMoreElements(); [javac] ^ [javac] 15 errors BUILD FAILED /var/tmp/portage/velocity-1.4-r1/work/velocity-1.4/build/build.xml:189: Compile failed; see the compiler error output for details.
Java 1.5 is package.masked for a reason...