Return-Path: X-Original-To: apmail-isis-users-archive@www.apache.org Delivered-To: apmail-isis-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5786E18323 for ; Thu, 27 Aug 2015 16:09:30 +0000 (UTC) Received: (qmail 14816 invoked by uid 500); 27 Aug 2015 16:09:25 -0000 Delivered-To: apmail-isis-users-archive@isis.apache.org Received: (qmail 14789 invoked by uid 500); 27 Aug 2015 16:09:25 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 14776 invoked by uid 99); 27 Aug 2015 16:09:24 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2015 16:09:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 81BDC180251 for ; Thu, 27 Aug 2015 16:09:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.08 X-Spam-Level: **** X-Spam-Status: No, score=4.08 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_COUK=1.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id g4R3vPgUiSLo for ; Thu, 27 Aug 2015 16:09:16 +0000 (UTC) Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id BD2442055B for ; Thu, 27 Aug 2015 16:09:15 +0000 (UTC) Received: by igcse8 with SMTP id se8so71442844igc.1 for ; Thu, 27 Aug 2015 09:09:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=W23gZZ0W4sGhBPww9U+uTvhkbEHxRvYuEgnItgaAVWc=; b=BWzYKDtlPNFdm+zBDvu9V51AzsViVHbRAh0lGVXm9qYyyRmrI9gS66rSZKf9mWINeV Ajuumt5WDdDYw+JFdApohb9WnidkCamUwgf3PtE0dqBnyIaF4i43mGpo1fmY5Ny+aa11 g2ObXNsBrtIRr7RM77+k4InbVz39ljikxM70tfJBlub9O9sOm5xoiyyIlmVQiVxY13mr HCxdDrshi/Uf3KcFnh9LpwimWl6UTrSM4jwDBa0JR34/ugI4EYlkFyiwrvCOHY+CWMjj iuzREFyVlu8ljXO1oGqIXCT+WUW2KmLFaxkoC8b9TiYJcacx6+ElR/ln32c4xNCNxu3j +FPA== X-Gm-Message-State: ALoCoQlg3LW4fIQeYaWPqeTUBkm7AZFamAQJWUBmeadLaWSB+L/X/V4UrWL0dH2t0K0W4xHDNk7q X-Received: by 10.50.73.168 with SMTP id m8mr10267144igv.25.1440691749094; Thu, 27 Aug 2015 09:09:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.134.68 with HTTP; Thu, 27 Aug 2015 09:08:49 -0700 (PDT) X-Originating-IP: [82.69.89.226] In-Reply-To: References: From: Dan Haywood Date: Thu, 27 Aug 2015 17:08:49 +0100 Message-ID: Subject: Re: IntelliJ and DataNucleus. To: users Content-Type: multipart/alternative; boundary=089e013a239cefadcf051e4d2f47 --089e013a239cefadcf051e4d2f47 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great stuff. On 27 August 2015 at 14:28, Marianne Hagaseth < Marianne.Hagaseth@marintek.sintef.no> wrote: > Thanks, it works OK now! > Best, > Marianne. > > Med vennlig hilsen / Best regards, > Marianne Hagaseth > Forsker =E2=80=93 Maritime transportsystemer > Research Scientist =E2=80=93 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 somewha= t > unreliable. Instead we use mvn to run the datanucleus:enhance goal as pa= rt > 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 =E2=80=93 Maritime transportsystemer > > Research Scientist =E2=80=93 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 > > > > > > > > > --089e013a239cefadcf051e4d2f47--