diff --git a/ant/docs/examples/5-minute-tutorial/.gitignore b/ant/docs/examples/5-minute-tutorial/.gitignore
index 616fc09000..f0d0d27a51 100644
--- a/ant/docs/examples/5-minute-tutorial/.gitignore
+++ b/ant/docs/examples/5-minute-tutorial/.gitignore
@@ -15,4 +15,4 @@
# See the License for the specific language governing permissions and #
# limitations under the License. #
############################################################################
-generated-sources
\ No newline at end of file
+generated
\ No newline at end of file
diff --git a/ant/docs/examples/5-minute-tutorial/build.xml b/ant/docs/examples/5-minute-tutorial/build.xml
index 4a502d8dfa..cc45b3bfea 100644
--- a/ant/docs/examples/5-minute-tutorial/build.xml
+++ b/ant/docs/examples/5-minute-tutorial/build.xml
@@ -20,12 +20,12 @@
-
+
-
+
diff --git a/ant/docs/examples/configuration/.gitignore b/ant/docs/examples/configuration/.gitignore
index 616fc09000..f0d0d27a51 100644
--- a/ant/docs/examples/configuration/.gitignore
+++ b/ant/docs/examples/configuration/.gitignore
@@ -15,4 +15,4 @@
# See the License for the specific language governing permissions and #
# limitations under the License. #
############################################################################
-generated-sources
\ No newline at end of file
+generated
\ No newline at end of file
diff --git a/ant/docs/examples/configuration/build.xml b/ant/docs/examples/configuration/build.xml
index 7b559a7520..15849060cd 100644
--- a/ant/docs/examples/configuration/build.xml
+++ b/ant/docs/examples/configuration/build.xml
@@ -20,11 +20,11 @@
-
+
-
+
diff --git a/ant/docs/examples/native/.gitignore b/ant/docs/examples/native/.gitignore
index a1cad39afa..e855f87669 100644
--- a/ant/docs/examples/native/.gitignore
+++ b/ant/docs/examples/native/.gitignore
@@ -15,5 +15,5 @@
# See the License for the specific language governing permissions and #
# limitations under the License. #
############################################################################
-generated-sources
+generated
*.class
\ No newline at end of file
diff --git a/ant/docs/examples/native/build.xml b/ant/docs/examples/native/build.xml
index 57b99162a8..61cd3dcb3b 100644
--- a/ant/docs/examples/native/build.xml
+++ b/ant/docs/examples/native/build.xml
@@ -20,7 +20,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
diff --git a/ant/docs/examples/templatepath/.gitignore b/ant/docs/examples/templatepath/.gitignore
index 616fc09000..f0d0d27a51 100644
--- a/ant/docs/examples/templatepath/.gitignore
+++ b/ant/docs/examples/templatepath/.gitignore
@@ -15,4 +15,4 @@
# See the License for the specific language governing permissions and #
# limitations under the License. #
############################################################################
-generated-sources
\ No newline at end of file
+generated
\ No newline at end of file
diff --git a/ant/docs/examples/templatepath/build.xml b/ant/docs/examples/templatepath/build.xml
index 51ecce035a..d9c063d9c2 100644
--- a/ant/docs/examples/templatepath/build.xml
+++ b/ant/docs/examples/templatepath/build.xml
@@ -20,13 +20,13 @@
-
+