Re: Problem with development cycle (5.5.9)

2005-07-11 Thread Carlos A. Carnero Delgado
Hello Robert,

On 7/8/05, Robert Parsons [EMAIL PROTECTED] wrote:
 Hi Carlos,
 
 I had exactly the same problem as you. To fix it I put
 a 'context.xml'...

yup, that works. I don't like the fact that I lose directory
independence since now the build directory is hardwired but it's
definitely a step in the right direction.

Thanks a million,
Carlos.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with development cycle (5.5.9)

2005-07-08 Thread Carlos A. Carnero Delgado
Hello,

I've been developing on the 4.x series and the 5.0.x series for a
while, using more or less the Jakarta suggested Ant build.xml script
and their source organization (I think it's a de facto standard along
with Blueprint's.) Anyway, I started testing a new workflow using
J2SDK 5 and the latest 5.5.9 for a new project I'm supposed to start
soon. I have made the simplest web application consisting of one JSP
and one servlet. But I have (a hopefully simple) problem.

If I install (deploy) the application using Ant, it will do so, but
not like the old days: it will make the deployment is Tomcat's webapps
directory. My previous Tomcat experience is that an application will
be deployed directly from the build directory, making easy the
build/reload/edit development cycle. Now, with 5.5.9, I have to
re-deploy and restart Tomcat.

What I'm I doing wrong? I realize that Tomcat is doing exactly what's
told to do, but I'd like the old behavior: deploying from my
development build directory.

Best regards,
Carlos.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.5.4 fails to recompile JSPs

2004-11-26 Thread Carlos A. Carnero Delgado
Hello,

On Thu, 25 Nov 2004 09:19:15 -, Allistair Crossley
[EMAIL PROTECTED] wrote:
 to me it sounds like you are compiling your jsps without a reloadable 
 context. have you set reloadable=true on your Context .. element?

nope, doesn't work. AFAIK, that's only for servlets. Right?

Regards,
Carlos.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.5.4 fails to recompile JSPs

2004-11-24 Thread Carlos A. Carnero Delgado
Hello,

I just upgraded my test development box to Tomcat 5.5.4 and Sun's JDK
1.5.0. I just created a simple (the simplest?) web application to test
things out. I always go the Ant route (with Tomcat's documentation
sample build.xml) and everything went smoothly.

Except reloading JSPs. In the past, if I changed a JSP file in the
source directory and then issued an ant compile (or just ant) it
would put the just changed file into the build directory, which
would be picked and recompiled by Tomcat at once (provided, of course,
that the app was deployed.)

Now, I can't do that with this new setup. Obviously, I'm missing
something very simple, but I have searched high and low but found no
answer.

Not even reloading the application pick the changes up. Undeploying
and redeploying does the trick. What am I doing wrong?

Best regards,
Carlos.

Tomcat 5.5.4/JDK 1.5.0/Windows XP development box.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]