Are you declaring VssLabel in your ${BuildProperties.txt} file at all?
Try 'ant -verbose' to see if you see where VssLabel is being set.
Erik
----- Original Message -----
From: "Ron Coutts" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Thursday, January 03, 2002 7:16 PM
Subject: RE: Making a new Properties from other Properties.
Yes, they're declared before VssLabel.
This snippet...
<echo message="BuildProperties.txt: ${BuildProperties.txt}" />
<property file="${BuildProperties.txt}" />
<echo message="BuildString: ${BuildString}" />
<echo message="BuildNumber: ${BuildNumber}" />
<property name="VssLabel" value="${BuildString} ${BuildNumber}" />
<echo message="VssLabel: ${VssLabel}" />
Produces this output...
[echo] BuildProperties.txt: D:\midasroot\Code/BuildProperties.txt
[echo] BuildString: Test Label
[echo] BuildNumber: 5
[echo] VssLabel:
Ron
-----Original Message-----
From: Charles Hudak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 5:11 PM
To: 'Ant Users List'
Subject: RE: Making a new Properties from other Properties.
Are they declared BEFORE VssLabel? They have to be or it won't work.
-----Original Message-----
From: Ron Coutts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:10 PM
To: 'Ant Users List' (E-mail)
Subject: Making a new Properties from other Properties.
I'm trying to create a build label using the Property task as follows:
<property name="VssLabel" value="${BuildString} ${BuildNumber}" />
I've Echo'ed ${BuildString} and ${BuildNumber}, they're fine, but
${VssLabel} is empty. Anyone know what's wrong here?
Ron
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>