This content has been marked as final.
Show 2 replies
-
1. Re: Server-side commands
ssilvert Feb 6, 2013 9:10 AM (in response to ansur)If you are using JSF or you don't mind adding a JSF Facelet to your WAR, you can use the cli-resolver. This is a project that is in its early stages, but it works quite well and I have a demo that does lots of things with deployments. It sounds like the kind of thing you are looking for.
Resolver: https://github.com/ssilvert/cli-resolver
Demo: https://github.com/ssilvert/diycdemo
If you don't want to use JSF then you can look at the cli-resolver code and see how it uses CLI to execute commands on the server side. The resolver itself is only three classes.
Stan
-
2. Re: Server-side commands
ansur Feb 6, 2013 9:32 AM (in response to ssilvert)I would be using it from within an EAR, but looking at the code it gives me exactly what I need. Thanks!