Prerequisities: dev-java/ant-apache-bsf dev-java/bsf built with (at least) USE="rhino" Invocation (in this directory): (Replace sun-jdk with the available jdk for your arch (ibm, jrockit) as needed) GENTOO_VM=sun-jdk-1.4 ant GENTOO_VM=sun-jdk-1.5 ant GENTOO_VM=sun-jdk-1.6 ant (if applicable) Expected output: -----START----- Buildfile: build.xml squares: [echo] 1 [echo] 4 [echo] 9 [echo] 16 [echo] 25 [echo] 36 [echo] 49 [echo] 64 [echo] 81 [echo] 100 fileset_echo: [echo] 1.txt: 4 byte all: [echo] tests passed BUILD SUCCESSFUL Total time: 0 seconds ------END------