You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by nitish patkar <ni...@gmail.com> on 2018/03/24 13:28:07 UTC

Issue while using Apache isis with Intellij idea

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

Re: Issue while using Apache isis with Intellij idea

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
HI Nitish,

By all means, that would be great.  You can if you want reference this
thread in our archives [1].

Thx
Dan

[1]
https://lists.apache.org/thread.html/2cfcb2b614d146228448e2337124a7b5cf208698abc75b69dcc339da@%3Cusers.isis.apache.org%3E

On Mon, 26 Mar 2018 at 13:57 nitish patkar <ni...@gmail.com> wrote:

> Great! Thanks for your reply! You want me to post on Stackoverflow as well
> so that others might get to know the answer?
>
> On 26 March 2018 at 12:25, Dan Haywood <da...@haywood-associates.co.uk>
> wrote:
>
> > 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 <ni...@gmail.com>
> > 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
> > >
> > >
> >
>

Re: Issue while using Apache isis with Intellij idea

Posted by nitish patkar <ni...@gmail.com>.
Great! Thanks for your reply! You want me to post on Stackoverflow as well
so that others might get to know the answer?

On 26 March 2018 at 12:25, Dan Haywood <da...@haywood-associates.co.uk> wrote:

> 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 <ni...@gmail.com>
> 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
> >
> >
>

Re: Issue while using Apache isis with Intellij idea

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
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 <ni...@gmail.com> 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
>
>