Lessons which load JavaScript etc now works

This commit is contained in:
Nanne Baars
2016-04-26 18:59:51 +02:00
parent 9066e45725
commit 79102c6ddd
17 changed files with 222 additions and 559 deletions

View File

@ -68,8 +68,9 @@ public class PluginReloadService extends BaseService {
logger.debug("Loading plugins into cache");
String pluginPath = session.getServletContext().getRealPath("plugin_lessons");
String targetPath = session.getServletContext().getRealPath("plugin_extracted");
//TODO fix me
//new PluginsLoader(Paths.get(pluginPath), Paths.get(targetPath)).copyJars();
webSession.getCourse().loadLessonFromPlugin();
//webSession.getCourse().loadLessonFromPlugin();
Map<String, Object> result = new HashMap<String, Object>();
result.put("success", true);