/* (non-Javadoc)
* @see com.envoisolutions.sxc.builder.impl.ICompiler#compile(java.io.File)
*/
@SuppressWarnings("unchecked")
public ClassLoader compile(File dir) {
EclipseJavaCompilerSettings settings = new EclipseJavaCompilerSettings();
Map<Object, Object> map = settings.getMap();
map.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_5);
EclipseJavaCompiler compiler = new EclipseJavaCompiler(settings);
if (!dir.exists()) {