Excluding a directory from project?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Steve_Rice
Posted On:   Thursday, January 24, 2002 04:15 PM

My project consists of almost all .java files in a particular directory tree. However, a couple directories contain obsolete code or testing code, which will not compile.


Is there any way to tell IDEA to exclude these couple directories (or files) from the project? I know I could instead add all the many individual directories that I do want in my project, but the resulting project tree doesn't show the tree structure very clearly.


Thanks, Steve

Re: Excluding a directory from project?

Posted By:   Richard_Nemec  
Posted On:   Thursday, January 24, 2002 07:51 PM

To completely hide the directories you can go to Tools/IDE Options/Ignore files and folders. This setting is not project specific, however.


Just for compilation, you can do it in File/Project Properties/Compile/Exclude from Compile.


Next versions should provide more flexibility in this area.


r.

About | Sitemap | Contact