perfsonar-dev - Re: [pS-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: Re: [pS-dev] default value in the question (Ant 1.6.x vs 1.7.x)
- Date: Tue, 23 Jan 2007 16:26:58 +0100
Jason Zurawski wrote:
Hey Roman;
I needed to find the 'older' 1.6.5 the other day, and noticed that it is now at the apache archive site:
http://archive.apache.org/dist/ant/binaries/
Maybe the wiki/instructions could be updated to point to the new URL?
Hmm, not sure. Maybe just stay with this what we have now (http://ant.apache.org/bindownload.cgi) and this way promote 1.7.x version. The only my concern is set of questions that may look little strange in case of using Ant 1.7.x (I'm sure we will get feedbacks asking about this :).
Roman
-jason
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.