We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64240f3 commit 0bdc7f9Copy full SHA for 0bdc7f9
ant/src/it/java/org/hibernate/tool/ant/ExamplesTestIT.java
@@ -73,6 +73,17 @@ public void testConfiguration() throws Exception {
73
assertTrue(cfgXmlFile.exists());
74
}
75
76
+ @Test
77
+ public void testJpa() throws Exception {
78
+ File buildFile = new File(baseFolder, "jpa/build.xml");
79
+ Project project = createProject(buildFile);
80
+ assertNotNull(project);
81
+ File barSqlFile = new File(baseFolder, "jpa/generated/bar.sql");
82
+ assertFalse(barSqlFile.exists());
83
+ project.executeTarget("reveng");
84
+ assertTrue(barSqlFile.exists());
85
+ }
86
+
87
private Project createProject(File buildXmlFile) throws Exception {
88
Project result = new Project();
89
ProjectHelper projectHelper = ProjectHelper.getProjectHelper();
0 commit comments