Hi Nitish,

That screencast is a year or two old, and since then we've slightly changed
the "simpleapp" application that is generated by the archetype.

Instead of myapp-dom, you should find a mvn module called "module-simple".

To run from Intellij Idea, basically you need to run "datanucleus:enhance"
plugin in the context of that module.  You can do this using "before
launch" in the run configuration, as per [1]

For the current 1.16.2 version of the simpleapp, use

working directory: c:/tmp/myapp/module-simple
command line: datanucleus:enhance -o

or, equivalently:

working directory: c:/tmp/myapp
command line: -pl webapp datanucleus:enhance -o

which you'll see is basically the same as the enhance-all.sh script in the
myapp directory.

Hope that helps
Dan


[1] http://isis.apache.org/guides/ugfun/ugfun.html#_from_within_the_ide_2





[1]
http://isis.apache.org/guides/ugfun/ugfun.html#_ugfun_getting-started_simpleapp-archetype

On Sat, 24 Mar 2018 at 13:28 nitish patkar <[email protected]> wrote:

> Hello,
>
> I am getting started with Apache isis framework and trying to set it up to
> run with Intellij idea following your documentation and YouTube Video.
>
> At a specific step in your video (https://youtu.be/6GPtec5Hu5Q?t=103),
> you select myapp-dom as a maven goal, I do not see this option in my
> Intellij Idea:
>
>
> Steps I have followed so far:
>
> 1. Using the script at (
> https://isis.apache.org/guides/ugfun/ugfun.html#__ugfun_getting-started_simpleapp-archetype_generating-the-app)
> created the app and then navigating inside myapp folder ran: mvn clean
> install -> it was successful.
>
> 2. I have installed Idea but did not do any configurations as described
> there (as you did not mention them in the video)
>
> Could that be the reason? Or in the latest version a I supposed to choose
> one of these three options?
>
> Best,
> Nitish
>
>

Reply via email to