Exclude from compile/ build

Answered

For example, I have java files Car and Plane. Now, I need to debug Car, so I created a main class called CarMain. Is there a way to only compile/ build Car and CarMain, as there are a lot of errors in the Plane class? The only method I am aware of is to exclude Plane in "Build, Execution, Deployment". But say, now instead I want to debug Plane with PlaneMain, while somehow I have introduced errors in the Car class. I will have to change everything in the settings again. Is there anyway to quickly switch between the two or exclude them individually in the configurations?

0

Please sign in to leave a comment.