schemacrawler / SchemaCrawler

Free database schema discovery and comprehension tool
http://www.schemacrawler.com/
Other
1.62k stars 200 forks source link

Feature Request > add outputOptions.setOutputFile(File) #199

Closed adriens closed 6 years ago

adriens commented 6 years ago

Hi, while running some test on Windows, I'm facing native runtime issues on the jvm.

Could you consider to add to

outputOptions.setOutputFile(Path)

ths one :

outputOptions.setOutputFile(File) ?

adriens commented 6 years ago

Hopefully this should make it easier to make testing easier on WIndows.

sualeh commented 6 years ago

@adriens - I do not plan to make changes to older versions of SchemaCrawler. Can I help you work around your issue? Please take a look at ProjectRoot.java and see how it is used in SiteGraphVariationsTest.java.

adriens commented 6 years ago

Hmmm, sure, the fact is that I would be interested in getting this on the 15.x series. I'm working on preparing additional lints to support the 15.x. There is some work to do, but it's really worth it.

sualeh commented 6 years ago

Please use the approach I have suggested. It is tested on Windows and Linux, and in use every single day on both platforms.

adriens commented 6 years ago

Ok, thanks, I'm having a look at it hence.

sualeh commented 6 years ago

PS: SchemaCrawler 15.x.x uses OutputOptionsBuilder, not OutputOptions.

adriens commented 6 years ago

Thanks for pointing this too 😄