Skip to content

Commit e1c6af3

Browse files
committed
HBX-2984: Create Reference Guide for Ant
- Some additional comments added to 'ant/docs/examples/native/build.xml' - Remove unneeded comments from 'ant/docs/examples/native/Foo.java' Signed-off-by: Koen Aers <[email protected]>
1 parent f4d36eb commit e1c6af3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ant/docs/examples/native/Foo.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
//
2-
// Source code recreated from a .class file by IntelliJ IDEA
3-
// (powered by FernFlower decompiler)
4-
//
51
public class Foo {
62

73
public int id;

ant/docs/examples/native/build.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@
2222
<hibernatetool destdir="generated">
2323
<classpath location="."/>
2424
<!-- Native configuration read from 'hibernate.cfg.xml' -->
25+
<!-- Additional properties defined in 'hibernate.properties' -->
2526
<configuration
2627
configurationfile="hibernate.cfg.xml"
2728
propertyfile="hibernate.properties">
29+
<!-- Additional files to add to the configuration -->
2830
<fileset file="Foo.hbm.xml"/>
2931
</configuration>
32+
<!-- Export the DDL file as an example use of the native configuration above -->
3033
<hbm2ddl outputfilename="foo.sql"/>
3134
</hibernatetool>
3235

0 commit comments

Comments
 (0)