Web module support
Hi there
I'm using build 1101 and i'd like to use tag-lib code assist in JSP editor.
I have 2 modules: the main module and the web module. Unfortunately both of
them have the same source path - suppose i have "src" folder so all java
classes (com/....), jsps and WEB-INF folder are located in this source
folder. I have some strange effects in the project window - there are no
sources in the web module in the project tab. Next I do not have code assist
for all custom taglibs, all tags are red but tag library definition files
are present and located in the appropriate folders. This really pisses me
off. What am i doing wrong?
--
Anton Dekusar
Please sign in to leave a comment.
Two modules should not share their roots - otherwise one of the conflicting roots will be excluded from another module.
What prevents you from having just one web module with the source root in your "src" folder ?
--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Anton Dekusar" <anton.dekusar@visiprise.com> wrote in message news:bu6jj4$m18$1@is.intellij.net...
>
>
>
>
Thanks, in my opinion web module is jsps including web.xml, htmls and the
other html stuff that's why i tried to create 2 modules - one with java
source and the second one with jsp pages. Now i have only one and it works
fine.
--
Anton Dekusar
"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bue363$o30$1@is.intellij.net...
conflicting roots will be excluded from another module.
your "src" folder ?
>
>
>
news:bu6jj4$m18$1@is.intellij.net...
editor.
of
assist
files
me
>
>
The way that our development environment is set up, each module essentially
extends a common base module that contains JSPs, Servlets, TagLibs, other
resources, and Java source code. This is implemented by having a common
module that is included in each of the web modules.
The IDEA functionality described by Alexey makes that not work if you try to
work on multiple extended Web modules within the same project.
I have tried to work around this by having each extended Web module depend
on a base Web module but the web roots are not merged. Is there planned
support for this type of development environment in the near future?
Thanks,
Tim
"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bue363$o30$1@is.intellij.net...
conflicting roots will be excluded from another module.
your "src" folder ?
>
>
>
news:bu6jj4$m18$1@is.intellij.net...
editor.
of
assist
files
me
>
>
We are thinking about allowing web module depend on another web module. That way, web resource directories,classes and libraries
will be merged during make.
Will that suit your setup ?
Could you please move the discussion into the j2ee group ?
--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Tim Haley" <ymaraner@yahoo.com> wrote in message news:bumtku$gii$1@is.intellij.net...
>
>
>
>
>
>
>
+1
I could see this. We have several common pages that every webapp has (error
pages, etc). It would be nice to have a "generic" webapp that we keep our
common webapps .jsp code in (maybe even jstl libs, and custom libs that we
all use) etc.
Build would pull that stuff in without having to be bothered by it when I am
working on my specific webapp.
--
Norris Shelton
Web Developer
Sun Certified Java Programmer
"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bur2du$ega$1@is.intellij.net...
That way, web resource directories,classes and libraries
>
>
>
news:bumtku$gii$1@is.intellij.net...
essentially
other
try to
depend
in
both
java
source
are no
code
pisses
>
>