I have a directory structure like this:
dev/lib/ant.jar, bsf.jar, etc
When I run a task from TC that needs some optional ant libs (like bsf.jar, jruby.jar stuff), I get an exception for the script task: Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)
This works fine from the command line.
I'm guessing it's a classpath problem. How to I get the dev/lib jars into my classpath? I tried setting ant home in TC to dev/ and dev/lib but it didn't seem to matter. Where does TC assume all the optional ant task jars are located?
The problem chunk of my build.xml is:
puts "Deploying portlets to MWS install..."
copy_portlets($portlet_src_dir, $portlet_dest_dir, $portlet_start_time)