There are a couple of ways.
First, in /orion/config/global-web-application.xml, do the following:
<orion-web-app <what ever else is here> development="true"
persistence-path="state.ser">
The development="true" makes sure it reloads any changes in classes that are
recompiled. Infact, I think if done properly you don't even have to
recompile the class..it figures out that the .java date and .class date are
different and recompiled the .java for you. Not sure if it does this though.
But I have had no problems in it picking up the changes.
Second, what I prefer, is to leave development="false" in place, and use ANT
to do all my builds. At the end of a target, I specifically tell it to touch
the META-INF/application.xml file. Orion automatically redploys your site
when this file is touched.
Not sure if you use the "EAR" type of setup, where you have configured the
orion server.xml to use your OWN application (and not the default one or
default web-site). I do this myself, and it makes it a little easier to
maintain. I don't like deploying any application or website as part of the
server-specific dir structure. Call me picky, but I prefer my own dir for my
projects, leaving the Orion dir the way it was when I unzipped it.
-----Original Message-----
From: Morten Gjetanger [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 12, 2001 11:20 AM
To: Orion-Interest
Subject: Automatic reloading of new class files.
I'm developing a site and I'm constantly editing and
changing many java files which lies under
./WEB-INF/classe/ . But everytime a make a litle
change in a class it seems like I have to restart the
orion server to make it use the new class file.
Is it some way to avoid this???
regards
Morten Gjetanger
______________________________________________________
Do You Yahoo!?
Organiser sammenkomsten p� http://no.invites.yahoo.com