[ http://issues.apache.org/jira/browse/DDLUTILS-90?page=all ]
Thomas Dudziak resolved DDLUTILS-90. ------------------------------------ Resolution: Fixed I've changed the WriteSchemaSqlToFile subtask recently (DDLUTILS-92) so that it actually checks whether the live database can be accessed when alterDatabase=true. And if that is not the case, then it prints out a warning and switches to alterDatabase=false automatically. > writeSchemaSqlToFile task produces empty output file > ---------------------------------------------------- > > Key: DDLUTILS-90 > URL: http://issues.apache.org/jira/browse/DDLUTILS-90 > Project: DdlUtils > Issue Type: Bug > Components: Ant Tasks > Reporter: Ken Weiner > Assigned To: Thomas Dudziak > Fix For: 1.0 > > > Running > <writeSchemaSqlToFile outputFile="schema.sql"/> > results in an empty schema.sql file, but setting the alterDatabase attribute > to false results in a properly written schema.sql file like so: > <writeSchemaSqlToFile alterDatabase="false" outputFile="schema.sql"/> > I am guessing that the sql should be written to the file, no matter what the > value of the alterDatabase attribute. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira