(self)
| 34 | self.want_suffix = (".java", ".jar") |
| 35 | |
| 36 | def get_tool(self): |
| 37 | tool_home = os.environ["LOONG_HOME"] |
| 38 | tool_path = os.path.join(tool_home, "bin", settings.PLATFORMS[sys.platform], "JAP") |
| 39 | if settings.PLATFORMS[sys.platform] == "windows": |
| 40 | tool_path = f"{tool_path}.exe" |
| 41 | return tool_path |
| 42 | |
| 43 | def parser(self): |
| 44 | tool_path = self.get_tool() |