incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Neumeyer (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (S4-38) S4 command line utility
Date Tue, 10 Jan 2012 18:22:39 GMT

    [ https://issues.apache.org/jira/browse/S4-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183441#comment-13183441
] 

Leo Neumeyer commented on S4-38:
--------------------------------

Put a skeleton copied from the Play! Framework here: 
https://github.com/leoneu/s4-command

Here is the list of Play commands. I put a star to the ones that are applicable to S4. (We
don't necessarily need to support all of them but it matches pretty well with what we need.)

~ Core commands:
~ ~~~~~~~~~~~~~~
~ antify          Create a build.xml file for this project *
~ auto-test       Automatically run all application tests *
~ build-module    Build and package a module
~ check           Check for a release newer than the current one *
~ classpath       Display the computed classpath *
~ clean           Delete temporary files (including the bytecode cache) *
~ dependencies    Resolve and retrieve project dependencies *
~ eclipsify       Create all Eclipse configuration files *
~ evolutions      Run the evolution check
~ evolutions:applyAutomatically apply pending evolutions
~ evolutions:markAppliedMark pending evolutions as manually applied
~ evolutions:resolveResolve partially applied evolution
~ help            Display help on a specific command *
~ id              Define the framework ID *
~ idealize        Create all IntelliJ Idea configuration files *
~ install         Install a module
~ javadoc         Generate your application Javadoc *
~ list-modules    List modules available from the central modules repository
~ modules         Display the computed modules list 
~ netbeansify     Create all NetBeans configuration files *
~ new             Create a new application *
~ new-module      Create a module
~ out             Follow logs/system.out file *
~ pid             Show the PID of the running application *
~ precompile      Precompile all Java sources and templates to speed up application start-up
~ restart         Restart the running application *
~ run             Run the application in the current shell *
~ secret          Generate a new secret key *
~ start           Start the application in the background *
~ status          Display the running application's status *
~ stop            Stop the running application *
~ test            Run the application in test mode in the current shell *
~ version         Print the framework version *
~ war             Export the application as a standalone WAR archive * (as an s4r)


                
> S4 command line utility
> -----------------------
>
>                 Key: S4-38
>                 URL: https://issues.apache.org/jira/browse/S4-38
>             Project: Apache S4
>          Issue Type: New Feature
>    Affects Versions: 0.5
>            Reporter: Leo Neumeyer
>
> I'd like to propose that we provide a command line utility similar to play in Play! Framework.
The idea is to implement various common function using a single utility program. Examples:
> {code}
> > s4 build // builds an app
> > s4 load // loads an app to the cluster.
> > s4 unload // stops and unloads an app from the cluster
> > s4 stats // provide stats about a running cluster
> {code}
> We can start by modifying the Play script which is under Apache license.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message