Turns out I was declaring VssLabel="" in an Init task in build.xml. So Erik, does that mean then that it's impossible to modify a Property after it's been declared?
Ron -----Original Message----- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 5:54 PM To: Ant Users List Subject: Re: Making a new Properties from other Properties. 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
