Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (19 sloc) 0.561 kB
@echo off
if "" == "%1" goto errorCreate
if "" == "%2" goto errorCreate
call ant -Dlayouttpl.name=%1 -Dlayouttpl.display.name=%2 create
cd %1-layouttpl
rem call ant deploy
cd ..
goto end
:errorCreate
echo.
echo Usage: create.bat hello-world "Hello World"
echo.
echo The first hello-world is your layouttpl id. A new directory will be created
echo based on the layouttpl id.
echo.
echo The second "Hello World" is the layouttpl's display name. The quotation marks
echo are only needed because there is a space in the display name.
goto end
:end
Jump to Line
Something went wrong with that request. Please try again.