CVS and webmodules...

Ok... I must be doing something really dumb... but here's what I have

project/
src/
lib/
conf/
web/
pages/
WEB-INF/
...
...

so.... I set up my content root as project/ and then create a web module with it's root at project/web...

now I have to do 2 commits to check in my changes as a commit on my "source" module doesn't effect the web module, and visa-versa.... am I just looking at this stuff wrong? Ideally, I'd like a commit to effect all files under the dir I right click on... regardless of what "module" stuff is in....

frankly, the whole web module concept is more complexity than I need... I just want autocompletion for tag libs in my JSP.... I certainly don't want IDEA pretending to be a build process... what am I missing?



7 comments
Comment actions Permalink

You could remove the default Module that gets created with the project and setup your Web module with a project root of /project

then mark the src folder as source

and the web folder as a Web root. And make sure IDEA points to web/WEB-INF/web.xml for your web.xml.

Then it should see the whole module for a CVS commit.

Although, I agree that CVS operations should probably span Modules.

Thanks,
Patrick

0
Comment actions Permalink

Although, I agree that CVS operations should probably span Modules.


They do if you press ctrl +k which commits the whole project.

R

0
Comment actions Permalink

Well, how about that....Commit Project option under the CVS menu...although mine isn't displaying the Ctrl-K mapping...even though it works.

Thanks,
Patrick

0
Comment actions Permalink

Hmm, Ctrl-K is assigned to "Other/Checkin". So I guess that's the same as commit project for any version control.

Thanks,
Patrick

0
Comment actions Permalink

thanks... I hadn't thought of that... I'll give it a try.

0
Comment actions Permalink


Ah, ha. This is what I have been doing when I set-up a web module that is
already in an expanded directory. I was thinking that there was something
that I did not know about setting up projects.

Maybe this is an issue where the initial project wizard needs to be updated
to reflect a webapp-only project.


"Patrick Burleson" <pbur@yahoo.com> wrote in message
news:21829657.1073506165572.JavaMail.itn@is.intellij.net...

You could remove the default Module that gets created with the project and

setup your Web module with a project root of /project
>

then mark the src folder as source

>

and the web folder as a Web root. And make sure IDEA points to

web/WEB-INF/web.xml for your web.xml.
>

Then it should see the whole module for a CVS commit.

>

Although, I agree that CVS operations should probably span Modules.

>

Thanks,
Patrick



0
Comment actions Permalink

I have heard that very soon(tm) the initial project wizard will have the ability to specifiy module type for the first module...

It would be even cooler if in that wizard you could setup all your modules.

Thanks,
Patrick

0

Please sign in to leave a comment.