You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Kevin Lewandowski <kl...@discogsinc.com> on 2016/06/07 14:31:58 UTC

Beginner question, updating SimpleApp example

Hi, Newbie here. I've followed the instructions in the Fundamentals guide,
section 3. And have SimpleApp running.

If I were to add a field to SimpleObject or add a new Domain Object, what
maven command would I execute to get those changes included in the app?
I've tried a few but they don't pick up my changes.

And I don't use any IDE. I'd prefer to do this via command line.

thanks

Re: Beginner question, updating SimpleApp example

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
just found this intellij video with hints and tips from a couple of years
ago... lots of nice tips (so long as his presentation style doesn't grate
too much with you).


https://www.youtube.com/watch?v=h8wRC7Qkcb8


On 8 June 2016 at 10:38, Jeroen van der Wal <je...@stromboli.it> wrote:

> I would recommend start using IntelliJ. You can follow this guide [1] to
> create better developer experience.
>
> [1] https://www.youtube.com/watch?v=6GPtec5Hu5Q
>
> On 8 June 2016 at 09:36, Kevin Lewandowski <kl...@discogsinc.com>
> wrote:
>
> > Hi, Dan, Hector. I got it working. I needed to run "mvn install".
> > Previously I was just running "mvn compile".
> >
> > thanks!
> >
> > On Tue, Jun 7, 2016 at 4:05 PM, Dan Haywood <
> dan@haywood-associates.co.uk>
> > wrote:
> >
> > > Hi Kevin,
> > > Could you list out the actual commands you are running from the shell,
> as
> > > well as the edit you've made to the class?
> > > Thx,
> > > Dan
> > > On 7 Jun 2016 4:00 p.m., "Kevin Lewandowski" <
> > klewandowski@discogsinc.com>
> > > wrote:
> > >
> > > > Thank you Hector.
> > > >
> > > > That is what I've done, added a field to simple object .java file.
> But
> > > when
> > > > I rerun maven the field is not visible in the app. Is there a
> different
> > > > command to run?
> > > > On Jun 7, 2016 4:37 PM, "Hector Fabio Meza" <
> > > hector.meza@smartools.com.co>
> > > > wrote:
> > > >
> > > > > Hi, Kevin,
> > > > >
> > > > > I'm relatively new to Isis myself, so I'm open to being corrected
> if
> > > I'm
> > > > > wrong, but Isis doesn't have a mvn command to create a new entity
> or
> > to
> > > > add
> > > > > fields to one, like other frameworks do (for example JHipster).
> > > > >
> > > > > What you do is work directly with the code, open the SimpleObject
> > class
> > > > > and add the new field, and then place the required annotations on
> it.
> > > To
> > > > > create a new class you can copy SimpleObject and modify it or you
> can
> > > > > create a new one from scratch and then add the Isis and JDO
> > > annotations.
> > > > >
> > > > > After that you can use maven to build and run the app and see your
> > > > changes.
> > > > >
> > > > > El 2016-06-07 09:31, Kevin Lewandowski escribió:
> > > > >
> > > > > Hi, Newbie here. I've followed the instructions in the Fundamentals
> > > > guide,
> > > > > section 3. And have SimpleApp running.
> > > > >
> > > > > If I were to add a field to SimpleObject or add a new Domain
> Object,
> > > what
> > > > > maven command would I execute to get those changes included in the
> > app?
> > > > > I've tried a few but they don't pick up my changes.
> > > > >
> > > > > And I don't use any IDE. I'd prefer to do this via command line.
> > > > >
> > > > > thanks
> > > > >
> > > > >
> > > > > Cordial saludo,
> > > > >
> > > > > Hector Fabio Meza Martínez
> > > > > R&D Leader
> > > > > www.smartools.com.co
> > > > >
> > > >
> > >
> >
>

Re: Beginner question, updating SimpleApp example

Posted by Jeroen van der Wal <je...@stromboli.it>.
I would recommend start using IntelliJ. You can follow this guide [1] to
create better developer experience.

[1] https://www.youtube.com/watch?v=6GPtec5Hu5Q

On 8 June 2016 at 09:36, Kevin Lewandowski <kl...@discogsinc.com>
wrote:

> Hi, Dan, Hector. I got it working. I needed to run "mvn install".
> Previously I was just running "mvn compile".
>
> thanks!
>
> On Tue, Jun 7, 2016 at 4:05 PM, Dan Haywood <da...@haywood-associates.co.uk>
> wrote:
>
> > Hi Kevin,
> > Could you list out the actual commands you are running from the shell, as
> > well as the edit you've made to the class?
> > Thx,
> > Dan
> > On 7 Jun 2016 4:00 p.m., "Kevin Lewandowski" <
> klewandowski@discogsinc.com>
> > wrote:
> >
> > > Thank you Hector.
> > >
> > > That is what I've done, added a field to simple object .java file. But
> > when
> > > I rerun maven the field is not visible in the app. Is there a different
> > > command to run?
> > > On Jun 7, 2016 4:37 PM, "Hector Fabio Meza" <
> > hector.meza@smartools.com.co>
> > > wrote:
> > >
> > > > Hi, Kevin,
> > > >
> > > > I'm relatively new to Isis myself, so I'm open to being corrected if
> > I'm
> > > > wrong, but Isis doesn't have a mvn command to create a new entity or
> to
> > > add
> > > > fields to one, like other frameworks do (for example JHipster).
> > > >
> > > > What you do is work directly with the code, open the SimpleObject
> class
> > > > and add the new field, and then place the required annotations on it.
> > To
> > > > create a new class you can copy SimpleObject and modify it or you can
> > > > create a new one from scratch and then add the Isis and JDO
> > annotations.
> > > >
> > > > After that you can use maven to build and run the app and see your
> > > changes.
> > > >
> > > > El 2016-06-07 09:31, Kevin Lewandowski escribió:
> > > >
> > > > Hi, Newbie here. I've followed the instructions in the Fundamentals
> > > guide,
> > > > section 3. And have SimpleApp running.
> > > >
> > > > If I were to add a field to SimpleObject or add a new Domain Object,
> > what
> > > > maven command would I execute to get those changes included in the
> app?
> > > > I've tried a few but they don't pick up my changes.
> > > >
> > > > And I don't use any IDE. I'd prefer to do this via command line.
> > > >
> > > > thanks
> > > >
> > > >
> > > > Cordial saludo,
> > > >
> > > > Hector Fabio Meza Martínez
> > > > R&D Leader
> > > > www.smartools.com.co
> > > >
> > >
> >
>

Re: Beginner question, updating SimpleApp example

Posted by Kevin Lewandowski <kl...@discogsinc.com>.
Hi, Dan, Hector. I got it working. I needed to run "mvn install".
Previously I was just running "mvn compile".

thanks!

On Tue, Jun 7, 2016 at 4:05 PM, Dan Haywood <da...@haywood-associates.co.uk>
wrote:

> Hi Kevin,
> Could you list out the actual commands you are running from the shell, as
> well as the edit you've made to the class?
> Thx,
> Dan
> On 7 Jun 2016 4:00 p.m., "Kevin Lewandowski" <kl...@discogsinc.com>
> wrote:
>
> > Thank you Hector.
> >
> > That is what I've done, added a field to simple object .java file. But
> when
> > I rerun maven the field is not visible in the app. Is there a different
> > command to run?
> > On Jun 7, 2016 4:37 PM, "Hector Fabio Meza" <
> hector.meza@smartools.com.co>
> > wrote:
> >
> > > Hi, Kevin,
> > >
> > > I'm relatively new to Isis myself, so I'm open to being corrected if
> I'm
> > > wrong, but Isis doesn't have a mvn command to create a new entity or to
> > add
> > > fields to one, like other frameworks do (for example JHipster).
> > >
> > > What you do is work directly with the code, open the SimpleObject class
> > > and add the new field, and then place the required annotations on it.
> To
> > > create a new class you can copy SimpleObject and modify it or you can
> > > create a new one from scratch and then add the Isis and JDO
> annotations.
> > >
> > > After that you can use maven to build and run the app and see your
> > changes.
> > >
> > > El 2016-06-07 09:31, Kevin Lewandowski escribió:
> > >
> > > Hi, Newbie here. I've followed the instructions in the Fundamentals
> > guide,
> > > section 3. And have SimpleApp running.
> > >
> > > If I were to add a field to SimpleObject or add a new Domain Object,
> what
> > > maven command would I execute to get those changes included in the app?
> > > I've tried a few but they don't pick up my changes.
> > >
> > > And I don't use any IDE. I'd prefer to do this via command line.
> > >
> > > thanks
> > >
> > >
> > > Cordial saludo,
> > >
> > > Hector Fabio Meza Martínez
> > > R&D Leader
> > > www.smartools.com.co
> > >
> >
>

Re: Beginner question, updating SimpleApp example

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Kevin,
Could you list out the actual commands you are running from the shell, as
well as the edit you've made to the class?
Thx,
Dan
On 7 Jun 2016 4:00 p.m., "Kevin Lewandowski" <kl...@discogsinc.com>
wrote:

> Thank you Hector.
>
> That is what I've done, added a field to simple object .java file. But when
> I rerun maven the field is not visible in the app. Is there a different
> command to run?
> On Jun 7, 2016 4:37 PM, "Hector Fabio Meza" <he...@smartools.com.co>
> wrote:
>
> > Hi, Kevin,
> >
> > I'm relatively new to Isis myself, so I'm open to being corrected if I'm
> > wrong, but Isis doesn't have a mvn command to create a new entity or to
> add
> > fields to one, like other frameworks do (for example JHipster).
> >
> > What you do is work directly with the code, open the SimpleObject class
> > and add the new field, and then place the required annotations on it. To
> > create a new class you can copy SimpleObject and modify it or you can
> > create a new one from scratch and then add the Isis and JDO annotations.
> >
> > After that you can use maven to build and run the app and see your
> changes.
> >
> > El 2016-06-07 09:31, Kevin Lewandowski escribió:
> >
> > Hi, Newbie here. I've followed the instructions in the Fundamentals
> guide,
> > section 3. And have SimpleApp running.
> >
> > If I were to add a field to SimpleObject or add a new Domain Object, what
> > maven command would I execute to get those changes included in the app?
> > I've tried a few but they don't pick up my changes.
> >
> > And I don't use any IDE. I'd prefer to do this via command line.
> >
> > thanks
> >
> >
> > Cordial saludo,
> >
> > Hector Fabio Meza Martínez
> > R&D Leader
> > www.smartools.com.co
> >
>

Re: Beginner question, updating SimpleApp example

Posted by Kevin Lewandowski <kl...@discogsinc.com>.
Thank you Hector.

That is what I've done, added a field to simple object .java file. But when
I rerun maven the field is not visible in the app. Is there a different
command to run?
On Jun 7, 2016 4:37 PM, "Hector Fabio Meza" <he...@smartools.com.co>
wrote:

> Hi, Kevin,
>
> I'm relatively new to Isis myself, so I'm open to being corrected if I'm
> wrong, but Isis doesn't have a mvn command to create a new entity or to add
> fields to one, like other frameworks do (for example JHipster).
>
> What you do is work directly with the code, open the SimpleObject class
> and add the new field, and then place the required annotations on it. To
> create a new class you can copy SimpleObject and modify it or you can
> create a new one from scratch and then add the Isis and JDO annotations.
>
> After that you can use maven to build and run the app and see your changes.
>
> El 2016-06-07 09:31, Kevin Lewandowski escribió:
>
> Hi, Newbie here. I've followed the instructions in the Fundamentals guide,
> section 3. And have SimpleApp running.
>
> If I were to add a field to SimpleObject or add a new Domain Object, what
> maven command would I execute to get those changes included in the app?
> I've tried a few but they don't pick up my changes.
>
> And I don't use any IDE. I'd prefer to do this via command line.
>
> thanks
>
>
> Cordial saludo,
>
> Hector Fabio Meza Martínez
> R&D Leader
> www.smartools.com.co
>

Re: Beginner question, updating SimpleApp example

Posted by Hector Fabio Meza <he...@smartools.com.co>.
 

Hi, Kevin, 

I'm relatively new to Isis myself, so I'm open to being corrected if I'm
wrong, but Isis doesn't have a mvn command to create a new entity or to
add fields to one, like other frameworks do (for example JHipster). 

What you do is work directly with the code, open the SimpleObject class
and add the new field, and then place the required annotations on it. To
create a new class you can copy SimpleObject and modify it or you can
create a new one from scratch and then add the Isis and JDO annotations.


After that you can use maven to build and run the app and see your
changes. 

El 2016-06-07 09:31, Kevin Lewandowski escribi�: 

> Hi, Newbie here. I've followed the instructions in the Fundamentals guide,
> section 3. And have SimpleApp running.
> 
> If I were to add a field to SimpleObject or add a new Domain Object, what
> maven command would I execute to get those changes included in the app?
> I've tried a few but they don't pick up my changes.
> 
> And I don't use any IDE. I'd prefer to do this via command line.
> 
> thanks

Cordial saludo,

 Hector Fabio Meza Mart�nez
 R&D Leader
www.smartools.com.co [1] 

Links:
------
[1] http://www.smartools.com.co