J2EE Build Settings Not Saving

Created project from scratch, clean install of 1101 and I'm unable to save the J2EE Build settings (war or exploded)

0
17 comments
Avatar
Permanently deleted user

I can't save the web settings either.

--Grant

"Damian Penney" <intellij@penney.org> wrote in message
news:31710564.1074194500747.JavaMail.itn@is.intellij.net...

Created project from scratch, clean install of 1101 and I'm unable to save

the J2EE Build settings (war or exploded)


0
Avatar
Permanently deleted user

One way to get past this is to just edit the .iml file, it's pretty self explanatory. Definitely a bug though

0
Avatar
Permanently deleted user

What is the setting in the IML to save the web.xml path and the web content
root since I can never save those settings I am not sure what to add ;)

--Grant


"Damian Penney" <intellij@penney.org> wrote in message
news:5481155.1074200924012.JavaMail.itn@is.intellij.net...

One way to get past this is to just edit the .iml file, it's pretty self

explanatory. Definitely a bug though


0
Avatar
Permanently deleted user

Still not saving in 1108.

--Grant


"Grant Gochnauer" <grant@gochnauer.org> wrote in message
news:bu6pna$dkn$1@is.intellij.net...

I can't save the web settings either.

>

--Grant

>

"Damian Penney" <intellij@penney.org> wrote in message
news:31710564.1074194500747.JavaMail.itn@is.intellij.net...

Created project from scratch, clean install of 1101 and I'm unable to

save

the J2EE Build settings (war or exploded)

>
>


0
Avatar
Permanently deleted user

Hey Grant, since we are obviously having the same problems, I wanted to compare notes and see if you are by chance saving your project and module files in a different directory structure from your content. I have been suspect of this setup as being the culprit, but I haven't had the time to research this in-depth. Sure wish I could get some feedback from Jetbrains on this problem.

--Chris

0
Avatar
Permanently deleted user

I am saving my modules and project files in the same directory as my content
for my web root.

For example:

Content root: d:\dp
Resource dir: d:\dp
web.xml location: d:\dp\web-inf\web.xml
src files and output: d:\dp\web-inf\classes

all iml and and ipr files are stored in d:\dp

I just tried the latest 1113 build and the settings still are not saving.

--Grant


"Chris Custine" <no_mail@jetbrains.com> wrote in message
news:23914178.1074315081164.JavaMail.itn@is.intellij.net...

Hey Grant, since we are obviously having the same problems, I wanted to

compare notes and see if you are by chance saving your project and module
files in a different directory structure from your content. I have been
suspect of this setup as being the culprit, but I haven't had the time to
research this in-depth. Sure wish I could get some feedback from Jetbrains
on this problem.
>

--Chris



0
Avatar
Permanently deleted user

OK, that obviously isn't to blame then. As of 1113 I still can't save web.xml either. Worse than that, now the web.xml setting in the module config defaults to nothing whereas before it defaulted to web.xml in the content root. Therefore every time I start up I have to navigate to the correct dir and set it. Not too bad for you since you are at d:\dp, but my content root is many dirs deep into a drive. Can't wait for this to get fixed.

Chris

0
Avatar
Permanently deleted user

Chris, could you please send me your sample project where you are unable to save paths, since I still have no luck reproducing it
with Grant's settings.
Thank you.

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
e-mail: cdr(at)intellij.com

"Chris Custine" <no_mail@jetbrains.com> wrote in message news:15978848.1074627181444.JavaMail.itn@is.intellij.net...

OK, that obviously isn't to blame then. As of 1113 I still can't save web.xml either. Worse than that, now the web.xml setting

in the module config defaults to nothing whereas before it defaulted to web.xml in the content root. Therefore every time I start
up I have to navigate to the correct dir and set it. Not too bad for you since you are at d:\dp, but my content root is many dirs
deep into a drive. Can't wait for this to get fixed.
>

Chris



0
Avatar
Permanently deleted user

Alexey,
Maybe you can detail what steps you go through to setup a web module
since perhaps there is something that Chris and I do that somehow messes
things up later down the line that you aren't seeing because you didn't do
exactly what we did.
I am surprised you can't reproduce since I can reproduce on any machine
here as long as I use our current project structure. I installed on a fresh
machine with no imported settings or anything and then setup a web module
from scratch and it still would not save the web.xml location and the web
content root. I am going to attach my web.xml since perhaps that is the
problem.

Content root: d:\dp
Web Resource dir: d:\dp (relative path "/")
web.xml location: d:\dp\web-inf\web.xml
src files and output: d:\dp\web-inf\classes
exclude folder: d:\dp\web-inf\classes\jsp_servlet
output: D:\dp\WEB-INF\classes

all iml and and ipr files are stored in d:\dp


--Grant


"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bul9u9$ee4$1@is.intellij.net...

Chris, could you please send me your sample project where you are unable

to save paths, since I still have no luck reproducing it

with Grant's settings.
Thank you.

>

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
e-mail: cdr(at)intellij.com

>

"Chris Custine" <no_mail@jetbrains.com> wrote in message

news:15978848.1074627181444.JavaMail.itn@is.intellij.net...

OK, that obviously isn't to blame then. As of 1113 I still can't save

web.xml either. Worse than that, now the web.xml setting

in the module config defaults to nothing whereas before it defaulted to

web.xml in the content root. Therefore every time I start

up I have to navigate to the correct dir and set it. Not too bad for you

since you are at d:\dp, but my content root is many dirs

deep into a drive. Can't wait for this to get fixed.
>

Chris

>
>





Attachment(s):
web.xml
0
Avatar
Permanently deleted user

Hi Grant,
I have been able to get my web.xml settings to save but I am not sure EXACTLY what I did to get it working. The only major thing that I have changed is that prior to today I did not have Generic Application server configured in my Project settings under "App Server Integration" (I only had Weblogic configured). Possibly by coincidence, once I configured the Generic Application server tab and recreated my Module (not the whole project, just the web module), now my web.xml and Web Resource Directories are saved in the iml, even though I am selecting Weblogic support. Just curious to see if you have the same scenario.

--Chris

0
Avatar
Permanently deleted user

Chris,
That is exactly how I have it. I don't have any Generic Web server
configured at all but just Weblogic. I will have to try what you said.

--Grant


"Chris Custine" <no_mail@jetbrains.com> wrote in message
news:30694992.1074714184243.JavaMail.itn@is.intellij.net...

Hi Grant,
I have been able to get my web.xml settings to save but I am not sure

EXACTLY what I did to get it working. The only major thing that I have
changed is that prior to today I did not have Generic Application server
configured in my Project settings under "App Server Integration" (I only had
Weblogic configured). Possibly by coincidence, once I configured the
Generic Application server tab and recreated my Module (not the whole
project, just the web module), now my web.xml and Web Resource Directories
are saved in the iml, even though I am selecting Weblogic support. Just
curious to see if you have the same scenario.
>

--Chris



0
Avatar
Permanently deleted user

OMG! That was it.

Its saving now. That is one heck of an annoying bug...

The weird thing is that after I enabled the generic web application support,
I had to re-create my web module for it to save. It wouldn't save on my
previous module after I had enabled that.

--Grant



"Chris Custine" <no_mail@jetbrains.com> wrote in message
news:30694992.1074714184243.JavaMail.itn@is.intellij.net...

Hi Grant,
I have been able to get my web.xml settings to save but I am not sure

EXACTLY what I did to get it working. The only major thing that I have
changed is that prior to today I did not have Generic Application server
configured in my Project settings under "App Server Integration" (I only had
Weblogic configured). Possibly by coincidence, once I configured the
Generic Application server tab and recreated my Module (not the whole
project, just the web module), now my web.xml and Web Resource Directories
are saved in the iml, even though I am selecting Weblogic support. Just
curious to see if you have the same scenario.
>

--Chris



0
Avatar
Permanently deleted user

Awesome. I like to know the reasons for when something just suddenly starts working. At least now we know. I will search and see if you ahve filed a bug report and I will file one if you haven't already. Now if we can just get the Quick Javadoc bugs fixed I am home free :)

Good luck,
Chris

0
Avatar
Permanently deleted user

Awesome! Good debugging Chris. This was driving me up a wall!

--Grant


"Chris Custine" <no_mail@jetbrains.com> wrote in message
news:22313596.1074718045872.JavaMail.itn@is.intellij.net...

Awesome. I like to know the reasons for when something just suddenly

starts working. At least now we know. I will search and see if you ahve
filed a bug report and I will file one if you haven't already. Now if we
can just get the Quick Javadoc bugs fixed I am home free :)
>

Good luck,
Chris



0
Avatar
Permanently deleted user

Hi Grant,
Glad we got this one figured out as well. I found an existing bug report and have added the information to this bug and e-mailed Alexey. I think there are probably quite a few people that would experience the same problem.

http://www.intellij.net/tracker/idea/viewSCR?publicId=26418

Good Luck,
--Chris

0
Avatar
Permanently deleted user

Grant Gochnauer wrote:

Awesome! Good debugging Chris. This was driving me up a wall!

--Grant


Heh... yeah I guess this thing is not that obvious. I've been using web
apps for so long, for me it's automatic I set it up. However this is a
pretty nifty bug since you should NEVER be able to add ANY Web Modules
if the J2EE Generic App Servlet settings is not setup. I think they
should plain hide the web module, of they DO show the web module wizard
to create, the first thing it needs to do is ask you where the J2EE jar
file is, and not let you continue until that's in place.

I bet A LOT of other people not reading this forum are having the same
problem.

Nice work.

R

0
Avatar
Permanently deleted user

Many thanks to Grant and Chris for going into such great pain debugging the beast.
The bug has been fixed in 1117.

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Chris Custine" <no_mail@jetbrains.com> wrote in message news:30694992.1074714184243.JavaMail.itn@is.intellij.net...

Hi Grant,
I have been able to get my web.xml settings to save but I am not sure EXACTLY what I did to get it working. The only major thing

that I have changed is that prior to today I did not have Generic Application server configured in my Project settings under "App
Server Integration" (I only had Weblogic configured). Possibly by coincidence, once I configured the Generic Application server tab
and recreated my Module (not the whole project, just the web module), now my web.xml and Web Resource Directories are saved in the
iml, even though I am selecting Weblogic support. Just curious to see if you have the same scenario.
>

--Chris



0

Please sign in to leave a comment.