From 0c0765d3dc8b03875406eac479c8b207c3aff34e Mon Sep 17 00:00:00 2001 From: Koen Aers Date: Thu, 8 May 2025 16:41:29 +0200 Subject: [PATCH] HBX-2984: Create Reference Guide for Ant - Add an example for the 'property' and 'propertySet' configurations Signed-off-by: Koen Aers --- ant/docs/examples/classpath/build.xml | 2 +- ant/docs/examples/common/included.xml | 1 + ant/docs/examples/properties/.gitignore | 18 +++++ .../examples/properties/HelloExporter.java | 40 +++++++++++ ant/docs/examples/properties/README.md | 18 +++++ ant/docs/examples/properties/build.xml | 66 +++++++++++++++++++ ant/docs/reference-guide.md | 12 ++++ 7 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 ant/docs/examples/properties/.gitignore create mode 100644 ant/docs/examples/properties/HelloExporter.java create mode 100644 ant/docs/examples/properties/README.md create mode 100644 ant/docs/examples/properties/build.xml diff --git a/ant/docs/examples/classpath/build.xml b/ant/docs/examples/classpath/build.xml index 6b575617a6..3437276de1 100644 --- a/ant/docs/examples/classpath/build.xml +++ b/ant/docs/examples/classpath/build.xml @@ -34,7 +34,7 @@ - + diff --git a/ant/docs/examples/common/included.xml b/ant/docs/examples/common/included.xml index 9275c11972..0c60f45216 100644 --- a/ant/docs/examples/common/included.xml +++ b/ant/docs/examples/common/included.xml @@ -36,6 +36,7 @@ + +To run this example: + - Have [Apache Ant](https://ant.apache.org) installed + - Issue `ant` from a command-line window \ No newline at end of file diff --git a/ant/docs/examples/properties/build.xml b/ant/docs/examples/properties/build.xml new file mode 100644 index 0000000000..0656e40b25 --- /dev/null +++ b/ant/docs/examples/properties/build.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ant/docs/reference-guide.md b/ant/docs/reference-guide.md index 7a3872c9bf..b5e4b5b717 100644 --- a/ant/docs/reference-guide.md +++ b/ant/docs/reference-guide.md @@ -123,6 +123,18 @@ for classes and/or resources that are used e.g. by the configured exporters. All the usual configuration possibilities for [Ant path-like structures](https://ant.apache.org/manual/using.html#path) are applicable. +### 1.2.4 The `` and `` elements + + + +### 1.2.5 The Configuration Elements + + + +### 1.2.6 The Exporter Elements + + + ## 2. The Hibernate Tools Configurations The reverse engineering and generation of artefacts with Hibernate Tools is based on a