Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B2C118973 for ; Sat, 27 Feb 2016 10:12:09 +0000 (UTC) Received: (qmail 92047 invoked by uid 500); 27 Feb 2016 10:12:08 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 91994 invoked by uid 500); 27 Feb 2016 10:12:08 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 91984 invoked by uid 99); 27 Feb 2016 10:12:08 -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; Sat, 27 Feb 2016 10:12:08 +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 484CDC0741 for ; Sat, 27 Feb 2016 10:12:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001] autolearn=disabled Received: from mx2-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 BzmbIcUiJCOD for ; Sat, 27 Feb 2016 10:12:06 +0000 (UTC) Received: from amber.s12n.de (amber.s12n.de [109.239.48.183]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id EDF9C5F396 for ; Sat, 27 Feb 2016 10:12:05 +0000 (UTC) Received: from [192.168.2.100] (aftr-88-217-181-227.dynamic.mnet-online.de [88.217.181.227]) by amber.s12n.de (Postfix) with ESMTPSA id E32305F2 for ; Sat, 27 Feb 2016 11:11:58 +0100 (CET) Subject: Re: commons.io removal and Studio To: dev@directory.apache.org References: <56D17277.8050204@gmail.com> From: Stefan Seelmann Message-ID: <56D1765B.2080001@stefan-seelmann.de> Date: Sat, 27 Feb 2016 11:11:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56D17277.8050204@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.98.7 at amber X-Virus-Status: Clean On 02/27/2016 10:55 AM, Emmanuel Lécharny wrote: > Hi Stefan > > I have completely removed commons.io from the LDAP API and ApacheDS? and > I'm now trying to do the same in Studio. It's a bit harder :-) > > First, I removed any dependency on commons.io in all the pom files, then > I rebuilt the project (I faced some issues because the java files > weren't fixed, but that should be easy to fix). > > Nw, when I load the project sin Mars, the places where I used > org.apache.directory.pi.util.FileUtils aren't seing this class. When I > check the .m2 repository (which I doomed before building everytjing, so Normally it's only required to delete ~/.m2/repository/p2 > it was blanck), I see that I have 2 versions of the ldap-util jar : > 1.0.0-M33 and 1.0.0-M34-SNAPSHOT. Obviously, the error I see are due to > the presence of this 1.0.0-M33 depencency, but I don't see where it > pulls it from... Where do you see the two jars? * In folder eclipse-trgt-platform/target/repository/plugins/ ? * Within Eclipse in the project dependencies ? In the 2nd case - did you re-initialize the target platform in Eclipse? * Open the org.apache.directory.studio.eclipse-trgt-platform.target file * Wait till the dependencies are resolved * In the top right corner click 'Set as Target Platform'