Return-Path: X-Original-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-clerezza-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 9BCCC6051 for ; Sat, 14 May 2011 15:35:41 +0000 (UTC) Received: (qmail 82055 invoked by uid 500); 14 May 2011 15:35:41 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 82026 invoked by uid 500); 14 May 2011 15:35:41 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 82018 invoked by uid 99); 14 May 2011 15:35:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 May 2011 15:35:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anujsays@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 May 2011 15:35:37 +0000 Received: by bwz5 with SMTP id 5so3139708bwz.6 for ; Sat, 14 May 2011 08:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=AEP20aS7gk8+u5CX29Pcarsf+fQDjrotzRWTyPXJdo4=; b=e41gI+o6k1JiyXzKDxxdtXSYfETwknCW/OobTcmODVfbSiXMRg4hVT9rWYATRlJ0Nn zcbSUwcMBzUQacYi/S4IhTdIz1T/hfkc9lvUB1dAo4UyunRi+RClZElrwxrioa0GXbK+ CLSe3jE163KvmGKx8KId0nz2Mf7nz3hA1oAMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tuY7K2BEPgyV1Dw1IVkyS+Mo3bkdlqKJ/d1XArSzfF1mZ3pBoRibsVLHFoUqArq9nw 3F+8gS8O2NepJvmOmzWTyFICv7J+TksY6hQQzxlmZTVaWW6Kb1b8DWl8+LcLnD0+FEEA /jmt+LRfQ4j1UiA7XMY/bmjBQHJWx12A6K3bI= MIME-Version: 1.0 Received: by 10.204.76.83 with SMTP id b19mr2450540bkk.126.1305387315216; Sat, 14 May 2011 08:35:15 -0700 (PDT) Received: by 10.204.22.11 with HTTP; Sat, 14 May 2011 08:35:15 -0700 (PDT) In-Reply-To: References: Date: Sat, 14 May 2011 21:05:15 +0530 Message-ID: Subject: Re: Update to scala 2.9? - Re: Build failure due to stack overflow From: Anuj Kumar To: clerezza-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001636499fbd37c07504a33e2b80 --001636499fbd37c07504a33e2b80 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the info. On Sat, May 14, 2011 at 8:23 PM, Tsuyoshi Ito wrote: > Hi > > We had problems compiling scala (scala server pages) under windows > therefore we created the issue CLEREZZA-339: > > Under windows the stack size has to be changed. > > > Cheers > Tsuy > > On Sat, May 14, 2011 at 4:39 PM, Reto Bachmann-Gmuer > wrote: > > On Fri, May 13, 2011 at 6:02 PM, Henry Story > wrote: > >> A new version of Scala is out. > > Yes, and we could use the DelayedInit Trait for making scala > > renderlets even more compact > > > >> It may be worth trying with that new one one windows > >> just in case. > > Afaict this is the first time compile problem on windows have been > > reported and other people are using windows too. > > > > > >> I am not sure where to make the one change, but is should not be too > >> complicated. > > In general all versions for dependencies used in more than one place > > (i.e. practically all dependencies, as the usually at least one module > > and the launcher depends on them) are in the dependency management > > section of the parent pom. The scala-scripting module has its own > > dependency management section as its not inheriting from parent. > > > > > > Note however that we use the scala compiler and library bundles > > provided by apache service mix. You might want to rise an issue there > > for them to provided 2.9 based bundles. > > > > Reto > > > >> > >> > >> > >> On 13 May 2011, at 17:52, Anuj Kumar wrote: > >> > >>> Ok no luck.. I will use my Linux machine only instead of wasting time > with > >>> Windows :-/ > >>> Thanks Reto, Hasan and Henry for your help. > >>> > >>> Regards, > >>> Anuj > >>> > >>> On Fri, May 13, 2011 at 12:06 AM, Reto Bachmann-Gmuer < > >>> reto.bachmann@trialox.org> wrote: > >>> > >>>> I'd try > >>>> > >>>> MAVEN_OPTS=3D"-Xss1024k -Xmx1g" mvn clean install -o > >>>> > >>>> don't know the syntax for setting MAVEN_OPTS on windows (try an > >>>> invalid setting to make sure maven complains) > >>>> > >>>> Reto > >>>> > >>>> On Thu, May 12, 2011 at 8:27 PM, Anuj Kumar > wrote: > >>>>> Thanks for the response Reto. > >>>>> Yes, I did it earlier but it didn't work. How much should I set it > to? > >>>>> > >>>>> Thanks, > >>>>> Anuj > >>>>> > >>>>> On Thu, May 12, 2011 at 11:50 PM, Reto Bachmann-Gmuer < > >>>>> reto.bachmann@trialox.org> wrote: > >>>>> > >>>>>> On Thu, May 12, 2011 at 8:08 PM, Anuj Kumar > wrote: > >>>>>>> Hi Hasan, > >>>>>>> > >>>>>>> It's Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530). > >>>>>>> Ok, I can try to update that and see if it helps. > >>>>>> I'm using 2.2.1 too. so that can't be the problem. I'd recommend > >>>>>> increasing the satck size with MAVEN_OPTS environment variable. > >>>>>> > >>>>>> Cheers, > >>>>>> Reto > >>>>>> > >>>>>>> > >>>>>>> Thanks, > >>>>>>> Anuj > >>>>>>> > >>>>>>> On Thu, May 12, 2011 at 10:45 PM, Hasan Hasan > >>>> wrote: > >>>>>>> > >>>>>>>> which maven version are you using? > >>>>>>>> I use 3.0 > >>>>>>>> > >>>>>>>> hasan > >>>>>>>> > >>>>>>>> On Thu, May 12, 2011 at 3:31 PM, Anuj Kumar > >>>> wrote: > >>>>>>>> > >>>>>>>>> Hello Everyone, > >>>>>>>>> > >>>>>>>>> I tried to play around with various JVM options as well but it > >>>> isn't > >>>>>>>>> working. > >>>>>>>>> Has anyone else faced similar issue before? > >>>>>>>>> > >>>>>>>>> Thanks, > >>>>>>>>> Anuj > >>>>>>>>> > >>>>>>>>> On Thu, May 12, 2011 at 2:05 PM, Anuj Kumar > >>>>>> wrote: > >>>>>>>>> > >>>>>>>>>> Hi, > >>>>>>>>>> > >>>>>>>>>> On Thu, May 12, 2011 at 12:25 PM, Henry Story < > >>>>>> henry.story@bblfish.net > >>>>>>>>>> wrote: > >>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> On 12 May 2011, at 04:25, Anuj Kumar wrote: > >>>>>>>>>>> > >>>>>>>>>>>> Hello Everyone, > >>>>>>>>>>>> > >>>>>>>>>>>> I have just started with Clerezza project and was trying to > >>>> build > >>>>>>>> the > >>>>>>>>>>> code > >>>>>>>>>>>> base by following this wiki page- > >>>>>>>>>>>> > >>>>>>>>> > >>>>>> > http://incubator.apache.org/clerezza/getting-started/building-clerezza/ > >>>>>>>>>>>> > >>>>>>>>>>>> First observation is that there is no scala-scripting > >>>> directory. > >>>>>>>>>>> > >>>>>>>>>>> Reto just moved that scripting directory yesterday to the > parent > >>>> I > >>>>>>>>> think, > >>>>>>>>>>> so that the whole thing could be built in one go. I think it = is > >>>>>>>>>>> in platform.scripting now > >>>>>>>>>>> > >>>>>>>>>>>> So, I > >>>>>>>>>>>> skipped that point and proceeded to the fourth step. When I > >>>> run > >>>>>> the > >>>>>>>>>>> build > >>>>>>>>>>>> for parent directory, it fails with the StackOverflow error.= I > >>>> am > >>>>>>>>> using > >>>>>>>>>>>> Windows Vista and the memory allocated to maven is 512m. > >>>>>>>>>>>> > >>>>>>>>>>>> What might be the problem? > >>>>>>>>>>> > >>>>>>>>>>> I tried that on OSX a don't get the problem. > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> I think I need to increase the stack size. I will try that as > >>>> soon > >>>>>> as I > >>>>>>>>> get > >>>>>>>>>> access to my laptop and let you know. If it works on OSX then = it > >>>>>> might > >>>>>>>> be > >>>>>>>>> a > >>>>>>>>>> configuration issue with my JVM. Here are the posts that talk > >>>> about > >>>>>>>>> similar > >>>>>>>>>> issues- > >>>>>>>>>> > >>>>>>>>>> http://www.assembla.com/spaces/scala-ide/tickets/1000143 > >>>>>>>>>> > >>>>>>>> > >>>>>> > >>>> > http://groups.google.com/group/scala-ide-user/msg/1f679ad0a6b8b9e6?pli=3D= 1 > >>>>>>>>>> > >>>>>>>>>> Regards, > >>>>>>>>>> Anuj > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>> > >> > >> Social Web Architect > >> http://bblfish.net/ > >> > >> > > > > > > -- > --trialox ag-------------------------------------- > > Tsuyoshi Ito > Binzmuehlestrasse 14 > CH-8050 Z=FCrich > Tel. +41 44 635 75 77 > URL: http://trialox.org > --001636499fbd37c07504a33e2b80--