No worries, John. It happens to the best :) 2017-02-08 13:00 GMT+01:00 John Childress <[email protected]>:
> Ok, this is embarrassing... When I restarted my IDE at work this morning > and re-ran the gen from gradle it worked as expected... code was generated > with 3.9.1 no problem. > > Can I delete this post :-( > > I had a project at home that was simpler that I thought demonstrated it... > I will try later this afternoon, but I guess for now I was "wrong"... > > sorry, > > John > > On Wednesday, February 8, 2017 at 3:10:05 AM UTC-6, Lukas Eder wrote: >> >> Hi John, >> >> That's interesting. I'm not aware of any code generator regressions. What >> does "nothing happens" mean? Do you get any log output at all? >> >> Best Regards, >> Lukas >> >> 2017-02-08 3:15 GMT+01:00 John Childress <[email protected]>: >> >>> I don't know if anyone else is having any issues with codegen using >>> grade or maven in 3.9.1 for MS SQL Server? The below works fine in 3.9.0, >>> but nothing happens in 3.9.1 No errors, just no generation :-) >>> >>> Did I miss something in the update? If I change 3.9.1 to 3.9.0 it works >>> fine... >>> >>> apply plugin: 'java' >>> >>> buildscript { >>> repositories { >>> mavenLocal() >>> mavenCentral() >>> } >>> dependencies { >>> classpath 'org.jooq.pro:jooq-codegen:3.9.1' >>> classpath 'com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8' >>> } >>> } >>> >>> repositories { >>> mavenLocal() >>> mavenCentral() >>> } >>> >>> dependencies { >>> compile 'org.jooq.pro:jooq:3.9.1' >>> runtime 'com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8' >>> } >>> >>> task generate { >>> doLast { >>> def writer = new StringWriter() >>> def xml = new groovy.xml.MarkupBuilder(writer) >>> .configuration('xmlns': 'http://www.jooq.org/xsd/jooq- >>> codegen-3.9.0.xsd') { >>> jdbc() { >>> driver('com.microsoft.sqlserver.jdbc.SQLServerDriver') >>> url('jdbc:sqlserver://mercury: >>> 1433;databaseName=nodal_nyiso') >>> user('nodal') >>> password('') >>> } >>> generator() { >>> database() { >>> name('org.jooq.util.sqlserver.SQLServerDatabase') >>> inputCatalog('nodal_nyiso') >>> inputSchema('dbo') >>> outputSchema('dbo') >>> dateAsTimestamp true >>> includes('.*') >>> excludes('') >>> } >>> >>> generate([:]) { >>> pojos true >>> daos true >>> } >>> target() { >>> packageName('com.marsdev.mars.service.nyiso.gen') >>> directory('src/main/java') >>> } >>> } >>> } >>> >>> org.jooq.util.GenerationTool.generate( >>> javax.xml.bind.JAXB.unmarshal(new >>> StringReader(writer.toString()), org.jooq.util.jaxb.Configuration.class) >>> ) >>> } >>> } >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "jOOQ User Group" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
