Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Ant problem

Subject: perfsonar development work

List archive

Re: [pS-dev] Ant problem


Chronological Thread 
  • From: Loukik Kudarimoti <>
  • To:
  • Cc: Maciej Glowiak <>, Perfsonar Development <>
  • Subject: Re: [pS-dev] Ant problem
  • Date: Fri, 03 Aug 2007 15:27:45 +0100



Chris Welti wrote:
Hi Maciej,

Why don't you just add a check of the Ant version to the scripts and only
print the default values if the version is below 1.7.0?
Very nice idea. If its possible to do this.

Chris

Maciej Glowiak wrote:
Hi Loukik,

There is a problem with Ant. Using Ant 1.6.5 our scripts had to print default values (those inside [ ] ), but since ver. 1.7.0 Ant does it as well. So, using Ant 1.7.0 we have:

------------------------------------------------------------------------ Question Q [default]: [default]
------------------------------------------------------------------------
(one printed by script, second one by Ant)

which of course may cause some problems or misunderstanding (see Mario's e-mail with LS feedback on JRA1 Mailing List).

Using long default values (usually paths) questions become difficult to understand, like:

------------------------------------------------------------------------
[input] Enter the path where you want to install the service [/home/mac/
projects/perfsonar/new-structure/trunk/webapps]: [/home/mac/projects/per
fsonar/new-structure/trunk/webapps]
------------------------------------------------------------------------

But if we remove printing default values in our scripts at all, somebody using old Ant 1.6.x won't see default values at all, like:

------------------------------------------------------------------------
Question Q:
------------------------------------------------------------------------

So, there is a question whether to force users to use Ant 1.7.0 what we did with Java some time ago (1.4 -> 1.5) and let ant print default values for us. That's a question to Release Team, but also to potential users who will need to upgrade Ant to 1.7.0 (I think some of them already had it).

By the way, Ant 1.7.0 fixed bug which we marked now as TO BE DONE LATER -- See: https://bugzilla.perfsonar.net/show_bug.cgi?id=123

Maciej







Archive powered by MHonArc 2.6.16.

Top of Page