continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross, Ed" <Ed.R...@crowncastle.com>
Subject RE: Build environment not being set in continuum project
Date Fri, 05 Mar 2010 15:46:37 GMT

In this test I took out the "tools" but still cannot get the environment variables set any
longer.

Test ant file - will show all properties and environments

-------------------------
<project name="test" default="showEnv">

<target name="showEnv">
  <echoproperties/>
</target>
</project>
------------------------


Project information included a build environment of "CCI-Test"

CCI-test has the following environment items

Installation Name  	Type  	 
Instance isitesDev (isiteDev) 	envvar 	Delete
StarTeam view CCI root (iSite) 	envvar 	Delete
Version 2010 (2010) 	envvar 	Delete
WLS_HOME (c:\bea101) 	envvar 	Delete

---------------------------------------------------------------

Build results

Buildfile: 2010builds\testbuild.xml

showEnv:
[echoproperties] #Ant properties
[echoproperties] #Fri Mar 05 10:40:00 EST 2010
[echoproperties] java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
[echoproperties] sun.boot.library.path=C\:\\Program Files\\Java\\jdk1.5.0_15\\jre\\bin
[echoproperties] java.vm.version=1.5.0_15-b04
[echoproperties] ant.library.dir=C\:\\apache-ant-1.7.1\\lib
[echoproperties] ant.version=Apache Ant version 1.6.5 compiled on June 2 2005
[echoproperties] ant.java.version=1.5
[echoproperties] ant.file.test=C\:\\apache-continuum-1.3.4\\data\\working-directory\\96\\2010builds\\testbuild.xml
[echoproperties] java.vm.vendor=Sun Microsystems Inc.
[echoproperties] java.vendor.url=http\://java.sun.com/
[echoproperties] path.separator=;
[echoproperties] java.vm.name=Java HotSpot(TM) Client VM
[echoproperties] file.encoding.pkg=sun.io
[echoproperties] user.country=US
[echoproperties] sun.java.launcher=SUN_STANDARD
[echoproperties] sun.os.patch.level=Service Pack 2
[echoproperties] java.vm.specification.name=Java Virtual Machine Specification
[echoproperties] user.dir=C\:\\apache-continuum-1.3.4\\data\\working-directory\\96
[echoproperties] java.runtime.version=1.5.0_15-b04
[echoproperties] java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
[echoproperties] basedir=C\:\\apache-continuum-1.3.4\\data\\working-directory\\96\\2010builds
[echoproperties] java.endorsed.dirs=C\:\\Program Files\\Java\\jdk1.5.0_15\\jre\\lib\\endorsed
[echoproperties] os.arch=x86
[echoproperties] java.io.tmpdir=C\:\\Documents and Settings\\zcontinuum\\Local Settings\\Temp\\
[echoproperties] line.separator=\r\n
[echoproperties] java.vm.specification.vendor=Sun Microsystems Inc.
[echoproperties] user.variant=
[echoproperties] os.name=Windows 2003
[echoproperties] ant.home=C\:\\apache-ant-1.7.1
[echoproperties] continuum.project.lastBuild.number=0
[echoproperties] continuum.project.nextBuild.number=1
[echoproperties] ant.project.name=test
[echoproperties] sun.jnu.encoding=Cp1252
[echoproperties] java.library.path=C\:\\Program Files\\Java\\jdk1.5.0_15\\bin;.;C\:\\WINDOWS\\system32;C\:\\WINDOWS;.;C\:\\apache-ant-1.7.1\\bin;C\:\\Program
Files\\Support Tools\\;C\:\\Program Files\\Windows Resource Kits\\Tools\\;C\:\\WINDOWS\\system32;C\:\\WINDOWS;C\:\\WINDOWS\\System32\\Wbem;C\:\\Program
Files\\Java\\jdk1.5.0_15\\bin;C\:\\apache-ant-1.7.1\\bin;C\:\\Program Files\\jEdit;C\:\\Program
Files\\Borland\\StarTeam SDK 9.3\\Lib;C\:\\Program Files\\Borland\\StarTeam SDK 9.3\\Bin;C\:\\Program
Files\\Borland\\StarTeam Cross-Platform Client 2006 R2;C\:\\VisualSVN Server\\bin
[echoproperties] continuum.project.group.name=Development
[echoproperties] java.class.version=49.0
[echoproperties] java.specification.name=Java Platform API Specification
[echoproperties] sun.management.compiler=HotSpot Client Compiler
[echoproperties] os.version=5.2
[echoproperties] ant.file=C\:\\apache-continuum-1.3.4\\data\\working-directory\\96\\2010builds\\testbuild.xml
[echoproperties] user.home=C\:\\Documents and Settings\\zcontinuum
[echoproperties] user.timezone=
[echoproperties] java.awt.printerjob=sun.awt.windows.WPrinterJob
[echoproperties] file.encoding=Cp1252
[echoproperties] java.specification.version=1.5
[echoproperties] user.name=zcontinuum
[echoproperties] java.class.path=C\:\\apache-ant-1.7.1\\lib\\ant-launcher.jar;C\:\\bea10\\wlserver_10.0\\server\\lib\\weblogic.jar;C\:\\apache-ant-1.7.1\\lib\\ant-antlr.jar;C\:\\apache-ant-1.7.1\\lib\\ant-apache-bcel.jar;C\:\\apache-ant-1.7.1\\lib\\ant-apache-bsf.jar;C\:\\apache-ant-1.7.1\\lib\\ant-apache-log4j.jar;C\:\\apache-ant-1.7.1\\lib\\ant-apache-oro.jar;C\:\\apache-ant-1.7.1\\lib\\ant-apache-regexp.jar;C\:\\apache-ant-1.7.1\\lib\\ant-apache-resolver.jar;C\:\\apache-ant-1.7.1\\lib\\ant-commons-logging.jar;C\:\\apache-ant-1.7.1\\lib\\ant-commons-net.jar;C\:\\apache-ant-1.7.1\\lib\\ant-contrib.jar;C\:\\apache-ant-1.7.1\\lib\\ant-jai.jar;C\:\\apache-ant-1.7.1\\lib\\ant-javamail.jar;C\:\\apache-ant-1.7.1\\lib\\ant-jdepend.jar;C\:\\apache-ant-1.7.1\\lib\\ant-jmf.jar;C\:\\apache-ant-1.7.1\\lib\\ant-jsch.jar;C\:\\apache-ant-1.7.1\\lib\\ant-junit.jar;C\:\\apache-ant-1.7.1\\lib\\ant-launcher.jar;C\:\\apache-ant-1.7.1\\lib\\ant-netrexx.jar;C\:\\apache-ant-1.7.1\\lib\\ant-nodeps.jar;C\:\\apache-ant-1.7.1\\lib\\ant-starteam.jar;C\:\\apache-ant-1.7.1\\lib\\ant-stylebook.jar;C\:\\apache-ant-1.7.1\\lib\\ant-swing.jar;C\:\\apache-ant-1.7.1\\lib\\ant-testutil.jar;C\:\\apache-ant-1.7.1\\lib\\ant-trax.jar;C\:\\apache-ant-1.7.1\\lib\\ant-weblogic.jar;C\:\\apache-ant-1.7.1\\lib\\ant.jar;C\:\\apache-ant-1.7.1\\lib\\jsch-0.1.42.jar;C\:\\apache-ant-1.7.1\\lib\\junit-4.4.jar;C\:\\apache-ant-1.7.1\\lib\\ss.jar;C\:\\apache-ant-1.7.1\\lib\\starteam93-resources.jar;C\:\\apache-ant-1.7.1\\lib\\starteam93.jar;C\:\\apache-ant-1.7.1\\lib\\starteam93_win32.jar;C\:\\apache-ant-1.7.1\\lib\\xercesImpl.jar;C\:\\apache-ant-1.7.1\\lib\\xml-apis.jar;C\:\\Program
Files\\Java\\jdk1.5.0_15\\lib\\tools.jar
[echoproperties] continuum.project.name=test
[echoproperties] java.vm.specification.version=1.0
[echoproperties] continuum.project.version=1
[echoproperties] java.home=C\:\\Program Files\\Java\\jdk1.5.0_15\\jre
[echoproperties] sun.arch.data.model=32
[echoproperties] continuum.project.lastBuild.state=10
[echoproperties] java.specification.vendor=Sun Microsystems Inc.
[echoproperties] user.language=en
[echoproperties] awt.toolkit=sun.awt.windows.WToolkit
[echoproperties] java.vm.info=mixed mode
[echoproperties] continuum.project.id=96
[echoproperties] java.version=1.5.0_15
[echoproperties] java.ext.dirs=C\:\\Program Files\\Java\\jdk1.5.0_15\\jre\\lib\\ext
[echoproperties] sun.boot.class.path=C\:\\Program Files\\Java\\jdk1.5.0_15\\jre\\lib\\rt.jar;C\:\\Program
Files\\Java\\jdk1.5.0_15\\jre\\lib\\i18n.jar;C\:\\Program Files\\Java\\jdk1.5.0_15\\jre\\lib\\sunrsasign.jar;C\:\\Program
Files\\Java\\jdk1.5.0_15\\jre\\lib\\jsse.jar;C\:\\Program Files\\Java\\jdk1.5.0_15\\jre\\lib\\jce.jar;C\:\\Program
Files\\Java\\jdk1.5.0_15\\jre\\lib\\charsets.jar;C\:\\Program Files\\Java\\jdk1.5.0_15\\jre\\classes
[echoproperties] java.vendor=Sun Microsystems Inc.
[echoproperties] file.separator=\\
[echoproperties] java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
[echoproperties] sun.cpu.endian=little
[echoproperties] sun.io.unicode.encoding=UnicodeLittle
[echoproperties] sun.desktop=windows
[echoproperties] sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386
i86

BUILD SUCCESSFUL
Total time: 0 seconds

-----------------------------------------------------------------------------------------------------

Continuum log


5 10:39:59,848 [pool-11-thread-1] INFO  action#checkout-project  - Checked out 172 files.
2010-03-05 10:39:59,878 [pool-11-thread-1] INFO  org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor
 - Merging SCM results
2010-03-05 10:39:59,878 [pool-11-thread-1] INFO  org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor
 - Ending prepare build of project: test
2010-03-05 10:39:59,878 [pool-11-thread-1] INFO  org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor
 - Ending prepare build
2010-03-05 10:39:59,908 [pool-11-thread-1] INFO  org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor
 - Performing action create-build-project-task
2010-03-05 10:39:59,918 [pool-11-thread-1] INFO  org.apache.continuum.buildmanager.ParallelBuildsManager
 - Project '96' - 'test' added to overall build queue 'DEFAULT_BUILD_QUEUE'.
2010-03-05 10:39:59,918 [pool-1-thread-2] INFO  org.apache.maven.continuum.buildcontroller.DefaultBuildController
 - Initializing build
2010-03-05 10:39:59,918 [pool-1-thread-2] INFO  org.apache.maven.continuum.buildcontroller.DefaultBuildController
 - Starting build of test
2010-03-05 10:39:59,948 [pool-1-thread-2] INFO  org.apache.maven.continuum.buildcontroller.DefaultBuildController
 - FreshBuild configured, building
2010-03-05 10:39:59,948 [pool-1-thread-2] INFO  org.apache.maven.continuum.buildcontroller.DefaultBuildController
 - Performing action update-project-from-working-directory
2010-03-05 10:39:59,958 [pool-1-thread-2] INFO  action#update-project-from-working-directory
 - Updating project 'test' from checkout.
2010-03-05 10:39:59,978 [pool-1-thread-2] INFO  org.apache.maven.continuum.buildcontroller.DefaultBuildController
 - Performing action execute-builder
2010-03-05 10:40:00,018 [pool-1-thread-2] WARN  org.apache.maven.continuum.execution.ant.AntBuildExecutor
 - Could not find the executable 'ant' in this path: 
2010-03-05 10:40:00,048 [pool-1-thread-2] INFO  org.apache.continuum.utils.shell.DefaultShellCommandHelper
 - Executing: cmd.exe /X /C "ant -f 2010builds/testbuild.xml -Dcontinuum.project.lastBuild.state=10
-Dcontinuum.project.nextBuild.number=1 -Dcontinuum.project.name=test -Dcontinuum.project.id=96
-Dcontinuum.project.version=1 -Dcontinuum.project.group.name=Development -Dcontinuum.project.lastBuild.number=0
showEnv"
2010-03-05 10:40:00,048 [pool-1-thread-2] INFO  org.apache.continuum.utils.shell.DefaultShellCommandHelper
 - Working directory: C:\apache-continuum-1.3.4\data\working-directory\96
2010-03-05 10:40:01,039 [pool-1-thread-2] INFO  org.apache.maven.continuum.execution.ant.AntBuildExecutor
 - Exit code: 0
2010-03-05 10:40:01,119 [pool-1-thread-2] INFO  org.apache.maven.continuum.buildcontroller.DefaultBuildController
 - Performing action deploy-artifact



-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com] 
Sent: Friday, March 05, 2010 10:09 AM
To: users@continuum.apache.org
Subject: Re: Build environment not being set in continuum project

On Fri, Mar 5, 2010 at 9:23 AM, Ross, Ed <Ed.Ross@crowncastle.com> wrote:
> when I create a project that uses that build environment, the java version is  set correct,
the ant version is set correct, however none of the environment variables are set and the
build results summary show the build environment as blank.

I couldn't reproduce the problem with 1.3.4 on OS X with a build
environment that had a Maven build tool and some environment
variables.  The environment variables were set correctly according to
the output of 'env' at the command line.

Can you provide a simple Ant project that has some way to display and
verify the environment variables?

-- 
Wendy


This email may contain confidential or privileged material.  Use or disclosure of it by anyone
other than the recipient is unauthorized.  If you are not an intended recipient, please delete
this email.



Mime
View raw message