On Mon, Jul 23, 2018 at 10:38 AM Marc Fargas <teleni...@telenieko.com> wrote:
> On Mon, Jul 23, 2018 at 9:52 AM Martin Grigorov <mgrigo...@apache.org> wrote:
> > On Mon, Jul 23, 2018 at 10:44 AM Marc Fargas <teleni...@telenieko.com>
> > > My problem is with the enhancer though. Following the steps to make
> > > IntelliJ work I shall call
> > > "mvn datanucleusenhancer  -o" and there are screenshots etc but... This is
> > > not for multimodule projects.
> > >
> > > Of course, Option A) would be to add the task for every module I have on
> > > the Run Configuration.
> > > But, and the reason I write you, Is there an Option B) by which I can call
> > > datanucleusenhancer on all modules without manually listing them?
> > >
> > You need to enhance only the 'dom' module, the one that contains your
> > domain objects.

I just found out I can do
    mvn  datanucleus:enhance -o
>From the root folder of my project.

Please note that the IntelliJ instructions, on the screenshot of the
run configutations, says "datanucleusenhance" (without the ":" in the
middle) [1] and [2]. It is properly shown in [3]

[1]: https://isis.apache.org/guides/dg/dg.html#__dg_ide_intellij_running_the-app
[2]: 
https://isis.apache.org/guides/dg/images/intellij-idea/110-running-the-app/010-run-configuration.png
[3]: https://isis.apache.org/guides/dg/dg.html#_dg_hints-and-tips_enhance-only

Thanks for the help,
Marc

Reply via email to