diff --git a/src/fr/devinsy/statoolinfos/cli/StatoolInfosCLI.java b/src/fr/devinsy/statoolinfos/cli/StatoolInfosCLI.java index 156190b..cd92a08 100644 --- a/src/fr/devinsy/statoolinfos/cli/StatoolInfosCLI.java +++ b/src/fr/devinsy/statoolinfos/cli/StatoolInfosCLI.java @@ -102,7 +102,7 @@ public final class StatoolInfosCLI message.appendln(" statoolinfos [ -h | -help | --help ]"); message.appendln(" statoolinfos [ -v | -version | --version ]"); message.appendln(" statoolinfos [ build | crawl | htmlize ] [ directory | file ]"); - message.appendln(" statoolinfos clear"); + message.appendln(" statoolinfos clear [ directory | file ]"); logger.info(message.toString()); } @@ -290,8 +290,5 @@ public final class StatoolInfosCLI logger.info("Bad usage."); displayHelp(); } - - // - logger.info("Finished."); } } diff --git a/src/fr/devinsy/statoolinfos/core/StatoolInfos.java b/src/fr/devinsy/statoolinfos/core/StatoolInfos.java index 63b7581..302f431 100644 --- a/src/fr/devinsy/statoolinfos/core/StatoolInfos.java +++ b/src/fr/devinsy/statoolinfos/core/StatoolInfos.java @@ -46,6 +46,7 @@ public class StatoolInfos */ public static void build(final File input) throws StatoolInfosException, IOException { + logger.info("Build {}", input.getAbsolutePath()); PathPropertyList inputProperties = PathPropertyUtils.load(input); String buildDirectoryName = inputProperties.get("conf.build.directory"); @@ -200,6 +201,9 @@ public class StatoolInfos crawlSection.put("crawl.url", url.toString()); target.addAll(crawlSection); + cache.store(url.toString(), target); + + // PathPropertyList section = inputProperties.getByPrefix("subs"); for (PathProperty property : section) { @@ -241,6 +245,7 @@ public class StatoolInfos } else { + // TODO } }