Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION]createModule方法如何执行 #265

Closed
main1015 opened this issue Nov 23, 2023 · 3 comments
Closed

[QUESTION]createModule方法如何执行 #265

main1015 opened this issue Nov 23, 2023 · 3 comments

Comments

@main1015
Copy link

请描述您的问题

执行 createModule() 方法,等待执行完成,即会在services目录下根据模版创建出新的模块。
这个方法如何执行啊,我将代码clone到本地,通过环境准备将环境准备好了,但是在新增一个扩展模块里面通过执行 createModule() 方法,此时我不知道怎么操作了,我在demo目录下通过mvn test或者mvn test -Dtest=CreateModuleUtil都无法执行createModule方法,我想问问这个要怎么操作

@shaohuzhang1
Copy link
Contributor

项目使用idea工具
image

@main1015
Copy link
Author

我使用的是vscode idea,

其他文件的test方法就有这个可以执行的按钮
image
但是CreateModuleUtil.java的createModule方法就没有这个按钮
image

并且这个不能再命令行下执行吗?

@shaohuzhang1
Copy link
Contributor

vscode idea 对java支持不是很友善,我们一般使用IntelliJ IDEA 进行开发.你可以使用IntelliJ IDEA 试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants