There is a retrotranslator task definition in the jboss build tools module that allows for the following prototype usage:
<property name="jdk14.home" value="/usr/java/j2sdk1.4.2_09"/> ... <target name="compile" description="Compile all source files." depends="_default:compile-classes, _default:compile-etc" > <!-- Translate the jdk5 classes to jdk14 compatible classes --> <mkdir dir="${build.classes}-jdk14"/> <retrotranslator destdir="${build.classes}-jdk14" verify="true" failonwarning="true"> <!-- Needs the 14 rt.jar --> <classpath location="${jdk14.home}/jre/lib/rt.jar"/> <classpath refid="javac.classpath"/> <classpath refid="retrotranslator.task.classpath"/> <src path="${build.classes}"/> </retrotranslator> </target> There is a retrotranslator binary component in the repository.jboss.com repository that contains the runtime jars. At a minimum the retrotranslator-runtime.jar is required at runtime. If the java.util.concurrent.* package is used, the backport-util-concurrent.jar is also required. xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Inc. xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development