Author: sebb Date: Thu Apr 8 22:21:42 2010 New Revision: 932154 URL: http://svn.apache.org/viewvc?rev=932154&view=rev Log: Fix up remaining Java 1.6 test failures by adding rhino as a dependency
Modified: jakarta/bsf/branches/bsf3.x/pom.xml Modified: jakarta/bsf/branches/bsf3.x/pom.xml URL: http://svn.apache.org/viewvc/jakarta/bsf/branches/bsf3.x/pom.xml?rev=932154&r1=932153&r2=932154&view=diff ============================================================================== --- jakarta/bsf/branches/bsf3.x/pom.xml (original) +++ jakarta/bsf/branches/bsf3.x/pom.xml Thu Apr 8 22:21:42 2010 @@ -173,4 +173,24 @@ <module>testing</module> </modules> + <profiles> + <!-- + | Stop the JDK1.6 ScriptManager failing when it cannot find + | the class org/mozilla/javascript/ContextFactory. + --> + <profile> + <id>JDK16</id> + <activation> + <jdk>1.6</jdk> + </activation> + <dependencies> + <dependency> + <groupId>rhino</groupId> + <artifactId>js</artifactId> + <version>1.6R5</version> + <scope>runtime</scope> + </dependency> + </dependencies> + </profile> + </profiles> </project> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: bsf-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: bsf-dev-h...@jakarta.apache.org