Package org.apache.tools.ant.util
Class ScriptFixBSFPath
- java.lang.Object
- 
- org.apache.tools.ant.util.ScriptFixBSFPath
 
- 
 public class ScriptFixBSFPath extends java.lang.ObjectA class to modify a classloader to support BSF language support.
- 
- 
Constructor SummaryConstructors Constructor Description ScriptFixBSFPath()
 - 
Method SummaryModifier and Type Method Description voidfixClassLoader(java.lang.ClassLoader loader, java.lang.String language)Check if need to mess about with the classloader.
 
- 
- 
- 
Method Detail- 
fixClassLoaderpublic void fixClassLoader(java.lang.ClassLoader loader, java.lang.String language)Check if need to mess about with the classloader. The class loader will need to be modified for two reasons:- language is at a higher level than bsf for engines in bsf, move bsf.
- bsf is at a higher level than oata.util.optional.ScriptRunner
 - Parameters:
- loader- the classloader to fix.
- language- the language to use.
 
 
- 
 
-