isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marianne Hagaseth <Marianne.Hagas...@marintek.sintef.no>
Subject RE: IntelliJ and DataNucleus.
Date Thu, 27 Aug 2015 13:28:56 GMT
Thanks, it works OK now!
Best,
Marianne.

Med vennlig hilsen / Best regards,
Marianne Hagaseth 
Forsker – Maritime transportsystemer
Research Scientist – Maritime Transport Systems


-----Original Message-----
From: Dan Haywood [mailto:dan@haywood-associates.co.uk] 
Sent: 23. august 2015 15:48
To: users
Subject: Re: IntelliJ and DataNucleus.

Hi Marianne,

We don't use the DN enhancer  plugin for IntelliJ ... we found it somewhat unreliable.  Instead
we use mvn to run the datanucleus:enhance goal as part of our launch configuration.

Further details in the contributors guide [1].  And this screencast shows a variation on the
approach [2].

Cheers
Dan

[1] http://isis.apache.org/guides/cg.html#_cg_ide_intellij
[2] http://isis.apache.org/screencasts.html#_development_environment


On 20 August 2015 at 10:26, Marianne Hagaseth < Marianne.Hagaseth@marintek.sintef.no>
wrote:

> Thanks for the reply!
> Seems like things go better when I first disable and then enable 
> Datanucleus Enhancer support again in IntelliJ. So, happy for now...
>
> Med vennlig hilsen / Best regards,
> Marianne Hagaseth
> Forsker – Maritime transportsystemer
> Research Scientist – Maritime Transport Systems
>
> -----Original Message-----
> From: Jeroen van der Wal [mailto:jeroen@stromboli.it]
> Sent: 20. august 2015 10:37
> To: users
> Subject: Re: IntelliJ and DataNucleus.
>
> This doesn't look related to IntelliJ but maybe I'm wrong. What is the 
> output when you enhance your dom through maven?
> cd dom
> mvn datanucleus:enhance
>
> Cheers,
>
> Jeroen
>
> On 20 August 2015 at 09:14, Marianne Hagaseth < 
> Marianne.Hagaseth@marintek.sintef.no> wrote:
>
> > Hi,
> > I am getting this error when building my ISIS app in IntelliJ:
> >
> > [ERROR] Failed to execute goal
> > org.datanucleus:datanucleus-maven-plugin:3.3.2:enhance (default-cli) 
> > on project isis-app-kitchensink-dom: Error executing DataNucleus 
> > tool
> > org.datanucleus.enhancer.DataNucleusEnhancer: InvocationTargetException:
> > Duplicate method name&signature in class file 
> > dom/regulation/Regulation -> [Help 1]
> >
> > How do I handle this? (I know some hints from eclipse, but I have 
> > just moved to IntelliJ to avoid this trouble with DN).
> >
> > Best,
> > Marianne.
> >
> > Med vennlig hilsen / Best regards,
> > Marianne Hagaseth
> > Forsker - Maritime transportsystemer Research Scientist - Maritime 
> > Transport Systems
> >
> > MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS)
> > Address:  POB 4125 Valentinlyst, NO-7450 Trondheim, Norway
> > Mobile:   +47 90 95 64 69 -  Phone: +47 464 15 000
> > Web:       www.marintek.sintef.no<http://www.marintek.sintef.no/>
> >
> >
>
Mime
View raw message