[hibernate-issues] [Hibernate-JIRA] Updated: (HBX-1169) 3.2.4 fix broke non file based schemaupdate
Dmitry Geraskov (JIRA)
noreply at atlassian.com
Mon Jan 17 07:17:05 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list