Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-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 3A2B710253 for ; Fri, 27 Feb 2015 19:31:00 +0000 (UTC) Received: (qmail 1266 invoked by uid 500); 27 Feb 2015 19:31:00 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 1228 invoked by uid 500); 27 Feb 2015 19:31:00 -0000 Mailing-List: contact dev-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list dev@ignite.incubator.apache.org Received: (qmail 1217 invoked by uid 99); 27 Feb 2015 19:31:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 19:31:00 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 27 Feb 2015 19:30:58 +0000 Received: (qmail 1121 invoked by uid 99); 27 Feb 2015 19:30:38 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 19:30:38 +0000 Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 3B2B01A039A for ; Fri, 27 Feb 2015 19:30:38 +0000 (UTC) Received: by mail-oi0-f49.google.com with SMTP id v63so17331020oia.8 for ; Fri, 27 Feb 2015 11:30:37 -0800 (PST) X-Gm-Message-State: ALoCoQlYMpJNMJWuw+oM5OgCb4roK9QvlBy8Vome7rDJITc8iT/23EO8slJrA3ZzbeyCOGjoBd86 X-Received: by 10.202.69.2 with SMTP id s2mr10336343oia.107.1425065437437; Fri, 27 Feb 2015 11:30:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.223.133 with HTTP; Fri, 27 Feb 2015 11:29:57 -0800 (PST) In-Reply-To: <20150227192506.GX4732@boudnik.org> References: <20150227192506.GX4732@boudnik.org> From: Dmitriy Setrakyan Date: Fri, 27 Feb 2015 14:29:57 -0500 Message-ID: Subject: Re: Running examples To: "dev@ignite.incubator.apache.org" Content-Type: multipart/alternative; boundary=001a113dd41c2e3ccb051016e70f X-Virus-Checked: Checked by ClamAV on apache.org --001a113dd41c2e3ccb051016e70f Content-Type: text/plain; charset=UTF-8 There is also a link to the community forum on the Apache Ignite website: http://apacheignite.readme.io/v1.0/discuss D. On Fri, Feb 27, 2015 at 2:25 PM, Konstantin Boudnik wrote: > I believe apache mailing lists sdo not pass attachments. If you want to > contribute the sbt build - open a JIRA ticket and attach it there. > > Thanks, > Cos > > On Fri, Feb 27, 2015 at 01:01PM, Ognen Duzlevski wrote: > > Alexey, thanks - I figured it out. Attached is a minimal build.sbt > that > > can be used to run an example like the Pi calculation (provided > > src/main/scala/org/so-on-and-so-on contains the code for an example). > > The calculation does run, all I need to do is figure out how to get > rid of > > the following: > > [info] Running > > org.apache.ignite.scalar.examples.ScalarPiCalculationExample > > Can't load log handler > > "org.apache.ignite.logger.java.JavaLoggerFileHandler" > > java.lang.ClassNotFoundException: > > org.apache.ignite.logger.java.JavaLoggerFileHandler > > java.lang.ClassNotFoundException: > > org.apache.ignite.logger.java.JavaLoggerFileHandler > > Thanks, > > Ognen > > On Fri, Feb 27, 2015 at 9:50 AM, Alexey Kuznetsov > > wrote: > > > > Hello Ognen! > > > > Thanks for interesting to Ignite. > > > > Actually we do not work with sbt we work from Intelli JIDEA. > > > > Could you try following: Download Community version of Intelli > JIDEA (it > > is > > free). > > Install scala plugin to it. > > Create new project by importing pom.xml > > Enable scala profile. > > > > Run scala examples. > > > > I created issue https://issues.apache.org/jira/browse/IGNITE-376 > you can > > track it. > > We will investigate. > > On Fri, Feb 27, 2015 at 10:14 PM, Ognen Duzlevski > > > > wrote: > > > > > Hello all, > > > > > > Sorry if this is not the right place to ask this question - I am > new > > to > > > ignite. > > > > > > I downloaded the latest version of apache-ignite and am trying to > run > > the > > > scala examples in the examples/ subdir. > > > > > > However, I am not sure what needs to be done for them to be run. I > > created > > > an sbt project, included the dependencies on the correct libraries > > like > > > ignite-core, ignite-scalar, ignite-examples, however this line > keeps > > > failing from an example such as the Pi calculation: > > > > > > import org.apache.ignite.scalar.scalar > > > > > > If I look at the scala docs there is no scalar.scalar. > > > > > > Are the examples simply too stale? > > > > > > Thanks! > > > > > > > -- > > Alexey Kuznetsov > > GridGain Systems > > www.gridgain.com > > --001a113dd41c2e3ccb051016e70f--