Use platform specific separators when building classpath and class file list.
Added parameter to specify idir.
Put idir in project base directory.