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 启动器类运行 Acceleo?也就是说,当我在我的 .mtl 类中添加 [comment @main/] 时,会生成一个新的 java 类。现在,我不想使用 .mtl 文件开始生成,而是想使用这个 Java 类中的 main 方法来完成同样的工作。
实际上,这个生成的类是 acceleo 用来启动你的一代的。
您可以创建一个 acceleo 启动配置,并查看第二个选项卡,它显示与此启动配置等效的 java 命令行。