Commit Graph

56 Commits

Author SHA1 Message Date
Mark Pollack
c725de06f7 SHL-45 - Add Apache 2.0 licence header to all files. 2012-07-16 16:33:29 -04:00
Mark Pollack
472b93777f SHL-42 - Refactor package name to remove reference to roo 2012-07-14 13:34:25 -04:00
Mark Pollack
5a941fc4be SHL-44 - Diagonalize DSM matrix 2012-07-14 08:31:25 -04:00
Mark Pollack
9ceb0e8618 SHL-41 - Improve error handling for command line options when staring shell
SHL-39 - Remove NAPA specific environment option, replce with Spring 3.1 profile support
2012-07-12 14:34:42 -04:00
Costin Leau
d825aaeb41 extend processor with after returning/throwing
SHL-40
2012-07-12 20:45:24 +03:00
Costin Leau
0ae6edba37 add basic pre/post processing aka poor man's AOP
SHL-40
2012-07-12 20:28:18 +03:00
Mark Pollack
873e12a9ac SHL-35 - Improve the parsing command line options to gracefully handle invalid values. 2012-07-12 13:02:40 -04:00
Costin Leau
ac33f37e6f fix start-up loop
remove thread.sleep with proper methods
disable logging (seems to be broken on JDK 1.6.0_18 or higher)
some code cleanup
add debugging instructions for Eclipse
2012-07-12 11:01:17 +03:00
Costin Leau
3f0f29fd00 small updates from with Roo 1.2.0 2012-07-12 10:23:53 +03:00
Costin Leau
94f6e24608 add impl for findResources 2012-07-11 17:57:21 +03:00
Costin Leau
10c9a11e01 add log init + code and typos cleanup 2012-07-11 17:57:01 +03:00
Costin Leau
6f6e673b00 update Version class 2012-07-11 17:51:04 +03:00
Costin Leau
1eb9eea52f remove useless method 2012-07-11 17:50:50 +03:00
Costin Leau
011b614c63 code cleanup
remove non-Javadoc
eliminate useless constants interface
add some javadocs
2012-07-11 14:36:45 +03:00
Costin Leau
4ace694265 replace VersionUtils with a platform-agnostic impl 2012-07-11 14:25:12 +03:00
Jarred Li
befa5f12c5 fix history issue 2012-05-31 13:17:44 +08:00
abhishek
cbe61e1d6f SHL-32 - Sub-classes of AbstractShell should be able to handle results
of execution as required.

Added a protected method handleExecutionResult() which is called from
executeCommand() to handle the result if the result is not of a type
'ExitShellRequest'.
handleExecutionResult() can be over-ridden by sub-classes if a different
behavior is desired.
2012-05-29 14:25:37 +05:30
abhishek
91056b82a6 SHL-31 - Move providers' code & ApplicationContext to
JLineShellComponent from JLineShell.

Added hooks in JLineShell for sub-classes for Product Name, Version,
History File, Prompt Text.
2012-05-29 12:21:38 +05:30
Jarred Li
2e6d54049b typo 2012-05-24 17:23:36 +08:00
Jarred Li
d329586a80 customize console titile 2012-05-24 13:56:42 +08:00
Jarred Li
4dca0cbcd3 Merge branch 'master' of github.com:SpringSource/spring-shell 2012-05-21 17:15:28 +08:00
Jarred Li
d41493274b support run OS commands 2012-05-21 17:14:44 +08:00
abhishek
f94dc11979 A change that was missed in 4052eb8235.
It is a fix to 'Print only the message contained in the record when the message length is less than the buffer length.'
2012-05-02 13:09:59 +05:30
abhishek
cc42ad5e79 SHL-4, sub-classes of JlineShell can access ConsoleReader and can also provide a ConsoleReader instance. 2012-04-27 21:39:00 +05:30
abhishek
80d5bc7383 Make ANSIBuffer create method public. 2012-04-27 20:10:09 +05:30
abhishek
4052eb8235 Print only the message contained in the record when the message length is less than the buffer length. 2012-04-27 20:06:32 +05:30
Jarred Li
cdf665e4f1 update parser to accept specifiedDefaultValue in the option 2012-04-26 15:20:38 +08:00
Jarred Li
898fd18044 update UT 2012-04-24 15:38:54 +08:00
Jarred Li
97f4c80a45 SHL-24, hint for optional parameters 2012-04-24 15:20:59 +08:00
Jarred Li
a5932f649f change code for hisitory size 2012-04-15 12:39:50 +08:00
Jarred Li
a150e1ba57 change time local as JANSI does not support GBK 2012-04-15 12:23:25 +08:00
Jarred Li
a628c46ab0 update history size 2012-04-15 12:08:21 +08:00
Jarred Li
c59891e26e change code to read history 2012-04-15 11:52:31 +08:00
Jarred Li
74d872bbb5 SHL-21 update hint message 2012-04-15 09:18:49 +08:00
Jarred Li
d8ec63e26e update hint message for mandatory options 2012-04-14 16:06:37 +08:00
Jarred Li
e2c8d1a4d6 SHL-20, SHL-21, change console message 2012-04-14 14:16:14 +08:00
Jarred Li
f12f986e1f limit history commands size 2012-04-14 11:43:01 +08:00
Jarred Li
5dca1a102a SHl-22 limit history size, remove dead code 2012-04-14 09:24:34 +08:00
Jarred Li
16610f1627 refactor plugin, add Order annoaton support 2012-04-13 15:39:01 +08:00
Jarred Li
5d8a8d9c46 plugins customizing is intialized once at start 2012-04-13 14:43:21 +08:00
Jarred Li
01f8037231 move shell thread from Bootstrap to JLineShellComponent 2012-04-13 13:14:08 +08:00
Jarred Li
34e4c23e1f refactor code per Mark comments, remove some system commands per Jun comments. 2012-04-13 12:11:20 +08:00
Jarred Li
270c6d1e17 Hide log4j warning 2012-04-12 17:07:09 +08:00
Jarred Li
11fe9f5918 SHL-17 customize welcome message 2012-04-12 17:00:41 +08:00
Jarred Li
2b05b13db6 SHL-11 customie banner 2012-04-12 16:05:34 +08:00
Jarred Li
cb7f85b9b6 SHL-16 exit with twice enter 2012-04-12 15:02:27 +08:00
Jarred Li
db68586afd SHL-12 customize prompt text 2012-04-12 12:08:36 +08:00
Jarred Li
956d72ee28 add history file name example 2012-04-11 06:03:03 -07:00
Jarred Li
e6e201e390 SHL-13 customize history file 2012-04-11 18:04:23 +08:00
Jarred Li
c27eeeab88 SHL-15 change plugin module by using XML 2012-04-11 15:15:57 +08:00