ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Coutts" <R...@quadrus.com>
Subject RE: Making a new Properties from other Properties.
Date Fri, 04 Jan 2002 00:16:04 GMT
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:CHudak@arrowheadgrp.com]
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:RonC@quadrus.com]
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message