Return-Path: X-Original-To: apmail-mahout-user-archive@www.apache.org Delivered-To: apmail-mahout-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7681CD379 for ; Mon, 24 Dec 2012 09:39:43 +0000 (UTC) Received: (qmail 23737 invoked by uid 500); 24 Dec 2012 09:39:41 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 23672 invoked by uid 500); 24 Dec 2012 09:39:41 -0000 Mailing-List: contact user-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mahout.apache.org Delivered-To: mailing list user@mahout.apache.org Received: (qmail 23644 invoked by uid 99); 24 Dec 2012 09:39:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Dec 2012 09:39:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of robinchesterman@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-we0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Dec 2012 09:39:32 +0000 Received: by mail-we0-f172.google.com with SMTP id r3so3272323wey.3 for ; Mon, 24 Dec 2012 01:39:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:references:from:content-type:x-mailer :in-reply-to:message-id:date:to:content-transfer-encoding :mime-version; bh=5af6KrJm7QsdAs7iqLqRj6myMkTgEZHqGF/nzu6oGYM=; b=rpWRVGIAnZWu5TAp+5Icz4xleSMtQ6r4IxFI+5pyC0Ad6JjlVW0WrLgRqw4/JqHJEY OOadsAIi9KwVXWfrn6R4gCwtuW1gAHVIGpOUCZjipPAmyLvVqZYOaCYp396KxSqAkcsm NB3s+vjHTPDHVEcpz/Mx/XsXuoYiCM+M9OiPmokcZcPb3YpFlxWINXxaeBxj0EwAgu/F BdeGNAd5iNFru1IIcvwvOC/3cgW41NN8slWYtW33shf4WvJYJV0dVge9pgnXZ2VnJici uvdJI6yAS7ilnkgVRGqV5FD0rRWLoq0U1u8+aZBJvR7gSqcj5mweyIAA9nL5cIVJNH3T kUSw== X-Received: by 10.194.9.4 with SMTP id v4mr34769420wja.50.1356341951847; Mon, 24 Dec 2012 01:39:11 -0800 (PST) Received: from [192.168.1.66] (host86-149-214-135.range86-149.btcentralplus.com. [86.149.214.135]) by mx.google.com with ESMTPS id w5sm42232077wif.11.2012.12.24.01.39.08 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Dec 2012 01:39:10 -0800 (PST) Subject: Re: Build error References: <50D7CEE2.9070203@beavercreekconsulting.com> From: Robin Chesterman Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (9B206) In-Reply-To: Message-Id: Date: Mon, 24 Dec 2012 09:39:08 +0000 To: "user@mahout.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Virus-Checked: Checked by ClamAV on apache.org Thanks for shedding some light on this. I tried with NetBeans and had no tro= uble (once I skipped tests) and then when I opened in subsequently in Intell= iJ, it worked as well. I guess IJ does struggle with the first build as you d= escribe. Cheers. On 24 Dec 2012, at 04:48, Ted Dunning wrote: > I didn't mean to give the impression that IntelliJ doesn't work. It does.= >=20 > The issue is that it doesn't understand the custom source generation plugi= n > that Mahout math uses. That means that you have to do the first build > using maven. =46rom there, you should be good. You may need to regenerat= e > code if you change the templates (very, very rare). >=20 > On Sun, Dec 23, 2012 at 7:41 PM, Marty Kube < > martykube@beavercreekconsulting.com> wrote: >=20 >> I've been using eclipse for many years and gave up using it on pom based >> projects for the same issues you raise. IMHO NetBeans works really well >> for maven projects. >>=20 >> On 12/23/2012 04:42 PM, Ted Dunning wrote: >>=20 >>> To amplify others comments, make sure that when you open the Mahout >>> project, you actually just open the pom.xml file at the top-level. It i= s >>> a >>> bad idea to try to do anything like import existing sources because a >>> significant amount of the code is generate which would make a naively >>> configured. compilation break. >>>=20 >>> IntelliJ is smart enough to treat a pom as a project and will mostly do >>> the >>> right thing. One thing that it tends not to do is to actually generate >>> the >>> code in the math library. I would recommend doing one build using maven= >>> before depending completely on IntelliJ's internal build. Using >>> -DskipTests can save a lot of time on that build. >>>=20 >>> On Sun, Dec 23, 2012 at 4:30 AM, Robin Chesterman < >>> robinchesterman@gmail.com >>>=20 >>>> wrote: >>>> Hi everyone, I'm just starting out with Mahout - just bought Mahout in >>>> Action! >>>>=20 >>>> I'm using IntelliJ idea and got the latest Mahout from git, but it come= s >>>> up >>>> with about a hundred or so errors when I build the project (exclusively= >>>> in >>>> the 'math' section), such as: >>>>=20 >>>> import org.apache.mahout.math.set.**OpenIntHashSet; >>>>=20 >>>> "Cannot resolve symbol OpenIntHashSet" >>>>=20 >>>> Similar problems exist for DoubleArrayList, DoubleDoubleProcedure, and >>>> others. >>>>=20 >>>>=20 >>>> Sure enough, none of these classes exist. I must be making a basic >>>> error... >>>>=20 >>>>=20 >>>> Thanks, >>>>=20 >>>>=20 >>>> Robin >>>>=20 >>>>=20 >>=20