I am using Ant with IntelliJ. In one part of my build script I use the ]]> tag to run a sqlj executable. The location of the executable is in my System path so this works fine from command line. When I run the build script through the IDE it fails with a NoClassDefFoundError on sqlj/tools/Sqlj. The aforementioned file exists in a zip file. I have added it to my System Classpath, project classpath, and the buildfile project classpath. No success. Please respond if you have any suggestions.