Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以像这里所说的那样从 Java 运行 Ant:https ://stackoverflow.com/a/6733831/258483
有用。
但它默默地工作。如何设置日志记录,以便它记录与正常命令行运行期间记录的完全相同的日志?