[jboss-jira] [JBoss JIRA] (AS7-2276) Scripts usability: --help option need not start Java
Brian Stansberry (Updated) (JIRA)
jira-events at lists.jboss.org
Tue Nov 1 15:44:46 EDT 2011
[ https://issues.jboss.org/browse/AS7-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated AS7-2276:
----------------------------------
Assignee: (was: Brian Stansberry)
Fix Version/s: Open To Community
> Scripts usability: --help option need not start Java
> ----------------------------------------------------
>
> Key: AS7-2276
> URL: https://issues.jboss.org/browse/AS7-2276
> Project: Application Server 7
> Issue Type: Bug
> Components: Scripts
> Affects Versions: 7.1.0.Alpha1
> Environment: all
> Reporter: Radoslav Husar
> Labels: eap6-ux
> Fix For: Open To Community
>
>
> It is not necessary to start a JVM to print out raw text on the console. This could be easily handled by the script and print the options in a clean and fast way.
> {code}
> [rhusar at rhusar jboss-as-7.0.2.Final]$ time ./bin/standalone.sh --help
> =========================================================================
> JBoss Bootstrap Environment
> JBOSS_HOME: /home/rhusar/Download/jboss-as-7.0.2.Final
> JAVA: /home/rhusar/tools/jdk1.6.0/bin/java
> JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
> =========================================================================
> 10:36:43,613 INFO [org.jboss.modules] JBoss Modules version 1.0.2.GA
> 10:36:43,965 INFO [stdout] Usage: ./standalone.sh [args...]
> 10:36:43,966 INFO [stdout]
> 10:36:43,968 INFO [stdout] where args include:
> 10:36:43,968 INFO [stdout] -b=<value> Set system property jboss.bind.address to the given value
> 10:36:43,969 INFO [stdout] -b <value> Set system property jboss.bind.address to the given value
> 10:36:43,969 INFO [stdout] -b<interface>=<value> Set system property jboss.bind.address.<interface> to the given value
> 10:36:43,969 INFO [stdout] -D<name>[=<value>] Set a system property
> 10:36:43,970 INFO [stdout] -h Display this message and exit
> 10:36:43,970 INFO [stdout] --help Display this message and exit
> 10:36:43,970 INFO [stdout] -P=<url> Load system properties from the given url
> 10:36:43,970 INFO [stdout] -P <url> Load system properties from the given url
> 10:36:43,971 INFO [stdout] --properties=<url> Load system properties from the given url
> 10:36:43,972 INFO [stdout] --server-config=<config> Name of the server configuration file to use (default is "standalone.xml")
> 10:36:43,972 INFO [stdout] -V Print version and exit
> 10:36:43,972 INFO [stdout] -v Print version and exit
> 10:36:43,973 INFO [stdout] --version Print version and exit
> 10:36:43,973 INFO [stdout]
> real 0m1.071s
> user 0m0.718s
> sys 0m0.077s
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list