Return-Path: X-Original-To: apmail-incubator-general-archive@www.apache.org Delivered-To: apmail-incubator-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A1D5D586 for ; Wed, 5 Dec 2012 08:24:28 +0000 (UTC) Received: (qmail 9893 invoked by uid 500); 5 Dec 2012 08:24:26 -0000 Delivered-To: apmail-incubator-general-archive@incubator.apache.org Received: (qmail 8924 invoked by uid 500); 5 Dec 2012 08:24:25 -0000 Mailing-List: contact general-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@incubator.apache.org Delivered-To: mailing list general@incubator.apache.org Delivered-To: moderator for general@incubator.apache.org Received: (qmail 85422 invoked by uid 99); 4 Dec 2012 12:16:21 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daniel.haischt@gmail.com designates 209.85.215.47 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=t8QP5vWkNCpfLwpQEXTMGJD+CmPwmddf/v72WB8mUo8=; b=HWrzkB3eX9GUzO6I9vFTEL8PuB4gTdSWjd+Rv5gDBHBusf0hllAmXQ05mMnUjjQynM Qx4JIEMhp9Df169hv0TiuXBCsXi5vlse8rRbxo4d5kTmVV/4LVRnv9bh8utvt8arSKEG yu218O5XEYA9PoE1LfhMJsq1yY5idTgJszzqIl91T+qs8zixCqupi7NLb69oyXnPUPSF YhWxzAUWPLULrrMVyh6d+d8+NH9RbO0ruMr7pHCruQiyc9EbIm7X/EpU0+CXaswUSDwx wdCW3QX3iyEIMQU1qlz2t1l3eaGatHaStLpeizN/waoBTKUw0D6Vv1vND2RROU2Oe8lZ hSQw== MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 4 Dec 2012 13:15:51 +0100 Message-ID: Subject: Re: "Obfuscating' 3rd party jars From: dsh To: general@incubator.apache.org Content-Type: multipart/alternative; boundary=bcaec5555402b0b3ac04d005d358 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5555402b0b3ac04d005d358 Content-Type: text/plain; charset=ISO-8859-1 If Emma "enacts" your bytecode like Cobertura does for instance, you may consider not shipping such bytecode as well. Instead ship the one without debug symbols and the one which hasn't been "enacted" to be consumed by code coverage tools et al. Cheers Daniel On Tue, Dec 4, 2012 at 12:36 PM, Benson Margulies wrote: > On Tue, Dec 4, 2012 at 12:35 AM, Michael MacFadden > wrote: > > Benson, > > > > I agree. There was some progress in mavenizing the build. I suspect > that > > that solution will take some time. The build process is somewhat > > complicated at the moment, if this is the long term solution, we may need > > to do something simpler to start off with. > > > > In the case of Junit, we should probably be able to remove it from a > > binary release. There is no reason to include it in my mind since it's > > only used during the build. Not sure on emma. Regardless a temporary > > work around would be to remove them and simply required the users to > > download them. We could even provide a simple script to do that. > > Now you are thinking in the usual ASF terms. Use a build tool, or tell > users to download. > > Emma is a code coverage tool, so it should just be like junit: > certainly not in a runtime package, and, if not at least 'category b', > 'download it yourself' in the source release. > > > > > > ~Michael > > > > > > > > On 12/3/12 3:45 PM, "Benson Margulies" wrote: > > > >>On Mon, Dec 3, 2012 at 4:39 PM, Michael MacFadden > >> wrote: > >>> Benson, > >>> > >>> Yes, Angus had been working this issue for us and found a few third > >>>party > >>> Jars. Here is an extract from his email: > >>> > >>> ---------- > >>> There's a couple of things going on at once at the moment: > >>> -i'm in contact with the libIDN author, who is happy to release the > >>> software under the Apache license, which means we can keep using that > >>>once > >>> a new release comes out > >>> -the other two libraries junit and emma both think the best option is > to > >>> obfuscate the code somehow like ant, if anyone has any experience in > >>>doing > >>> it speaking up would be greatly appreciated > >>> ----------- > >>> > >>> > >>> Apparently, there is some precedent for obfuscating third party jars. > >>>My > >>> assumption is that something about the license views distributing Java > >>> jars as being akin to a source distribution do to the ease of > >>> decompilation. > >> > >>I cannot think of any reason why any Apache project should be > >>concerned with obfuscation or decompilation. We are open source, and > >>our dependencies are open source. Junit is a testing tool, so you > >>should never need to redistribute it, just arrange to have it > >>available for builds, and maven or ant/ivy will do that, and the same > >>with emma, which is another development tool. > >> > >>There are many examples of this at other project. If it would be > >>helpful, I could join the dev list to help with the discussion here. > >> > >> > >> > >>> > >>> Angus, > >>> > >>> Can you she some light on this? > >>> > >>> ~Michael > >>> > >>> On 12/3/12 12:54 PM, "Benson Margulies" wrote: > >>> > >>>>Dear Wave, > >>>> > >>>>I don't understand the remark in your report about the need to > >>>>'obfuscate' third party jar files. Could you please elaborate? Do you > >>>>have problems with dependencies with incompatible licenses, or > >>>>something else? > >>>> > >>>>Thanks, > >>>>Benson > >>>> > >>>>--------------------------------------------------------------------- > >>>>To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org > >>>>For additional commands, e-mail: general-help@incubator.apache.org > >>>> > >>> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org > >>> For additional commands, e-mail: general-help@incubator.apache.org > >>> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org > >>For additional commands, e-mail: general-help@incubator.apache.org > >> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org > > For additional commands, e-mail: general-help@incubator.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org > For additional commands, e-mail: general-help@incubator.apache.org > > --bcaec5555402b0b3ac04d005d358--