Webmodule able to be in a different directory from project?
Hi, all.
I am writing a jsp for the very first time using IDEA 4.5.1.
Previously, I had used Tapestry for apps like this, so I was able to
pretty much stay in Java space, modulo a bit of bundling via ANT.
By policy, we never put build artifacts in the main sourcecode
directories - they always live in a projectfiles tree. Thus, we have a
separate directory with all of our projects, and all of our build
artifacts. This works great with various modules having various source
roots in the separate sourcecode directory.
I tried recently to set up a web module, and could not get it to set a
source root out of the project directory. This is kind of a problem.
Visual example:
projectfiles
projectfiles/IdeaProjects
projectfiles/IdeaProjects/foo-non-webapp.iml
projectfiles/IdeaProjects/foo-non-webapp.ipr
projectfiles/IdeaProjects/bar-webapp.iml
projectfiles/IdeaProjects/bar-webapp.ipr
sourcecode/applications
sourcecode/applications/foo
sourcecode/applications/foo/javasource
sourcecode/applications/bar
sourcecode/applications/bar/javasource
sourcecode/applications/bar/jspsource
and I really want the bar-webapp.iml module file in
sourcecode/IdeaProjects to be able to muck with the jsp files in
sourcecode/applications/bar/jspsource.
So, how should I be setting this up?
Scott
Please sign in to leave a comment.