schema-export in Grails 3

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

schema-export in Grails 3

Ronny Løvtangen
schema-export is still present in the documentation (http://grails.github.io/grails-doc/3.0.x/ref/Command%20Line/schema-export.html) but the command 'grails schema-export' is not found in a new Grails 3.0.1 project. (Ran 'grails war' first since there is no 'grails refresh-dependencies' anymore) 
Has schema-export been removed?


$ grails schema-export

FAILURE: Build failed with an exception.

* What went wrong:
Task 'schemaExport' not found in root project 'uniqueconstr'.

* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 0.771 secs
| Error Error occurred running Grails CLI: Task 'schemaExport' not found in root project 'uniqueconstr'. (Use --stacktrace to see the full trace)


Best Regards,
Ronny Løvtangen

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/44552D40-C14E-42AF-A5F2-6BCD2B018BA7%40lovtangen.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: schema-export in Grails 3

Jeff Scott Brown

> On Apr 21, 2015, at 6:06 PM, Ronny Løvtangen <[hidden email]> wrote:
>
> schema-export is still present in the documentation (http://grails.github.io/grails-doc/3.0.x/ref/Command%20Line/schema-export.html) but the command 'grails schema-export' is not found in a new Grails 3.0.1 project.

Please file a bug report at https://github.com/grails/grails-core/issues and reference https://jira.grails.org/browse/GRAILS-12108 and https://github.com/grails/grails-data-mapping/commit/29a7eaedd2392c3975d3f29d88c16bf5e0887767#diff-1d10458816854f8e08f50c73f20f8c5e in the description.

Thanks for the feedback.



JSB

--
Jeff Scott Brown
[hidden email]

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
http://www.autismspeaks.org/

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/1DFBE7CC-D11D-43D8-9C93-93EA171E25D1%40jeffandbetsy.net.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: schema-export in Grails 3

Ronny Løvtangen

> On 21 Apr 2015, at 14:47, Jeff Scott Brown <[hidden email]> wrote:
>
>
>> On Apr 21, 2015, at 6:06 PM, Ronny Løvtangen <[hidden email]> wrote:
>>
>> schema-export is still present in the documentation (http://grails.github.io/grails-doc/3.0.x/ref/Command%20Line/schema-export.html) but the command 'grails schema-export' is not found in a new Grails 3.0.1 project.
>
> Please file a bug report at https://github.com/grails/grails-core/issues and reference https://jira.grails.org/browse/GRAILS-12108 and https://github.com/grails/grails-data-mapping/commit/29a7eaedd2392c3975d3f29d88c16bf5e0887767#diff-1d10458816854f8e08f50c73f20f8c5e in the description.
>
> Thanks for the feedback.
>

Thanks, Jeff.

https://github.com/grails/grails-core/issues/659

Ronny

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/7F825820-45ED-46D1-AAAE-FE20E9515335%40lovtangen.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: schema-export in Grails 3

Graeme Rocher-2
The hibernate plugin is not by default on the build classpath, you
need to add it to the build classpath to get the 'schema-export'
command working

On Tue, Apr 21, 2015 at 3:14 PM, Ronny Løvtangen <[hidden email]> wrote:

>
>> On 21 Apr 2015, at 14:47, Jeff Scott Brown <[hidden email]> wrote:
>>
>>
>>> On Apr 21, 2015, at 6:06 PM, Ronny Løvtangen <[hidden email]> wrote:
>>>
>>> schema-export is still present in the documentation (http://grails.github.io/grails-doc/3.0.x/ref/Command%20Line/schema-export.html) but the command 'grails schema-export' is not found in a new Grails 3.0.1 project.
>>
>> Please file a bug report at https://github.com/grails/grails-core/issues and reference https://jira.grails.org/browse/GRAILS-12108 and https://github.com/grails/grails-data-mapping/commit/29a7eaedd2392c3975d3f29d88c16bf5e0887767#diff-1d10458816854f8e08f50c73f20f8c5e in the description.
>>
>> Thanks for the feedback.
>>
>
> Thanks, Jeff.
>
> https://github.com/grails/grails-core/issues/659
>
> Ronny
>
> --
> You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/7F825820-45ED-46D1-AAAE-FE20E9515335%40lovtangen.com.
> For more options, visit https://groups.google.com/d/optout.



--
Graeme Rocher

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAO_wNocubU%2BcQ3zHxdXrOshRkd69m8P9mPctW5N5ovVjb-RcDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: schema-export in Grails 3

Ronny Løvtangen
Thanks. Worked after adding

    classpath "org.grails.plugins:hibernate:4.3.8.0"

to buildscript.dependencies.

This information should probably make it into the documentation.

Ronny

> On 22 Apr 2015, at 09:08, Graeme Rocher <[hidden email]> wrote:
>
> The hibernate plugin is not by default on the build classpath, you
> need to add it to the build classpath to get the 'schema-export'
> command working
>
> On Tue, Apr 21, 2015 at 3:14 PM, Ronny Løvtangen <[hidden email]> wrote:
>>
>>> On 21 Apr 2015, at 14:47, Jeff Scott Brown <[hidden email]> wrote:
>>>
>>>
>>>> On Apr 21, 2015, at 6:06 PM, Ronny Løvtangen <[hidden email]> wrote:
>>>>
>>>> schema-export is still present in the documentation (http://grails.github.io/grails-doc/3.0.x/ref/Command%20Line/schema-export.html) but the command 'grails schema-export' is not found in a new Grails 3.0.1 project.
>>>
>>> Please file a bug report at https://github.com/grails/grails-core/issues and reference https://jira.grails.org/browse/GRAILS-12108 and https://github.com/grails/grails-data-mapping/commit/29a7eaedd2392c3975d3f29d88c16bf5e0887767#diff-1d10458816854f8e08f50c73f20f8c5e in the description.
>>>
>>> Thanks for the feedback.
>>>
>>
>> Thanks, Jeff.
>>
>> https://github.com/grails/grails-core/issues/659
>>
>> Ronny
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
>> To post to this group, send email to [hidden email].
>> To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/7F825820-45ED-46D1-AAAE-FE20E9515335%40lovtangen.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Graeme Rocher
>
> --
> You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAO_wNocubU%2BcQ3zHxdXrOshRkd69m8P9mPctW5N5ovVjb-RcDQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/851CB93E-2F36-476C-9FC2-76E9787DF16A%40lovtangen.com.
For more options, visit https://groups.google.com/d/optout.