[forge-issues] [JBoss JIRA] (FORGE-2460) support an easy way to eagerly load commands

James Strachan (JIRA) issues at jboss.org
Thu Aug 27 10:16:05 EDT 2015


    [ https://issues.jboss.org/browse/FORGE-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102760#comment-13102760 ] 

James Strachan commented on FORGE-2460:
---------------------------------------

Yeah - it still takes a while to 'really warm up' (e.g. for the New Project to load the archetypes and so forth. I found the only real way really warm it up (so that the first execution isn't really slow) is to try execute/validate each command.


> support an easy way to eagerly load commands
> --------------------------------------------
>
>                 Key: FORGE-2460
>                 URL: https://issues.jboss.org/browse/FORGE-2460
>             Project: Forge
>          Issue Type: Feature Request
>            Reporter: James Strachan
>
> It can take a little while for JBoss Forge to load commands. When using JBoss Forge on the server side it'd be great to just load all the commands into memory upfront so that if someone tries to use a command the web app is very responsive and doesn't hang for a few seconds.
> Right now I've been adding a few hacks to preload a few commands by hand by issuing dummy commands to validate commands to force them to activate and classload etc.
> I wonder is there a way we could do this generically? 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the forge-issues mailing list