Rick,

Thanks for that will look into the class reloadable aspect of Tomcat.

What is the best ant command to compile only my changes to my actions
and screens so I don't affect the databases aspect of the application?

Also when I modify a 'src' file do I need to delete the equivalent class
file for the change to take place or are all the class files just
replaced every time you re-compile?

Thanks for your help.

Regards,

Stuart Townhill.

-----Original Message-----
From: peter riegersperger [mailto:[EMAIL PROTECTED]] 
Sent: 09 February 2003 12:14
To: Turbine Users List
Subject: Re: Create Compile Test Sequence?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 09 February 2003 12:49, Stuart Townhill wrote:
[...]
> The problem is that I tired many different things but with no success,
I
> took a break and when I came back to try again it suddenly worked, so
my
> question is what do you have to-do to get your changes acknowledged at
> the web front end.

check your server.xml in tomcat_home/conf.
if the context of your turbine app has
reloadable="true"
set, you just need to compile your modified classes. if you start tomcat
with 
bin/catalina.sh run (what i suggest for debugging), you will see that
turbine 
reloads all modified classes.

> I am guessing it could be because Tomcat was shutdown the restarted?

see above.

> AND/OR
> When altering your screens/actions do you have to delete the
equivalent
> class files and re-run 'ant init' or just run 'ant-init' and not
delete
> the old files to get the changes acknowledged?

_don't_ do that if you just changed some screens. this task will drop
all of 
your tables!
also, the ant init is for the torque objects, as far as i can tell, it
does 
not affect turbine directly (of course, if your torque objects change, 
turbine is affected).

> AND/OR
> Does having the MySql shell open at the same time affect the websites
in
> anyway?

i doubt that.

so far, i've just built one app with turbine, but the reloading of
changed 
java classes never was a problem. are you sure that the html-pages are
not in 
your browser cache?

rick


- -- 
|-
| peter riegersperger  <[EMAIL PROTECTED]>
|-
| ein windows switcher tagebuch:
| http://forum.subnet.at/viewforum.php?f=22
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+RkYXIMP39JYOy9IRAiGLAKDTtHxMyMUKJh5OxKlnap0MTVbNRACgpQEA
0TDRQqDKGanOGiv8w2t8/jE=
=UD2c
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
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]

Reply via email to