How Do I Use Relative Path with Import Tags Using the Java Engine?

This article explains how to set the base directory for imports when using the Java Engine.

For the Java Engine use setBaseDirectory method.