build.xml:28: exec returned: 255

1,892 views
Skip to first unread message

Graham Little

unread,
Apr 17, 2014, 5:26:19 AM4/17/14
to jenkins...@googlegroups.com
Hi,

I am running an ANT build task on a windows 7 64 bit machine as an agent process. I first test the build.xml script executes correctly from the command prompt using just ANT to do so and it does. However, when the same build.xml is run through Jenkins I am getting a somewhat strange error, and the console output is included below. In BOLD text you can see the suspect areas, for some reason when called through Jenkins the highlighted text is being injected somehow, and i don't know what is causing it. I have also included the working console output to show the difference. Thanks in advance for any suggestions and helpful comments.

all the best

FAILING OUTPUT

Started by user Graham Little
Building remotely on Graham Virtual Build Server Windows 7 64 in workspace c:\jenkins\workspace\knidosamq_cpp_ftljms_windows
Updating https://XXXXXX/XXXXX/knidos4amq_cpp/branches/ftljms at revision '2014-04-17T11:45:29.564 +0300'
At revision 41628
no change for https://XXXXXX/XXXX/knidos4amq_cpp/branches/ftljms since the previous build
[fltjms] $ cmd.exe /C '"C:\Env\apache-ant-1.8.2\bin\ant.bat -file build.xml && exit %%ERRORLEVEL%%"'
Buildfile: c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms\build.xml

clean:
     [echo] Deleting the dist folder -> c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms\dist

init:
[echoproperties] #Ant properties
[echoproperties] #Thu Apr 17 11:45:40 FET 2014
[echoproperties] DSTAMP=20140417
[echoproperties] TODAY=April 17 2014
[echoproperties] TSTAMP=1145
[echoproperties] ant.core.lib=C\:\\Env\\apache-ant-1.8.2\\lib\\ant.jar
[echoproperties] ant.file=c\:\\jenkins\\workspace\\knidosamq_cpp_ftljms_windows\\knidos\\knidos4amq_cpp\\branches\\fltjms\\build.xml
[echoproperties] ant.file.knidos4amq_cpp_ftl_build=c\:\\jenkins\\workspace\\knidosamq_cpp_ftljms_windows\\knidos\\knidos4amq_cpp\\branches\\fltjms\\build.xml
[echoproperties] ant.file.type=file
[echoproperties] ant.file.type.knidos4amq_cpp_ftl_build=file
[echoproperties] ant.home=C\:\\Env\\apache-ant-1.8.2
[echoproperties] ant.java.version=1.7
[echoproperties] ant.library.dir=C\:\\Env\\apache-ant-1.8.2\\lib
[echoproperties] ant.project.default-target=cleandist
[echoproperties] ant.project.invoked-targets=cleandist
[echoproperties] ant.project.name=knidos4amq_cpp_ftl_build
[echoproperties] ant.version=Apache Ant(TM) version 1.8.2 compiled on December 20 2010
[echoproperties] awt.toolkit=sun.awt.windows.WToolkit
[echoproperties] basedir=c\:\\jenkins\\workspace\\knidosamq_cpp_ftljms_windows\\knidos\\knidos4amq_cpp\\branches\\fltjms
[echoproperties] clientapi-version=6.06-321
[echoproperties] dist=c\:\\jenkins\\workspace\\knidosamq_cpp_ftljms_windows\\knidos\\knidos4amq_cpp\\branches\\fltjms\\dist
[echoproperties] file.encoding=Cp1252
[echoproperties] file.encoding.pkg=sun.io
[echoproperties] file.separator=\\
[echoproperties] ftljms-version=1.7.1-509
[echoproperties] java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
[echoproperties] java.awt.printerjob=sun.awt.windows.WPrinterJob
[echoproperties] java.class.path=C\:\\Env\\apache-ant-1.8.2\\lib\\ant-launcher.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-antlr.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-apache-bcel.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-apache-bsf.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-apache-log4j.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-apache-oro.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-apache-regexp.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-apache-resolver.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-apache-xalan2.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-commons-logging.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-commons-net.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-jai.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-javamail.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-jdepend.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-jmf.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-jsch.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-junit.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-junit4.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-launcher.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-netrexx.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-swing.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-testutil.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant.jar;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\lib\\tools.jar
[echoproperties] java.class.version=51.0
[echoproperties] java.endorsed.dirs=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\endorsed
[echoproperties] java.ext.dirs=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\ext;C\:\\Windows\\Sun\\Java\\lib\\ext
[echoproperties] java.home=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre
[echoproperties] java.io.tmpdir=C\:\\Users\\aspone\\AppData\\Local\\Temp\\
[echoproperties] java.library.path=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\bin;C\:\\Windows\\Sun\\Java\\bin;C\:\\Windows\\system32;C\:\\Windows;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51/bin;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51/bin;C\:\\Program Files (x86)\\Java\\jre7\\bin;C\:\\Program Files (x86)\\Internet Explorer;;C\:\\Windows\\system32;C\:\\Windows;C\:\\Windows\\System32\\Wbem;C\:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C\:\\Env\\maven\\bin;C\:\\Program Files\\TortoiseSVN\\bin;;C\:\\Env\\apache-ant-1.8.2\\bin;c\:\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn\\;c\:\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn\\;c\:\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn\\;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\bin;C\:\\Program Files\\Microsoft Windows Performance Toolkit\\;"C\:\\Program Files (x86)\\Java\\jre7\\bin";.
[echoproperties] java.runtime.name=Java(TM) SE Runtime Environment
[echoproperties] java.runtime.version=1.7.0_51-b13
[echoproperties] java.specification.name=Java Platform API Specification
[echoproperties] java.specification.vendor=Oracle Corporation
[echoproperties] java.specification.version=1.7
[echoproperties] java.vendor=Oracle Corporation
[echoproperties] java.vendor.url=http\://java.oracle.com/
[echoproperties] java.vendor.url.bug=http\://bugreport.sun.com/bugreport/
[echoproperties] java.version=1.7.0_51
[echoproperties] java.vm.info=mixed mode, sharing
[echoproperties] java.vm.name=Java HotSpot(TM) Client VM
[echoproperties] java.vm.specification.name=Java Virtual Machine Specification
[echoproperties] java.vm.specification.vendor=Oracle Corporation
[echoproperties] java.vm.specification.version=1.7
[echoproperties] java.vm.vendor=Oracle Corporation
[echoproperties] java.vm.version=24.51-b03
[echoproperties] line.separator=\r\n
[echoproperties] os.arch=x86
[echoproperties] os.name=Windows 7
[echoproperties] os.version=6.1
[echoproperties] path.separator=;
[echoproperties] sun.arch.data.model=32
[echoproperties] sun.boot.class.path=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\resources.jar;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\rt.jar;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\sunrsasign.jar;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\jsse.jar;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\jce.jar;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\charsets.jar;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\jfr.jar;C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\classes
[echoproperties] sun.boot.library.path=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\bin
[echoproperties] sun.cpu.endian=little
[echoproperties] sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
[echoproperties] sun.desktop=windows
[echoproperties] sun.io.unicode.encoding=UnicodeLittle
[echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher -file build.xml
[echoproperties] sun.java.launcher=SUN_STANDARD
[echoproperties] sun.jnu.encoding=Cp1252
[echoproperties] sun.management.compiler=HotSpot Client Compiler
[echoproperties] sun.os.patch.level=Service Pack 1
[echoproperties] user.country=US
[echoproperties] user.dir=c\:\\jenkins\\workspace\\knidosamq_cpp_ftljms_windows\\knidos\\knidos4amq_cpp\\branches\\fltjms
[echoproperties] user.home=C\:\\Users\\aspone
[echoproperties] user.language=en
[echoproperties] user.name=aspone
[echoproperties] user.script=
[echoproperties] user.timezone=
[echoproperties] user.variant=

compile:
     [echo] Recompiling and building the debug and release versions of libs and samples using the external bat file > > >
     [exec]
     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>echo Run the visual studio 64 bit environment settings
     [exec] Run the visual studio 64 bit environment settings
     [exec]
     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64
     [exec]
     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>if "amd64" == "" goto x86
     [exec]
     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>if not "" == "" goto usage
     [exec]
     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>if /I amd64 == x86 goto x86
     [exec]
     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>if /I amd64 == amd64 goto amd64
     [exec]
     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>if not exist "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat" goto missing
     [exec]
     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat"
     [exec] Setting environment for using Microsoft Visual St\Java\jre7\bin"" was unexpected at this time.
     [exec] udio 2008 Beta2 x64 tools.

     [exec] c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms>    set "PATH=C:\Program Files\Microsoft SDKs\Windows\v7.0\bin\x64;C:\Program Files\Microsoft SDKs\Windows\v7.0\bin\win64\x64;C:\Program Files\Microsoft SDKs\Windows\v7.0\bin;C:\Program Files (x86)\Java\jdk1.7.0_51/bin;C:\Program Files (x86)\Java\jdk1.7.0_51/bin;C:\Program Files (x86)\Java\jre7\bin;C:\Program Files (x86)\Internet Explorer;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Env\maven\bin;C:\Program Files\TortoiseSVN\bin;;C:\Env\apache-ant-1.8.2\bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Java\jdk1.7.0_51\bin;C:\Program Files\Microsoft Windows Performance Toolkit\;"C:\Program Files (x86)\Java\jre7\bin""

BUILD FAILED
c:\jenkins\workspace\knidosamq_cpp_ftljms_windows\knidos\knidos4amq_cpp\branches\fltjms\build.xml:28: exec returned: 255

Total time: 0 seconds
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE


WORKING OUTPUT


c:\Build\KnidosamqCpp>ant -buildfile build.xml
Buildfile: c:\Build\KnidosamqCpp\build.xml

clean:
     [echo] Deleting the dist folder -> c:\Build\KnidosamqCpp\dist
   [delete] Deleting directory c:\Build\KnidosamqCpp\dist

init:
[echoproperties] #Ant properties
[echoproperties] #Thu Apr 17 12:24:45 FET 2014
[echoproperties] DSTAMP=20140417
[echoproperties] TODAY=April 17 2014
[echoproperties] TSTAMP=1224
[echoproperties] ant.core.lib=C\:\\Env\\apache-ant-1.8.2\\lib\\ant.jar
[echoproperties] ant.file=c\:\\Build\\KnidosamqCpp\\build.xml
[echoproperties] ant.file.knidos4amq_cpp_ftl_build=c\:\\Build\\KnidosamqCpp\\build.xml
[echoproperties] ant.file.type=file
[echoproperties] ant.file.type.knidos4amq_cpp_ftl_build=file
[echoproperties] ant.home=C\:\\Env\\apache-ant-1.8.2
[echoproperties] ant.java.version=1.7
[echoproperties] ant.library.dir=C\:\\Env\\apache-ant-1.8.2\\lib
[echoproperties] ant.project.default-target=cleandist
[echoproperties] ant.project.invoked-targets=cleandist
[echoproperties] ant.project.name=knidos4amq_cpp_ftl_build
[echoproperties] ant.version=Apache Ant(TM) version 1.8.2 compiled on December 20 2010
[echoproperties] awt.toolkit=sun.awt.windows.WToolkit
[echoproperties] basedir=c\:\\Build\\KnidosamqCpp
[echoproperties] clientapi-version=6.06-321
[echoproperties] dist=c\:\\Build\\KnidosamqCpp\\dist
[echoproperties] file.encoding=Cp1252
[echoproperties] file.encoding.pkg=sun.io
[echoproperties] file.separator=\\
[echoproperties] ftljms-version=1.7.1-509
[echoproperties] java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
[echoproperties] java.awt.printerjob=sun.awt.windows.WPrinterJob
[echoproperties] java.class.path=C\:\\Env\\apache-ant-1.8.2\\lib\\ant-launcher.jar;C\:\\Env\\apache-ant-1.8.2\\lib\\ant-antlr.jar;C\:\\Env\\apac
[echoproperties] java.class.version=51.0
[echoproperties] java.endorsed.dirs=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\endorsed
[echoproperties] java.ext.dirs=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\ext;C\:\\Windows\\Sun\\Java\\lib\\ext
[echoproperties] java.home=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre
[echoproperties] java.io.tmpdir=C\:\\Users\\aspone\\AppData\\Local\\Temp\\
[echoproperties] java.library.path=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\bin;C\:\\Windows\\Sun\\Java\\bin;C\:\\Windows\\system32;C\:\\Win
[echoproperties] java.runtime.name=Java(TM) SE Runtime Environment
[echoproperties] java.runtime.version=1.7.0_51-b13
[echoproperties] java.specification.name=Java Platform API Specification
[echoproperties] java.specification.vendor=Oracle Corporation
[echoproperties] java.specification.version=1.7
[echoproperties] java.vendor=Oracle Corporation
[echoproperties] java.vendor.url=http\://java.oracle.com/
[echoproperties] java.vendor.url.bug=http\://bugreport.sun.com/bugreport/
[echoproperties] java.version=1.7.0_51
[echoproperties] java.vm.info=mixed mode, sharing
[echoproperties] java.vm.name=Java HotSpot(TM) Client VM
[echoproperties] java.vm.specification.name=Java Virtual Machine Specification
[echoproperties] java.vm.specification.vendor=Oracle Corporation
[echoproperties] java.vm.specification.version=1.7
[echoproperties] java.vm.vendor=Oracle Corporation
[echoproperties] java.vm.version=24.51-b03
[echoproperties] line.separator=\r\n
[echoproperties] os.arch=x86
[echoproperties] os.name=Windows 7
[echoproperties] os.version=6.1
[echoproperties] path.separator=;
[echoproperties] sun.arch.data.model=32
[echoproperties] sun.boot.class.path=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\lib\\resources.jar;C\:\\Program Files (x86)\\Java\\jdk1.7
[echoproperties] sun.boot.library.path=C\:\\Program Files (x86)\\Java\\jdk1.7.0_51\\jre\\bin
[echoproperties] sun.cpu.endian=little
[echoproperties] sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
[echoproperties] sun.desktop=windows
[echoproperties] sun.io.unicode.encoding=UnicodeLittle
[echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher -buildfile build.xml
[echoproperties] sun.java.launcher=SUN_STANDARD
[echoproperties] sun.jnu.encoding=Cp1252
[echoproperties] sun.management.compiler=HotSpot Client Compiler
[echoproperties] sun.os.patch.level=Service Pack 1
[echoproperties] user.country=US
[echoproperties] user.dir=c\:\\Build\\KnidosamqCpp
[echoproperties] user.home=C\:\\Users\\aspone
[echoproperties] user.language=en
[echoproperties] user.name=aspone
[echoproperties] user.script=
[echoproperties] user.timezone=
[echoproperties] user.variant=

compile:
     [echo] Recompiling and building the debug and release versions of libs and samples using the external bat file > > >
     [exec]
     [exec] c:\Build\KnidosamqCpp>echo Run the visual studio 64 bit environment settings
     [exec] Run the visual studio 64 bit environment settings
     [exec]
     [exec] c:\Build\KnidosamqCpp>call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64
     [exec]
     [exec] c:\Build\KnidosamqCpp>if "amd64" == "" goto x86
     [exec]
     [exec] c:\Build\KnidosamqCpp>if not "" == "" goto usage
     [exec]
     [exec] c:\Build\KnidosamqCpp>if /I amd64 == x86 goto x86
     [exec]
     [exec] c:\Build\KnidosamqCpp>if /I amd64 == amd64 goto amd64
     [exec]
     [exec] c:\Build\KnidosamqCpp>if not exist "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat" goto missing
     [exec]
     [exec] c:\Build\KnidosamqCpp>call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat"
     [exec] Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools.
     [exec] GL ADDED: Setting path
     [exec] GL ADDED: Finished go to end
     [exec]
     [exec] c:\Build\KnidosamqCpp>goto :eof
     [exec]
     [exec] c:\Build\KnidosamqCpp>cd knidosTest
     [exec]
     [exec] c:\Build\KnidosamqCpp\knidosTest>echo ======REBUILDING DEBUG LIBS and SAMPLES======
     [exec] ======REBUILDING DEBUG LIBS and SAMPLES======
     [exec]
     [exec] c:\Build\KnidosamqCpp\knidosTest>VCBuild knidosTest2008.sln /useenv  /Rebuild "Debug Multi-threaded DLL|x64"
     [exec] Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.21022
     [exec] Copyright (C) Microsoft Corporation. All rights reserved.
     [exec]
     [exec] Rebuild started: Project: knidos2008, Configuration: Debug Multi-threaded DLL|x64
     [exec] Deleting intermediate and output files for project 'knidos2008', configuration 'Debug Multi-threaded DLL|x64'
     [exec] Compiling...
     [exec] StdAfx.cpp
     [exec] Compiling...
     [exec] SubscriptionEntCodeConfigLoader.cpp
     [exec] SubscriptionEntCodeAuthConfig.cpp
     [exec] SubscriberIMPL.cpp
     [exec] Subscriber.cpp
     [exec] StringUtil.cpp
     [exec] SHA1.cpp


Graham Little

unread,
Apr 17, 2014, 5:41:32 AM4/17/14
to jenkins...@googlegroups.com
O.k, so I have found the issue and its a strange one. Its not actually a problem with Jenkins as far as I can see which of course makes sense. I had a look at the microsoft bat file that is being executed and the link that is causing an issue. There is a snippet of that bat file below this and I have put in BOLD and underlined the changes i made. If anyone is able to understand why that line I REM'd out is a problem I would love to know, but with the change I have made its now working. I can guarantee the presence of the WindowsSdkDir so I am not worried about moving it outside the if, and ignoring the PATH change which seems to be the problem.

thanks

@SET VSINSTALLDIR=c:\Program Files (x86)\Microsoft Visual Studio 9.0
@SET VCINSTALLDIR=c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
@SET FrameworkDir=c:\Windows\Microsoft.NET\Framework64
@SET FrameworkVersion=v2.0.50727
@SET Framework35Version=v3.5
@if "%VSINSTALLDIR%"=="" goto error_no_VSINSTALLDIR
@if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR

@echo Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools.

@call :GetWindowsSdkDir

@if not "%WindowsSdkDir%" == "" (
    rem set "PATH=%WindowsSdkDir%bin\x64;%WindowsSdkDir%bin\win64\x64;%WindowsSdkDir%bin;%PATH%"
    set "INCLUDE=%WindowsSdkDir%include;%INCLUDE%"
    set "LIB=%WindowsSdkDir%lib\x64;%LIB%"
)

@echo GL ADDED: Setting path

@set PATH=%WindowsSdkDir%bin\x64;%WindowsSdkDir%bin\win64\x64;%WindowsSdkDir%bin;%VCINSTALLDIR%\BIN\amd64;%FrameworkDir%\%Framework35Version%;%FrameworkDir%\%Framework35Version%\Microsoft .NET Framework 3.5 (Pre-Release Version);%FrameworkDir%\%FrameworkVersion%;%VCINSTALLDIR%\VCPackages;%VSINSTALLDIR%\Common7\IDE;%VSINSTALLDIR%\Common7\Tools;%VSINSTALLDIR%\Common7\Tools\bin;%PATH%
Reply all
Reply to author
Forward
0 new messages