Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (20 sloc) 694 Bytes
#set -x
if [ -z "$1" ]; then
echo Usage: ./ hello-world \"Hello World\"
echo The first hello-world is your portlet id. A new directory will be created based
echo on the portlet id.
echo The second \"Hello World\" is the portlet\'s display name. The quotation marks are
echo only needed because there is a space in the display name.
echo A third value can be passed to specify the portlet framework to use. Valid
echo values are "mvc", "jsf", or "vaadin". The default value is "mvc". The quotation
echo marks are not needed.
exit 127
ant$1\"$2\" -Dportlet.framework=$3 create
#ant deploy
exit 0
Something went wrong with that request. Please try again.