Run multiple replicate with argument configuration
Dear Everyone,
I am a newbie of IntelliJ IDEA. After finishing coding, I would like to run a class. The class need 4 arguments to run. It takes ~10mins to done so it take time for me monitor the laptop and change argument for each run (note that i want to ~100 replicates to collect data). Now I want to run multiple replicates, how can I do it with arguments input.
Thanks for your reading and helping.
请先登录再写评论。
There is no such feature in IntelliJ IDEA. The best thing you can do instead is write a separate class (or a shell script) that will call your main class as many times as you need with the necessary arguments, and run that, instead of running your main class directly.
Thanks for your response. Actually, I wrote a batch file to do it.