/** * Returns the location of the compiler output. (Changes after every recompile.) * @param outputModuleName the module name that the GWT compiler used in its output. */ public File getCurrentWarDir(String outputModuleName) { return outboxes.findByOutputModuleName(outputModuleName).getWarDir(); }
/** * Returns the location of the compiler output. (Changes after every recompile.) * @param outputModuleName the module name that the GWT compiler used in its output. */ public File getCurrentWarDir(String outputModuleName) { return outboxTable.findByOutputModuleName(outputModuleName).getWarDir(); }
private Response makeModulePage(String moduleName) { Outbox box = outboxes.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName); } JsonObject json = jsonExporter.exportModulePageVars(box); return Pages.newHtmlPage("config", json, "modulepage.html"); }
private Response makeModulePage(String moduleName) { Outbox box = outboxTable.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName); } JsonObject json = jsonExporter.exportModulePageVars(box); return Pages.newHtmlPage("config", json, "modulepage.html"); }
Outbox box = outboxes.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName);
Outbox box = outboxTable.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName);
Response handle(String target, HttpServletRequest request, TreeLogger logger) { String moduleName = getModuleNameFromRequest(target); if (moduleName == null) { throw new RuntimeException("invalid request (shouldn't happen): " + target); } Outbox box = outboxTable.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName); } else if (box.containsStubCompile()) { return new ErrorPage("This module hasn't been compiled yet."); } String rootDir = SYMBOLMAP_PATH + moduleName + "/"; String rest = target.substring(rootDir.length()); if (rest.isEmpty()) { return new ErrorPage("Missing permutation id"); } else if (rest.endsWith("/")) { return new ErrorPage("Can not list directory"); } else { String strongName = getStrongNameFromSymbolmapFilename(rest); if (strongName != null) { File symbolMap = box.findSymbolMap(strongName).getAbsoluteFile(); return Responses.newFileResponse("text/plain", symbolMap); } else { return new ErrorPage("page not found"); } } }
Outbox box = outboxTable.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName);
Outbox box = outboxes.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName);
Outbox box = outboxTable.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName); Outbox box = outboxTable.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName); Outbox box = outboxTable.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName);
Outbox box = outboxes.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName); Outbox box = outboxes.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName); Outbox box = outboxes.findByOutputModuleName(moduleName); if (box == null) { return new ErrorPage("No such module: " + moduleName);