8000 HBX-2984: Create Reference Guide for Ant · hibernate/hibernate-tools@e499bb2 · GitHub
[go: up one dir, main page]

Skip to content

Commit e499bb2

Browse files
committed
HBX-2984: Create Reference Guide for Ant
- Reorganize examples: rename output folder from 'generated-sources' to 'generated' Signed-off-by: Koen Aers <koen.aers@gmail.com>
1 parent 82788b1 commit e499bb2

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

ant/docs/examples/5-minute-tutorial/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# See the License for the specific language governing permissions and #
1616
# limitations under the License. #
1717
############################################################################
18-
generated-sources
18+
generated

ant/docs/examples/5-minute-tutorial/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121
<target name="clean">
2222
<!-- Delete the folder 'generated-sources' if it exists -->
23-
<delete dir="generated-sources"/>
23+
<delete dir="generated"/>
2424
</target>
2525

2626
<target name="reveng" depends="clean">
2727
<!-- Generation of the artefacts in folder 'generated-sources' -->
28-
<hibernatetool destdir="generated-sources">
28+
<hibernatetool destdir="generated">
2929
<!-- JDBC Configuration with properties in file '../common/hibernate.properties' -->
3030
<jdbcconfiguration propertyfile="../common/hibernate.properties" />
3131
<!-- The Java file exporter -->

ant/docs/examples/configuration/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# See the License for the specific language governing permissions and #
1616
# limitations under the License. #
1717
############################################################################
18-
generated-sources
18+
generated

ant/docs/examples/configuration/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
<target name="clean">
2222
<!-- Delete the folder 'generated-sources' if it exists -->
23-
<delete dir="generated-sources"/>
23+
<delete dir="generated"/>
2424
</target>
2525

2626
<target name="reveng" depends="clean">
27-
<hibernatetool destdir="generated-sources">
27+
<hibernatetool destdir="generated">
2828
<!-- Native configuration reading properties from '../common/hibernate.properties' -->
2929
<configuration propertyfile="../common/hibernate.properties"/>
3030
<!-- Transform the 'hibernate.properties' file in 'hibernate.cfg.xml' -->

ant/docs/examples/native/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
# See the License for the specific language governing permissions and #
1616
# limitations under the License. #
1717
############################################################################
18-
generated-sources
18+
generated
1919
*.class

ant/docs/examples/native/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<target name="clean">
2222
<!-- Delete the folder 'generated-sources' if it exists -->
23-
<delete dir="generated-sources"/>
23+
<delete dir="generated"/>
2424
<delete file="Foo.class"/>
2525
</target>
2626

@@ -30,7 +30,7 @@
3030
</target>
3131

3232
<target name="reveng" depends="compile">
33-
<hibernatetool destdir="generated-sources">
33+
<hibernatetool destdir="generated">
3434
<classpath location="."/>
3535
<!-- Native configuration read from 'hibernate.cfg.xml' -->
3636
<configuration configurationfile="hibernate.cfg.xml"/>

ant/docs/examples/templatepath/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# See the License for the specific language governing permissions and #
1616
# limitations under the License. #
1717
############################################################################
18-
generated-sources
18+
generated

ant/docs/examples/templatepath/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020

2121
<target name="clean">
2222
<!-- Delete the folder 'generated-sources' if it exists -->
23-
<delete dir="generated-sources"/>
23+
<delete dir="generated"/>
2424
</target>
2525

2626
<target name="reveng" depends="clean">
2727
<!-- Hibernate Tools will look for templates to use in the 'templates' folder -->
2828
<hibernatetool
29-
destdir="generated-sources"
29+
destdir="generated"
3030
templatepath="templates">
3131
<jdbcconfiguration propertyfile="../common/hibernate.properties" />
3232
<!-- The main template file used by the Java exporter is to be found in the location 'pojo/Pojo.ftl' -->

0 commit comments

Comments
 (0)
0