From dev-return-8458-apmail-continuum-dev-archive=continuum.apache.org@continuum.apache.org Mon Sep 28 10:14:49 2009 Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 98609 invoked from network); 28 Sep 2009 10:14:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Sep 2009 10:14:49 -0000 Received: (qmail 31443 invoked by uid 500); 28 Sep 2009 10:14:49 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 31356 invoked by uid 500); 28 Sep 2009 10:14:49 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 31341 invoked by uid 99); 28 Sep 2009 10:14:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 10:14:49 +0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,URI_NOVOWEL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 10:14:40 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MsDFL-00061S-Lk for dev@continuum.apache.org; Mon, 28 Sep 2009 03:14:19 -0700 Message-ID: <25643382.post@talk.nabble.com> Date: Mon, 28 Sep 2009 03:14:19 -0700 (PDT) From: yanke To: dev@continuum.apache.org Subject: Re: Continuum v1.3.4 not using "Build Environment"? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: yanke@dplanet.ch References: <25530385.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Marica, thanks for your suggestion. Ma error was because I was specifying JAVA environment variables in JAVA_OPTS or directly as -D... parameter I now tested defining all my variables inside MAVEN_OPTS installation valriable and it is now working perfectly. Thanks for your help, bye, Yanke Marica Tan-2 wrote: > > Hi Yanke, > Could you turn on the debug and see if it's included? > > The environment variables are added in the commandline environment so it > won't show up unless you turn on the debug mode. > > You'll see something similar to this: > > 2009-09-22 09:48:29,952 [pool-1-thread-1] DEBUG > org.apache.continuum.utils.shell.DefaultShellCommandHelper - > EnvironmentVariables [MAVEN_TERMINATE_CMD=on, MAVEN_OPTS=-Xms512m > -Xmx512m, > M2_HOME=/opt/maven-2.0.9] > > -- > Marica > > > On Tue, Sep 22, 2009 at 12:00 AM, yanke wrote: > >> >> Hi, >> In Continuum 1.3.4 I have 2 different "Build Environments" each one using >> some Installation variables I defined: >> 1) Default: JDK=1.6, Maven=2.0.9, envvar java.awt.headless=true >> 2) OLD: JDK=1.5, Maven=2.0.7, envvar java.awt.headless=true >> >> When I run clean install on continuum using the DEFAULT Build Environment >> I >> see (with ps -ef | grep mvn) the following process started: >> 2009-09-21 16:19:49,070 [pool-1-thread-14] INFO >> org.apache.continuum.utils.shell.DefaultShellCommandHelper - Executing: >> /bin/sh -c cd >> /data01/j2eeapp/tmp/continuum-1.3.4/data/working-directory/47 >> && /data/j2eeapp/opt/maven/maven-2.0.9/bin/mvn --batch-mode >> -Dcontinuum.project.lastBuild.state=2 >> -Dcontinuum.project.nextBuild.number=7 >> -Dcontinuum.project.name=XXXXXXX -Dcontinuum.project.id=47 >> -Dcontinuum.project.version=01.00.00.03-SNAPSHOT >> '-Dcontinuum.project.group.name=XXX Common' >> -Dcontinuum.project.lastBuild.number=6 >> -Dmaven.repo.local=/data/j2eeapp/home_j2ee/.m2/repository/ clean install >> >> If I start the same Build Definition with OLD Build Environment I see the >> following process: >> 2009-09-21 16:19:49,070 [pool-1-thread-14] INFO >> org.apache.continuum.utils.shell.DefaultShellCommandHelper - Executing: >> /bin/sh -c cd >> /data01/j2eeapp/tmp/continuum-1.3.4/data/working-directory/47 >> && /data/j2eeapp/opt/maven/maven-2.0.7/bin/mvn --batch-mode >> -Dcontinuum.project.lastBuild.state=2 >> -Dcontinuum.project.nextBuild.number=7 >> -Dcontinuum.project.name=XXXXXXX -Dcontinuum.project.id=47 >> -Dcontinuum.project.version=01.00.00.03-SNAPSHOT >> '-Dcontinuum.project.group.name=XXX Common' >> -Dcontinuum.project.lastBuild.number=6 >> -Dmaven.repo.local=/data/j2eeapp/home_j2ee/.m2/repository/ clean install >> >> I would have expected to see also the -Djava.awt.headless=true variable >> passed to these commands. >> >> Why is it not used? what am I doing wrong? >> Do you know where I can find some documentation about setting envvar? >> (continuum site only explains Tool settings) >> >> thanks in advance, >> Yanke >> -- >> View this message in context: >> http://www.nabble.com/Continuum-v1.3.4-not-using-%22Build-Environment%22--tp25530385p25530385.html >> Sent from the Continuum - Dev mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Continuum-v1.3.4-not-using-%22Build-Environment%22--tp25546439p25643382.html Sent from the Continuum - Dev mailing list archive at Nabble.com.