diff --git a/ant/docs/examples/5-minute-tutorial/.gitignore b/ant/docs/examples/5-minute-tutorial/.gitignore new file mode 100644 index 0000000000..7dee095418 --- /dev/null +++ b/ant/docs/examples/5-minute-tutorial/.gitignore @@ -0,0 +1 @@ +generated-sources \ No newline at end of file diff --git a/ant/docs/examples/5-minute-tutorial/README.md b/ant/docs/examples/5-minute-tutorial/README.md new file mode 100644 index 0000000000..75c9259295 --- /dev/null +++ b/ant/docs/examples/5-minute-tutorial/README.md @@ -0,0 +1,4 @@ +To run this example: + - Have [Apache Ant](https://ant.apache.org) installed + - Have [H2 Sakila database](https://github.com/koentsje/sakila-h2) running + - Issue `ant reveng` from a command-line window \ 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 new file mode 100644 index 0000000000..273e565fe6 --- /dev/null +++ b/ant/docs/examples/5-minute-tutorial/build.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ant/docs/examples/5-minute-tutorial/hibernate.properties b/ant/docs/examples/5-minute-tutorial/hibernate.properties new file mode 100644 index 0000000000..e51f13fc1c --- /dev/null +++ b/ant/docs/examples/5-minute-tutorial/hibernate.properties @@ -0,0 +1,6 @@ +hibernate.connection.driver_class=org.h2.Driver +hibernate.connection.url=jdbc:h2:tcp://localhost/./sakila +hibernate.connection.username=sa +hibernate.default_catalog=SAKILA +hibernate.default_schema=PUBLIC +