Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 57160 invoked from network); 2 Aug 2007 15:59:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 15:59:51 -0000 Received: (qmail 74446 invoked by uid 500); 2 Aug 2007 15:59:49 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 74427 invoked by uid 500); 2 Aug 2007 15:59:49 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 74416 invoked by uid 99); 2 Aug 2007 15:59:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 08:59:49 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dantran@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 15:59:42 +0000 Received: by ug-out-1314.google.com with SMTP id 34so434982ugf for ; Thu, 02 Aug 2007 08:59:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EUlESPrb17v2F3WG9rkkDjztscowLKyY45xG8BgmDin9qDYBwghTaWBDf7nNymQOACnEoNOXbec9CC330r0uDIIAVr3cd2uWMonQjnhNtNYM1Y8jrJsRVREhXZBpU1rvyxTVNpMy3fYm8fVDGIYglrY9JrHbxq2bvvnJPfmPdXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NvYtFG380Hq6761TAnpA+nweANMGO+DYlotFoHO/yczXmGG9/Jm+0WdI7/rKbn5O7BY8R4GEcKHSUhUqtjfiztc+4H+OQd/zIhmO+Xoae6dNOoTehQ2TG2kGlXaeLhzxi8j0TFHb9i6Fd/+WuAJwacMXtGsm460rYIcZm0mAV1M= Received: by 10.78.131.8 with SMTP id e8mr598515hud.1186070361195; Thu, 02 Aug 2007 08:59:21 -0700 (PDT) Received: by 10.78.130.16 with HTTP; Thu, 2 Aug 2007 08:59:21 -0700 (PDT) Message-ID: Date: Thu, 2 Aug 2007 08:59:21 -0700 From: "Dan Tran" To: continuum-users@maven.apache.org Subject: Re: Setting home in continuum windows service In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_45791_161014.1186070361166" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_45791_161014.1186070361166 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline see if you can use this link to reconfigure your NT startup command/params http://wrapper.tanukisoftware.org/doc/english/props-envvars.html -D On 8/2/07, Oscar Picasso wrote: > > Hi, > > I want the builds launched by continuum to use jdk1.5 while the default in > my windows machine is jdk1.4. > > When doing a manual start with run.bat it can be done by setting the > JAVA_HOME in run.bat like that: > > [...] > rem At runtime, the current directory will be that of Wrapper.exe > rem > :startup > set JAVA_HOME=D:\Programs\jdk1.5.0_07 > "%_APP_HOME%wrapper.exe" -c %_WRAPPER_CONF% > if not errorlevel 1 goto end > pause > [...] > > > However I am not able to do that when installing continuum as a service. > > I have tried to change the InstallService.bat with: > [...] > :startup > set JAVA_HOME=D:\Programs\jdk1.5.0_07 > "Wrapper.exe" -i %_WRAPPER_CONF% > if not errorlevel 1 goto end > pause > > :end > [...] > > but the builds in that case still use jkd1.4. > > > Any idea ? > > Thanks > > Oscar > ------=_Part_45791_161014.1186070361166--