[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1169?page=c...
]
Dmitry Geraskov updated HBX-1169:
---------------------------------
Attachment: HBX-1169.patch
The fix is pretty simple, just added null check for outputfile parameter.
SchemaExportTask had the same problem.
Patch fixes the problem.
3.2.4 fix broke non file based schemaupdate
-------------------------------------------
Key: HBX-1169
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1169
Project: Hibernate Tools
Issue Type: Bug
Components: ant
Affects Versions: 3.2.4 Beta1
Reporter: Max Rydahl Andersen
Assignee: Anthony Patricio
Fix For: 3.2.4.GA
Attachments: HBX-1169.patch
HBX-757 broke the following ant where no outputfile is specified to just have it on the
console output:
<schemaupdate quiet="false" text="false">
<fileset dir="../test" id="id">
<include name="**/*TopDown.hbm.xml" />
</fileset>
</schemaupdate>
this results in a NPE.
Now you have to add a bogus outputfile="notused.txt" to avoid the NPE but you
now have a notused.txt file:
<schemaupdate quiet="false" text="false"
outputfile="notused.txt" >
<fileset dir="../test" id="id">
<include name="**/*TopDown.hbm.xml" />
</fileset>
</schemaupdate>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira