perfsonar-dev - default value in the question (Ant 1.6.x vs 1.7.x)
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: "" <>
- Subject: default value in the question (Ant 1.6.x vs 1.7.x)
- Date: Tue, 23 Jan 2007 15:41:02 +0100
Hi,
today I tested RRD MA service using Ant 1.7.0 (usually I'm using 1.6.x) and I noticed that the behavior of Ant 1.6.x is little different. You may see that the questions printed by the scripts have default values duplicated.
example:
Enter the name of the service [perfSONAR-RRD-MA-1.1-RC4]: [perfSONAR-RRD-MA-1.1-RC4]
This is because Ant 1.6.x does not print default value specified in one of attributes of input element, so it is now hardcoded, see below:
<target name="_get-service-name">
<input message="Enter the name of the service [${service.name}]:"
addproperty="_service.name"
defaultvalue="${service.name}" />
</target>
I decided not to change this situation until Ant 1.7.x is more popular and widely used but be aware of this strange behavior.
Roman
- default value in the question (Ant 1.6.x vs 1.7.x), Roman Lapacz, 01/23/2007
- Message not available
- Re: [pS-dev] default value in the question (Ant 1.6.x vs 1.7.x), Roman Lapacz, 01/23/2007
- Message not available
Archive powered by MHonArc 2.6.16.