Hi!
Daniel Schulze wrote:
> AutoDeployer
> -----------------
> on startService(): try to deploy all watched urls, but only if
> J2eeDeployer.isDeployed() returns false for this url
>
> during live time: when timestamp of watched url changes call
> J2eeDeployer, regardless if already deployed or not
>
> on stopService(): nothing
>
> before I start with that I would appreciate to get _any_ comments :-)
The problem with the above is the following sequence:
* start jBoss
* auto deploy app
* stop jBoss
* update app
* start jBoss
At this point the app should be redeployed, but isn't since the auto
deployer asks the J2EE deployer if it is deployed already, which it is.
Hm... maybe the AutoDeployer should store the list of deployments with
last modified timestamps. That would work! Then it could just read it
back up when it is restarted and see if the timestamp has changed or
not!
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com