Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7B3CF200B8F for ; Fri, 16 Sep 2016 07:41:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 79B54160AD7; Fri, 16 Sep 2016 05:41:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BD400160AC6 for ; Fri, 16 Sep 2016 07:41:30 +0200 (CEST) Received: (qmail 10423 invoked by uid 500); 16 Sep 2016 05:41:29 -0000 Mailing-List: contact dev-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list dev@archiva.apache.org Received: (qmail 10412 invoked by uid 99); 16 Sep 2016 05:41:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2016 05:41:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 31B24C0B4C for ; Fri, 16 Sep 2016 05:41:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.467 X-Spam-Level: X-Spam-Status: No, score=0.467 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_WEB=0.614, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ltCGo5WVfSTX for ; Fri, 16 Sep 2016 05:41:27 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.4]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BF37C5F2F2 for ; Fri, 16 Sep 2016 05:41:26 +0000 (UTC) Received: from [10.38.175.108] ([80.187.103.133]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0LZeou-1bJApu1IIG-00lRsG for ; Fri, 16 Sep 2016 07:41:18 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----R51ZHCKQO805I915S5ADE9J27HW392" Content-Transfer-Encoding: 7bit Subject: Re: UnitTests in IDE From: Martin Stockhammer Date: Fri, 16 Sep 2016 07:41:12 +0200 To: dev@archiva.apache.org Message-ID: <7AE50680-1D4D-428D-B59D-4014137AEFB9@web.de> X-Provags-ID: V03:K0:zOwm4hqfNRqDrFOf9po1/B+6oVwQnQaJaGMwi/oy191pV7ZDlF+ BE4/G+jdZYGc/ZnBpv/c3QeC8RhMX1zScofL0jmIcX/4OkSn8Oay7jZddeohXPVjROpKv1/ aSnMh8zbYz/Nl+CpSPYJgNmYxvvlQSvo4NW38QG/LtRSr5dMAymIusxhP7a94q/eRI2yPaR zGbw5lVK4Gmmtt/eMPizQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:hfPbKigvIlU=:vqJsIgqA4A6+cuHH3gPX6o PMLKyEX9tN6/FogHeMKrbQCDpgfHGyHFJG54Nttsd/YWV92SMGqWcmlzC1EqvWioNgbEjd9gL Vg6N6JW5B4Zb6hp+KOVJqbddG3pPul4RIbqJkgO5tbGDlvWsafX2wk5oeFx9zhI4LRYHGmhz+ w/VvIbmbf7X1Xlxiu3TaQNkKifNz8DJuhzpUqMs4cRKokAuRD6hK0IDYbS5H1Dlg/RJmLu0xn AP3HJUUN63jnILuMTXpVC5rTwAia/CuoZKHHVS/enCKCHCukTge7nDIoawjsI/7FdMPjpoPW5 qPPn4glX15wJwwRyBfTGS4z8H4qdf/Qn9vkN0puhw7BziBuLliJhtwjgkI5Xaeq5V9RpdnOWT WAE7ezyyaxVC48d+wPkJ/N2nU4u24cDRDJ9KSWKlGBHd+1KLjzETY8klP5pk8iwDOXrQ2ovPM cfH720PcNZqpHo5QxT3mi49NP6TC+pDriAVsU37ckpCJZgngjBTrFnsLnbH7TFbdX6VdwlpqG +ZPtoDwIONu2WQ4f5ToN7o8YQO8xrTzziBBQ8PePK2ve17ovd+Hu/aQHRZxe1F5M6zuwnx3kj tVHN81kibRRDtvlWrbbLzDgz32PBng4kQAhVBZ5IObmKaAgVAZgwlhmBp871lDHVPnCdu3BDt KbAjRaBZBwQeMxmENFjOTRa4vKB6bsXg7EZzig1JTq9IoUhG2vGdYTovi470FFuvXA6yfe6hd NEeajd0k7QmgQlAH77ZI9jsva80dmNOg2DOmT2pQcNAG80dQtYBUuRe+fedEAkRa3YyqciYML BxyAetT archived-at: Fri, 16 Sep 2016 05:41:31 -0000 ------R51ZHCKQO805I915S5ADE9J27HW392 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,=20 the last attempt showed errors, that userjdo class cannot be persisted, b= ecause the class contained no persistence methods=2E I think that's because= the persistence library does some bytecode enhancement and either this doe= s not work in my IDE or the class path for unit test run is not correct=2E= =20 But maybe it has to do with the Jdk issue as mentioned in the ticket=2E I = will try it with another Jdk=2E Greetings Martin Am 16=2E September 2016 05:24:48 MESZ, schrieb Olivier Lamy : >Hi >what sort of errors? >I have some errors too but not for all which is weird=2E >Some are related to the spring plugin which cannot see some xml >files=2E=2E=2E > > >On 14 September 2016 at 20:09, wrote: > >> Hi, >> >> i would like to know, if it's possible to run single unit test >methods of >> archiva in the IDE=2E >> Running the tests with the maven test lifecycle method works fine, >but if >> I try to run it >> directly with Intellij, I get some strange problems that may relate >to the >> classpath=2E >> Seems that the IDE IntelliJ does not use the same classpath as maven >uses >> for running the tests=2E >> If someone has a setup that works, please tell me=2E >> >> Greetings >> >> Martin >> > > > >--=20 >Olivier Lamy >http://twitter=2Ecom/olamy | http://linkedin=2Ecom/in/olamy --=20 Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesende= t=2E ------R51ZHCKQO805I915S5ADE9J27HW392--