SWEET! 922 and WebModules
Ok now that I ate...
I just installed 922 and checked out webmodules... OH MY OH MY! This is EXACTLY what I wanted and MORE! MUCH MUCH MORE! I love this thing. You've just made my life TONS easier. THANK YOU!
Only comment is, setting up a webmodule, finding how to do it in the first place, has to be a lot easier than that. It took me a bit to get it going at first, I just wish it was all under configure project properties and setting up the regular modules there, even if it was some neat icon with a link which says add web module, then it would jump there. But this looks good already! WOW!
R
Please sign in to leave a comment.
Ugh... make that 992... still dizzy in the head.
Good stuff...
R
OK, Can you explain it to me?
I have a project that is nothing but a webapp. It uses external libraries.
I followed the wizard the best that I could, but I get an error stating that
"It is illegal to share content root between different modules". I'm sure
it is from the base project that I created. It was the same thing as the
webapp. What is the correct way to set-up a project like this?
"Robert S. Sfeir" <robert@codepuccino.com> wrote in message
news:30465110.1070917917398.JavaMail.javamailuser@localhost...
>
EXACTLY what I wanted and MORE! MUCH MUCH MORE! I love this thing. You've
just made my life TONS easier. THANK YOU!
>
place, has to be a lot easier than that. It took me a bit to get it going
at first, I just wish it was all under configure project properties and
setting up the regular modules there, even if it was some neat icon with a
link which says add web module, then it would jump there. But this looks
good already! WOW!
>
I'm figuring things out myself. The issue I have right now is that I still have to make the WHOLE project, I can't make JUST the webmodule, which defeats the purpose of what I want to do. I still need to compile 1 web module and run it, not the whole project, otherwise what's the purpose?
Is this coming or is this what we're getting?
R
Also once a webmodule is made... how the hell do I run it with Tomcat or what ever???
R
Fuwk, I created the module in a separate location because I did not want it
distributed with my webapp (some of our developers use JBuilder). Now it is
complaining that they module is outside my webapp. I would change it, but I
can't figure out for the life of me how to do that. The configure module
doesn't show me anything that makes it looks like it is the web module.
"Robert S. Sfeir" <robert@codepuccino.com> wrote in message
news:27721204.1070919733745.JavaMail.javamailuser@localhost...
still have to make the WHOLE project, I can't make JUST the webmodule, which
defeats the purpose of what I want to do. I still need to compile 1 web
module and run it, not the whole project, otherwise what's the purpose?
>
>
WTF was I thinking. Is this is what ment by the BLEEDING EDGE!?!?
"Norris Shelton" <nshelton@appriss.com> wrote in message
news:br2rjv$mgi$1@is.intellij.net...
it
is
I
>
which
>
>
OK, now that I have had time to beat my head against the wall, here is what
I have found.
Once the wizards and the functionality are complete, it will be pretty damn
awesome.
Here is what is missing:
1) Even though we are creating a webapp, it does not understand that it is a
webapp (e.g. it does not know the structure of a webapp). It should
automatically pull in /WEB-INF/lib as libraries. It should also pull in
/WEB-INF/classes as the output path (default). The default source should be
/WEB-INF/src if available, else /WEB-INF/classes (I hate this, but we have
some that are done that way).
2) Also, it does not appear that it knows how to work with tld files. I
have a library defined in the web.xml, but it shows as all errors. I have a
URI defined in my webapp that goes to http://java.sun.com/jstl/core. The
web.xml has:
http://java.sun.com/jstl/core /WEB-INF/tld/c.tld However, they are still red. 3) The create project from scratch defies reason. If I have a project that consists of only a webapp and I want to create a totally new project around the webapp, what do I do? Definately not intuitive and certainly not developing with pleasure. LOL I have a three projects that are due this month. I think I will leave the experimenting for those who have more time. "Norris Shelton" ]]> wrote in message
news:br2rkr$mj7$1@is.intellij.net...
>
>
it
but
module
>
>
A little note. I think some of these could be easier to solve if they
projects are created from the "webapp" directory. This would provide a
portable solution.
"Norris Shelton" <nshelton@appriss.com> wrote in message
news:br2t6u$u21$1@is.intellij.net...
what
>
damn
>
a
be
a
>
>
that
around
>
>
>
want
module.
I
web
purpose?
>
>
On Mon, 08 Dec 2003 21:11:57 +0000, Robert S. Sfeir wrote:
Where do you add webmodules? I don't see them :(
And I wish J2EE stuff would actualy work. Theres a generic application
server, but that seems to have no configurable properties at all :(
I want my EJBs linking up :(
--
Discouragement is a dissatisfaction with the past, a distaste for the
present, and a distrust of the future - Maree De Jong, CLCA.
Mark, it's pretty convoluted, and I'm trying to figure out the best way to go about it. In the project settings, go to App Server Integration, and just check off Generic App Server. Don't do anything else. Click OK, and you will see a new tab in the project pane called J2EE. Switch to that and click the earth button, and it will start adding one.
R
On Tue, 09 Dec 2003 00:01:54 +0000, Robert S. Sfeir wrote:
Ahh - and here I was looking at the new "Configure project" dialog for an
"add module", which, logically ??? is where you configure modules?
I'll go look.
--
Discouragement is a dissatisfaction with the past, a distaste for the
present, and a distrust of the future - Maree De Jong, CLCA.
I've filed this bug, but there are many numerous issues with J2EE Web Modules. I can't believe that running functionality was pulled for this busted stuff. I DO still maintain though that Web Modules are going in the right direction.
While working on a mini how-to tutorial for y'all on how to setup web modules, I ran into massive bugs, the last one which pretty much wiped me out, and basically indicated to me that web modules are just not ready for anything in 922, and that JSP debugging etc... seems to be officially busted for this build.
Some of the big bugs are:
- web modules simply don't run when pressing the run or debug button.
- you setup the webroot for the web module, yet the tomcat plugin uses its own webroot? Can't start the app server without a context.
- web.xml keeps showing up in red, which makes it that you can't set the deployment settings for it. It shows up in red because presumably it's not in the web module's classpath. That's lame, I added it to the web module and it should remember it regardless of the class path. Furhter any servlets you have setup in web.xml shows up in red unless some kind of funky setup is in place where it can resolve everything including the source file location.
- The Java Modules Build Settings doesn't do what it's supposed to do. I've added a java module called resources. in resources I have all the xml and what not files which I need copied to WEB-INF. So I set the module name and relative path to WEB-INF. When I run the make process, 2 things happen/don't happen:
1- my source directory ends up under WEB-INF instead of classes
2- the resouce directory files are never copied anywhere. I expect that if I set a webmodule to have a content directory of resources, that the files under resources are copied over.
Further if you set the resources directory as the source directory of the resource module, then even more horrible things happen. you end up with:
WEB-INF
classes
com (src stuff)
(all resource module files)
com (src stuff again)
all resource module files
com (src stuff)
This is just nasty, and now I'm at the point where I can't use IDEA EAP again. All this starvation for nothing. I'll post my mini-tutorial in a separate thread for when thigns start working. :-\
REAL dissapointed.
R
Okay, I finally gave up on trying to use build 992 because I absolutely need to be able to debug a servlet web app which simply seems impossible with this build.
Too bad; I would have liked to enjoy some of the numerous bug fixes, but until somebody finds out how to run and debug a Tomcat application, I will sick with 977 :(
Oops, that should have been "stick" (No, I'm not yet sick of 977!)
Regards,
Jens
I'm going back to 977.
I hope this webapp nightmare will end up soon. :(
Can you post it under jetbrains.intellij.eap.j2ee. This is where it should
really go. Don't ask me why I started posting those problems here. Must
have been the starvation after-effects. ; )
I still like 922, just not the web pieces.
"Robert S. Sfeir" <robert@codepuccino.com> wrote in message
news:18173714.1070948056031.JavaMail.javamailuser@localhost...
Modules. I can't believe that running functionality was pulled for this
busted stuff. I DO still maintain though that Web Modules are going in the
right direction.
>
modules, I ran into massive bugs, the last one which pretty much wiped me
out, and basically indicated to me that web modules are just not ready for
anything in 922, and that JSP debugging etc... seems to be officially busted
for this build.
>
own webroot? Can't start the app server without a context.
>
deployment settings for it. It shows up in red because presumably it's not
in the web module's classpath. That's lame, I added it to the web module
and it should remember it regardless of the class path. Furhter any
servlets you have setup in web.xml shows up in red unless some kind of funky
setup is in place where it can resolve everything including the source file
location.
>
I've added a java module called resources. in resources I have all the xml
and what not files which I need copied to WEB-INF. So I set the module name
and relative path to WEB-INF. When I run the make process, 2 things
happen/don't happen:
if I set a webmodule to have a content directory of resources, that the
files under resources are copied over.
>
resource module, then even more horrible things happen. you end up with:
>
again. All this starvation for nothing. I'll post my mini-tutorial in a
separate thread for when thigns start working. :-\
>
>
Norris, just as soon as the web modules start working, I will post a full mini-how to in the J2EE forum. I thought of that last night, but wasn't sure how many people look at it there. For now it got posted in EAP, but it doesn't work anyway, and Alexey has been kind enough to provide some feedback.
R