the new Web Module... is it better?

Hi all,

I have been playing with the latest EAP builds, and I've got my projects
working with the new Web Module setup.

But there is one thing I miss from the old way of attaching to Tomcat... or
maybe I am missing something.

In the current setup you can only have teh Web Module, create a WAR or use
an exploded WAR, which is also created by IDEA when starting the Web App.

In the old version I could point my Tomcat configuration to my
work-in-progress /content/root directory where I could modify my Velocity
files for example, and the changes would be reflected immediately...
Now it seems I need to restart the Web App in order to see changes made to
.vm files...

Am I missing some configuration option? is there another way to do this?

Any help will be appreciated.

Thanks,

-emilio



2 comments

Emilio Suarez wrote:

Hi all,

I have been playing with the latest EAP builds, and I've got my projects
working with the new Web Module setup.

But there is one thing I miss from the old way of attaching to Tomcat... or
maybe I am missing something.

In the current setup you can only have teh Web Module, create a WAR or use
an exploded WAR, which is also created by IDEA when starting the Web App.

In the old version I could point my Tomcat configuration to my
work-in-progress /content/root directory where I could modify my Velocity
files for example, and the changes would be reflected immediately...
Now it seems I need to restart the Web App in order to see changes made to
.vm files...

Am I missing some configuration option? is there another way to do this?

Any help will be appreciated.


Check out the help in the j2ee forum there is lots of stuff there. IN
short, no need to restart ctrl + F9 will make the changed files and copy
them.

Also in your case you should look at the demo in the wiki which shows
you how to setup your project the 3.x way, using a web module.

R

0

Thanks Robert,

That did the trick.

I just had to change the J2EE Build Settings to create a web module exploded
directory, and indeed Ctrl+F9 detects that the .vm file changed and copies
it to the exploded dir...

This is what I expected... !!!

Thanks,

-emilio

"Robert S. Sfeir" <robert@codepuccino.com> wrote in message
news:bvsgds$8hg$1@is.intellij.net...

Emilio Suarez wrote:

Hi all,

>

I have been playing with the latest EAP builds, and I've got my projects
working with the new Web Module setup.

>

But there is one thing I miss from the old way of attaching to Tomcat...

or

maybe I am missing something.

>

In the current setup you can only have teh Web Module, create a WAR or

use

an exploded WAR, which is also created by IDEA when starting the Web

App.

>

In the old version I could point my Tomcat configuration to my
work-in-progress /content/root directory where I could modify my

Velocity

files for example, and the changes would be reflected immediately...
Now it seems I need to restart the Web App in order to see changes made

to

.vm files...

>

Am I missing some configuration option? is there another way to do this?

>

Any help will be appreciated.

>

Check out the help in the j2ee forum there is lots of stuff there. IN
short, no need to restart ctrl + F9 will make the changed files and copy
them.

>

Also in your case you should look at the demo in the wiki which shows
you how to setup your project the 3.x way, using a web module.

>

R



0

Please sign in to leave a comment.