Need reviewer: Add script to jdk7 repo

Kelly O'Hair kelly.ohair at
Sun Dec 19 19:27:29 UTC 2010

Need reviewer: Add script to jdk7 repo

A while back I created a Windows shell script that could be used to  
setup your environment
variables for Visual Studio compiler usage. The VS product itself  
provides a bat file to help do
this, but no shell script. This script leverages the  
supplied VS bat files for shell users.
See my old blog:

This script works with CYGWIN or MKS, and both styles of  
shell (csh and sh)
environment variable setting. It's not super fast so it should not be  
used on every shell script
startup, but can be used to help automate builds on Windows or  
initialize your first shell
environment. If you have VS2010, to see what it generates as output  
just run: -v10
To setup your environment you would run:
   eval ` -v10`

It works with the older VS releases, but that is quickly becoming  
uninteresting for jdk7,
however this same script can be used for the jdk6 releases that use  
VS2003 (-v7).

6909331: Add to the jdk repository (handy cygwin way to get  
vcvars32.bat run)


More information about the build-dev mailing list