Setting up a JAVA project with all examples from a JAVA book
已回答
Hey! New to IntelliJ, I just been working with textpad untill now.
I want to have a project with all the examples from the book I am following. The Idea behind is to easy access the examples to copy from them when I need to work on an assignment.
I had manually copied the directory where all the examples are into the SRC folder of a project.
The problem with this is that when I want to run a single java example. IntelliJ is compiling ALL the Examples and giving lots of errors...
I hope this make sense to you.
Hope i get some help! Thank you!
请先登录再写评论。
Hello,
It's better to create different modules for each example. Then IDE won't compile all of them.
Thanks! Thinking instead in adding chapter by chapter on the project while checking they are error free and compile. At the end of it I will have them all in a project.... will try. thanks