Bug? TODO window doesn't filter out directories that belong to other modules

I have a project with 2 modules. One is the main module and the other is just for web stuff. The hierarchy is something like this:



The main module's content root is /proj. The web module's content root is /proj/src/web.

I have a few files under the web root with TODOs. Those TODOs show up in the TODO window twice--once for the main module, and once for the web module. Explicitly excluding the /proj/src/web directory from the main module doesn't make any difference.

Is that the correct behavior? It seems weird only because the project view is smart enough to not show the the /proj/src/web directory under the main module (presumably since it belongs to another module).

thanks,

chris

2 comments

Hello Chris,

CB> I have a project with 2 modules. One is the main module and the
CB> other is just for web stuff. The hierarchy is something like this:
CB>
CB> /docs CB> /src CB> /java CB> /test CB> /web]]>
CB> The main module's content root is /proj. The web module's content
CB> root is /proj/src/web.
CB>
CB> I have a few files under the web root with TODOs. Those TODOs show
CB> up in the TODO window twice--once for the main module, and once for
CB> the web module. Explicitly excluding the /proj/src/web directory
CB> from the main module doesn't make any difference.
CB>
CB> Is that the correct behavior? It seems weird only because the
CB> project view is smart enough to not show the the /proj/src/web
CB> directory under the main module (presumably since it belongs to
CB> another module).
CB>
CB> thanks,
CB>
CB> chris
CB>
It is dangerous to have the web module included in another module. VCS plugins won't see any changes in the web module because of that. I haven't confirmed that it is the case for CVS.

Jacques

0

It is dangerous to have the web module included in
another module.


Thanks, Jacques. I was afraid of that. However, the project hierarchy is one of those I-can't-change-it things. :( Does explicitly excluding the web module root directory from the main module make it less dangerous?

VCS plugins won't see any changes in
the web module because of that. I haven't confirmed
that it is the case for CVS.


Ah, good to know, thanks. I unfortunately don't have the luxury of using CVS or any plugin to help with VCS.

Thanks for the tips.

0

Please sign in to leave a comment.