This project has moved. For the latest updates, please go here.
1

Resolved

Environment Variable format changed

description

Environment variables (such as in the Executable task or External source control) have changed in format. They used to be specified as:
 
<var>name=value</var>
 
but this has been changed to be more XML friendly and takes one of two formats:
 
<variable>
<name>Name</name>
<value>Value</value>
</variable>
<variable name="Name" value="Value" />
 
There's no documentation, but I'm pretty sure the new version was added in 1.4.

comments

pjquirk wrote Nov 1, 2008 at 6:05 PM

Looking closer, I see only two components that use these variables: External Source Control and Executable Task. The External SC was introduced after the release version of 1.3 so it should use the new version. As for the Executable Task, it looks like the <environment> block was added after 1.3 as well, since it is unrecognized in 1.3 ccnet.exe.

So, I'll modify the environment variable class to write the new format in all cases but still allow for reading of the older format.

pjquirk wrote Nov 1, 2008 at 8:08 PM

Associated with changeset 42784.

wrote Nov 1, 2008 at 8:08 PM

wrote Feb 14, 2013 at 6:04 PM

wrote May 16, 2013 at 8:01 AM

wrote May 16, 2013 at 8:01 AM

wrote Jun 14, 2013 at 6:50 AM