Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to temporarily disable a package in a project from compiling in Java EE IDE

Tags:

java

eclipse

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.

like image 888
umair Avatar asked May 23 '14 07:05

umair


Video Answer


2 Answers

If it is eclipse, try -

Project properties -> Java Build Path -> Source -> Excluded
like image 53
A. Agarwal Avatar answered Oct 13 '22 10:10

A. Agarwal


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.

like image 29
Krebto Avatar answered Oct 13 '22 08:10

Krebto