try {
scriptEngine.eval(new InputStreamReader(sourceMap
.openConnection().getInputStream()));
scriptEngine.eval(new InputStreamReader(env.openConnection()
.getInputStream()));
ScriptObjectMirror lessenv = (ScriptObjectMirror) scriptEngine.get("lessenv");
lessenv.put("charset", options.getCharset());
lessenv.put("css", options.isCss());
lessenv.put("lineNumbers", options.getLineNumbers());
lessenv.put("optimization", options.getOptimization());
lessenv.put("sourceMap", options.isSourceMap());
lessenv.put("sourceMapRootpath", options.getSourceMapRootpath());
lessenv.put("sourceMapBasepath", options.getSourceMapBasepath());
lessenv.put("sourceMapURL", options.getSourceMapUrl());
lessenv.put("loader", loader);
lessenv.put("paths", options.getPaths());
scriptEngine.eval(new InputStreamReader(less
.openConnection().getInputStream()));
scriptEngine.eval(new InputStreamReader(cssmin.openConnection()
.getInputStream()));
scriptEngine.eval(new InputStreamReader(engine.openConnection()