You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Adrian A. (JIRA)" <ji...@apache.org> on 2010/02/22 13:54:28 UTC
[jira] Closed: (CLK-523) Add a click.xml "deployed" setting.
[ https://issues.apache.org/jira/browse/CLK-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian A. closed CLK-523.
-------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
It looks like this is already implemented for GAE/J and there's also an ANT task for it org.apache.click.tools.deploy.DeployTask
> Add a click.xml "deployed" setting.
> -----------------------------------
>
> Key: CLK-523
> URL: https://issues.apache.org/jira/browse/CLK-523
> Project: Click
> Issue Type: New Feature
> Components: core
> Reporter: Adrian A.
> Fix For: 2.1.0
>
>
> Please add a new setting to click.xml called "deployed", with the default behavior of false (so that would behave like click is working now).
> When deployed=true, click would not call "onDeploy" methods at all (as it should consider that everything is in its place in the production system).
> Why would this feature be important?:
> - it would allow Click to run in more restricted environments (like replicated servers) where writing to files is forbidden
> - it would be much faster to start (last time I checked, the deploy phase took most of the time) - this would be important in production mode too, where web application instances can be hibernated.
> (- with this setting Click could score better in benchmarks compared to other frameworks)
> A simple ANT task could "pre-deploy" everything (e.g. by just starting the application once locally to have click put it's files where they're needed) before packaging everything as a WAR for sending it to the servers.
> Thank you.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.