Index: src/site/apt/guides/getting-started/index.apt
===================================================================
--- src/site/apt/guides/getting-started/index.apt	(revision 384031)
+++ src/site/apt/guides/getting-started/index.apt	(working copy)
@@ -136,6 +136,31 @@
  SCM URL looks like:
  <<<scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk>>>
 
+ To specify the shell script to be executed, click on the shell project and
+ click "Add" under the "Build Definitions" section. This script should <<at
+ least>> be able to run Maven.
+
+ Here is a sample batch script that calls <<<mvn.bat>>> in a Windows environment:
+
++--+ 
+@echo off
+
+cmd /C mvn.bat MAVEN PARAMETERS HERE
+if ERRORLEVEL 1 goto error
+goto end
+
+:error
+exit 1
+
+:end
+exit 0
++--+
+
+ The script executes Maven and obtains the exit code from it.  You may add
+ post-build tasks to the <<<:error>>> and/or <<<:end>>> sections provided they
+ are placed before the <<<exit>>> statements.  Pre-build tasks should be added
+ before the call to <<<mvn.bat>>>.
+
 Building Projects
 
 * Using the Web Interface

