(String[] args)
| 20 | |
| 21 | |
| 22 | public static void main(String[] args) throws IOException { |
| 23 | Timer.runAndCount(() -> { |
| 24 | Config.name = "youlai-mall"; |
| 25 | Config.classpathKeywords = new String[]{"youlai"}; |
| 26 | Config.jarPath = "../../cloud/dataset/youlai-mall"; |
| 27 | Config.targetPath = "../../cloud/tmp/youlai-mall"; |
| 28 | Config.reuse = false; |
| 29 | try { |
| 30 | parseJar(Config.jarPath); |
| 31 | GatewayParser.mapServiceRoute(); |
| 32 | Main.main("--options-file", Config.optionsFile); |
| 33 | } catch (Exception e) { |
| 34 | logger.error("[!] {}: {}", Config.name, e); |
| 35 | e.printStackTrace(); |
| 36 | } |
| 37 | }, Config.name); |
| 38 | } |
| 39 | |
| 40 | public static void parseJar(String jarDir) throws IOException { |
| 41 | boolean reuse = Config.reuse; |
nothing calls this directly
no test coverage detected