Return-Path: X-Original-To: apmail-groovy-dev-archive@minotaur.apache.org Delivered-To: apmail-groovy-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 17B9A18082 for ; Wed, 27 May 2015 09:04:17 +0000 (UTC) Received: (qmail 32271 invoked by uid 500); 27 May 2015 09:04:17 -0000 Delivered-To: apmail-groovy-dev-archive@groovy.apache.org Received: (qmail 32244 invoked by uid 500); 27 May 2015 09:04:17 -0000 Mailing-List: contact dev-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.incubator.apache.org Delivered-To: mailing list dev@groovy.incubator.apache.org Received: (qmail 32234 invoked by uid 99); 27 May 2015 09:04:16 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 09:04:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 49FBDC90AD for ; Wed, 27 May 2015 09:04:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.2 X-Spam-Level: ** X-Spam-Status: No, score=2.2 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZdTSgbNjztgN for ; Wed, 27 May 2015 09:04:08 +0000 (UTC) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id EEC4F22F8A for ; Wed, 27 May 2015 09:04:07 +0000 (UTC) Received: by wicmc15 with SMTP id mc15so87175262wic.1 for ; Wed, 27 May 2015 02:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=3NyTKV7ut9oP7fLQ+pQDEPs5AIJFC2z8+Zvh8lRJ6uI=; b=Orvlj831UOmJi2nTfsvD0wVjbRog8FHDK67DHv94G92fWKVOa2Gfxcn2vi6JFwKZD8 mPqP2K5CKZo5cAvodTKFjeIWJBQWYC0f0vFvs8Ah28tD5zcGu9/SFnXoz2ETRKXYb1Ht oKUccf0k/+hY09xNt/eiGNMDTrObVYQK/Yvpm1lC7ys3AJWtJZWO1WEaXu4b3y5sc25P P6XRn1OFF4fbNFQFn0LlQ7kZL3XBUFiA9DiJAYwVgGF5S8Ppap04bhA2W3JWXyFwr1fc KRXKpK3odfQ7rxj6TTYzkCBwZqzh6DOHpuoqJ3ATdRIX4tns4aY4qHX34bySKbioFGQI eQyA== X-Received: by 10.180.8.98 with SMTP id q2mr49658129wia.53.1432717401750; Wed, 27 May 2015 02:03:21 -0700 (PDT) Received: from [192.168.0.108] (mgu85-1-88-121-56-36.fbx.proxad.net. [88.121.56.36]) by mx.google.com with ESMTPSA id df1sm2570277wib.12.2015.05.27.02.03.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 May 2015 02:03:21 -0700 (PDT) Message-ID: <55658856.4030502@gmail.com> Date: Wed, 27 May 2015 11:03:18 +0200 From: =?UTF-8?B?Q8OpZHJpYyBDaGFtcGVhdQ==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: dev@groovy.incubator.apache.org Subject: Re: Unit tests from IDE References: <5565803B.6060907@gmail.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------030401020602090701030101" This is a multi-part message in MIME format. --------------030401020602090701030101 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 05/27/2015 11:01 AM, Peter Ledbrook wrote: > > What Gradle tasks did you run before? It's worth knowing that if > you run > ./gradlew jarAll or any task that depends on it, the jar will be > modified (jarjared) and it will break IDE support. Fixing is as > easy as > running ./gradlew jar. > > > I started with > > ./gradlew jarAll idea > > and then opened the project in the IDE. Since then, I think I've only run > > ./gradlew test > > since then. Note that the project README says to run `jarAll` and > `idea` together. Is the information incorrect? > It is likely outdated. I think it should be `jar` and `idea` together. > Thanks, > > Peter -- Cédric Champeau Groovy language developer http://twitter.com/CedricChampeau http://melix.github.io/blog --------------030401020602090701030101 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 05/27/2015 11:01 AM, Peter Ledbrook wrote:
What Gradle tasks did you run before? It's worth knowing that if you run
./gradlew jarAll or any task that depends on it, the jar will be
modified (jarjared) and it will break IDE support. Fixing is as easy as
running ./gradlew jar.

I started with

    ./gradlew jarAll idea  

and then opened the project in the IDE. Since then, I think I've only run

    ./gradlew test

since then. Note that the project README says to run `jarAll` and `idea` together. Is the information incorrect?

It is likely outdated. I think it should be `jar` and `idea` together.
Thanks,

Peter


-- 
Cédric Champeau
Groovy language developer
http://twitter.com/CedricChampeau
http://melix.github.io/blog

--------------030401020602090701030101--