Issue with a "templates" directory in a project
We've got a project structure that includes directories:
notes
src
templates
"notes" contains various files for developers (diagrams, specs, what-not); "src" contains java source code; "templates" contains velocity templates;
In project settings, "src" is setup as a Source Folder. No special setup is specified for either of the others.
Idea 4.5.x shows all of the above directories in the project pane, but after installing build 3235 the "templates" directory is no longer shown.
If I tag this directory as a Source Folder it does show up, however I'd prefer not to do this as it's not java source code. Since other non-source, non-test, non-excluded directories show up in the project pane, how can I get "templates" to do the same?
Thanks!
rob.
Please sign in to leave a comment.
Robert
>Idea 4.5.x shows all of the above directories in the project pane, but after installing build 3235 the "templates" directory is no longer shown.
>
>
It's not a bug, it's a - new - feature. There was a very long thread
about this problem, some time ago.
Alain
I don't get it Alain. What feature you're talking about?
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
>> Idea 4.5.x shows all of the above directories in the project pane,
>> but after installing build 3235 the "templates" directory is no
>> longer shown.
>>
Maxim
>
(If I haven't misread the O.P.), It's about not being able to see what's
under the project root, but is not part of any module:
aProject
- readme.txt
-module1
-module2
There is not way to access readme.txt, although it's in the project.
Alain
I don't think this is the case since Robert talks about 4.5.x that showed
up OK. Nothing have been changed there since 4.5.x to Irida.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
>> I don't get it Alain. What feature you're talking about?
>>
Robert Hedin wrote:
Do you have the "templates" folder added to your classpath (as a module library)
by any chance? I noticed that such folders are not under the project root any more
but can be found under the "Libraries" node in the project view.
I don't know if it makes much sense or not, but it didn't annoy me enough (yet) to
file a request ;)
Sascha
Ok, some more information---
I've got a project (actually a module) whose on-disk structure is basically--
runtime/
dist/
notes/
src/
templates/
test/
(more)
Project settings for this module lists the following:
dist/ == Exclude
notes/ == (nothing)
src/ == Source Folder
test/ == Test Source
templates/ == (nothing)
From the Project pane shows the following directories
notes/
src/
test/
but NOT templates; note that the path setup does list the directory, but the project pane doesn't.
If I tag templates/ to be a Source Folder, it shows up.
The question is--
both notes/ and templates/ are setup identically (i.e. no special handling), notes/ shows up on the project pane but templates/ does not.
Thanks again
Sorry for not being clear-- the dirs in question are not under project root, but under a defined module.
Everything shows up as expected under 4.5.x but not the EAP.
Ok -- thanks for that pointer-- this dir is defined as being a module library (although it's not supposed to be; not sure how THAT got set).
Removing it from the module libraries list allows it to show up.
thanks!