How can I temporarily disable a package in a project from compiling in Java EE IDE? The package has some source files that I want to prevent from compiling temporarily.
If it is eclipse, try -
Project properties -> Java Build Path -> Source -> Excluded
If it is in another project, just right click on the project and select close project, you can easily re-open it when you need it back. If it is in the same project, go to properties->Java Build Path->Source->Excluded. You can shift up and down easily and set priorities. Hope that help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With