title: Trouble importing commands with Beanshell
body: <p>I can't seem to import the commands from one Beanshell script to another. I keep getting "Error in script callingScript Command not found: helloWorld()" </p>
  
  <p>Here's my calling script:</p>
  
  <pre><code>// c:/myProjectDir/bsh/callingScript.bsh
  
  ...
  addClassPath("/bsh"); // My default directory is myProjectDir
  importCommands("utils");
  helloWorld();
  </code></pre>
  
  <p>And my called script:</p>
  
  <pre><code>// c:/myProjectDir/bsh/utils/HelloWorld.bsh
  
  helloWorld() {
      System.out.println("Hello World!");
  }
  </code></pre>
  
  <p>When I print out the classpath right before running importCommands I get:</p>
  
  <pre><code>Classpath: 
  ... (random jars) 
  file:/C:/myProjectDir/bsh/
  </code></pre>
  
  <p>I've seen beanshell documentation and other resources that all show something like this and seem to work. I just can't figure out what I'm doing differently (read: wrong) which is preventing the import from happening.</p>
  
  <p>Thanks!</p>