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.
我用ant启动集线器,我不使用ant启动rc,而是想从代码中调用它。iam使用junit运行rc。请建议我如何?
如果您确实必须这样做,请查看 build.xml 文件。“启动远程控制”任务应该为您提供所需的所有信息。您可以看到正在调用的 Java 类以及正在传递的参数。您还需要确保在类路径的 vendor/ 目录中拥有所有内容。