[Opensource] logout x2
Michael Rimov
rimovm at centercomp.com
Sat Jun 15 22:22:10 PDT 2002
At 11:02 PM 6/14/2002 -0700, you wrote:
>I still get the logout x2 phenomena, so I assume it is a remaining issue
>in my environment. did you say you work w/ JBuilder too? do you use an
>ant "dist" target to a separate location to debug your servlets from
>JBuilder? i've been doing this:
Yes, I work with JBuilder, but it's JBuilder 4 pro. But here's what I do:
-Create a tomcat directory that I wish to work with. [Completely outside
of my project area.]
-Create the webapp that I want to work with, and copy over the web.xml, and
'expresso' ie web pages directories into this new webapp.
-Copy all the jars to the new webapp's WEB-INF/lib
-Set JBuilder's classpath to include all jars in that WEB-INF/lib directory
-Set JBuilder to compile all output to the WEB-INF/classes.
I actually don't use ANT for compiling normal day-to-day work. I do have
ANTRUNNER integrated into my environment and I use it to build javadocs,
xmldocs, etc. But other than that I just have the IDE compile
straight. It's pretty fast on my machine too... I'm running about 14-17
seconds for a complete Expresso rebuild. [Granted, I've got a faster
machine than most :)]
>this has the downside of non-java files getting stale if I neglect to
>re-run the dist target.
By doing it the way I'm talking about, JBuilder will also automatically
copy over all properties files. Perhaps they fixed the bug by now where it
wouldn't copy xml files. dunno...
HTH!
-Mike
More information about the Opensource
mailing list