Ah - this is just a configuration issue with IDEA.
For development with IDEA, I created a regular java module - not a
web module. I then set the dest for the compiled classes to my WEB-
INF/classes.
So my Project layout:
~/Projects/MyProject
~/Projects/MyProject/app
~/Projects/MyProject/app/WEB-INF
~/Projects/MyProject/app/WEB-INF/lib
~/Projects/MyProject//app/WEB-INF/classes (have idea put generated
classes here)
~/Projects/MyProject/app/WEB-INF/pages
etc.
I set the path to my webapp in context file under conf/Catalina/
localhost/
ROOT.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context path="" docBase="/Users/rcuprak/Projects/MyProject/app" ...
To debug my app with IDEA, I start tomcat using catalina.sh jpda
start and connect using IDEA remotely.
Tomcat usually detects my changes to classes file and reloads them.
Hope that helps!
-Ryan
On Sep 18, 2006, at 2:14 PM, Kevin Menard wrote:
Ryan Cuprak wrote:
Hello,
Have you tried:
export JAVA_OPTS="-Dorg.apache.tapestry.disable-caching=true"
(then start tomcat)
This disables page caching so that you can see changes immediately.
Heh, I figured someone was going to mention this. Yes, I have that
option enabled. The "problem" is that IDEA has to work out of an
exploded directory, as far as I can tell. So, changes to my
"context" directory (contains all template & page files) don't get
copied over until I build. Note, that I don't have to redeploy the
Web app, since the caching is disabled, but I do need a way to
update the files in that exploded directory. Perhaps I just have
my project laid out oddly -- I did start with a Spindle template.
--
Kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]