ccnet.config, accessing system environment variables

112 views
Skip to first unread message

Pauldoo

unread,
Sep 24, 2007, 6:32:30 AM9/24/07
to ccnet-user
Hi,
I am learning to use ccnet to build a C++ project with both VS2003 and
VS2005. I've configured one project with two devenv tasks. Each
devenv task has a different path to find devenv.com.

Currently I have these paths fully hardcoded, but I'd like to use
"%VS71COMNTOOLS%\..\IDE\devenv.com" and "%VS80COMNTOOLS%\..\IDE
\devenv.com" instead. Is this possible within ccnet.config? I've
seen suggestions about writing a small batch file to do this, but I'm
hoping I can do it within ccnet.config itself.

Ross Patterson

unread,
Sep 24, 2007, 10:59:12 AM9/24/07
to ccnet...@googlegroups.com
Pauldoo writes:
>Currently I have these paths fully hardcoded, but I'd like to use
>"%VS71COMNTOOLS%\..\IDE\devenv.com" and "%VS80COMNTOOLS%\..\IDE
>\devenv.com" instead. Is this possible within ccnet.config?

Nope. CCNet won't expand environment variables in its config file, and
the interface it uses to start processes like devenv.com won't either.

Ross
________________________________

Ross A. Patterson, CISSP
Sr. Director, Development
Tel: +1 703-390-0865
RPatt...@QKnow.com

Q.Know Technologies, Inc.
11600 Sunrise Valley Drive, Suite 300
Reston, VA 20191
www.QKnow.com

Reply all
Reply to author
Forward
0 new messages