Why is directory named conf not visible
I have a project structure where I have all my configuration files saved in a directory named conf.
- scr
- lib
- conf
- ...
The problem is that my conf dir is not visible in the Project tab, all my other dirs are there but the conf dir is removed from the tab by IDEA. If I change the name to 'config' it is shown again...
Anyone know how to show my conf dir the Project tab?
/Perry
Please sign in to leave a comment.
It probably due:
1. conf is mentioned in Settings|General|Ignore files and folders
or
2. Specifically mentioned as excluded in Settings|Paths
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Maxim Shafirov (JetBrains) wrote:
More probably it is configured as a module library to include it into the classpath, which
makes it appear under the "Libraries"-node in the project view instead.
I still haven't decided whether I like that or not. I sometimes do that with directories
that contain resources that are to be loaded with Class.getResource() and having to open
the Libraries node to access the directory is kinda awkward.
Sascha
No that is not the case, the Settings|General|Ignore files and folders string is set to 'CVS;SCCS;RCS;rcs;.DS_Store;.svn;'
and if you mean that the folder is marked red in paths page that is also wrong.
I have attached two screendumps to show you my settings.
Attachment(s):
settings.png
general.png
In article <29004316.1118757041135.JavaMail.itn@is.intellij.net>,
Per-Ingemar Andersson <no_mail@jetbrains.com> wrote:
Did you add it to your classpath by any chance by adding it as a
jar/directory entry in your module's paths settings?
Yes, that is correct. I need to have those things in the
classpath so that the application can find the configuration.
Why should that hide the directory from the project tab?
/Perry
It's just shown under Libraries node instead
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Ok, now I know where to find the files...but I
must say that it is a strange behaviour to hide
the dir in the project tab.
IDEA should keep the dir showing in the tab,
and also show it in the Libraries node.
The jar files in the lib dir are not hidden from
the project tab when added to the classpath...
/Perry
In article <12357890.1118757849321.JavaMail.itn@is.intellij.net>,
Per-Ingemar Andersson <no_mail@jetbrains.com> wrote:
It's a setting somewhere to hide those. You can still see them in the
package view tab of the project pane.
R
In article <c8a8a1bfe31f8c73f239b1c8525@news.jetbrains.com>,
Maxim Shafirov (JetBrains) <max@jetbrains.com> wrote:
That confused me too a while back. At some point maybe there should be
a setting to allow some of these directories to still show where we
expect them.
R
You can mark the conf directory as sources and all the configuration files
are copied over to your build out put directory and your app can find those
using classpath loader ...
+1!!