perfsonar-dev - Re: [pS-dev] Ant problem
Subject: perfsonar development work
List archive
- From: Maciej Glowiak <>
- To: Loukik Kudarimoti <>
- Cc: , Perfsonar Development <>
- Subject: Re: [pS-dev] Ant problem
- Date: Mon, 13 Aug 2007 11:19:33 +0200
Loukik Kudarimoti wrote:
Chris Welti wrote:
Hi Maciej,Very nice idea. If its possible to do this.
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?
Hi,
I haven't found any ant task for checking ant version.
We could use <exec> task and:
1. run "exec ant -version" in order to display for instance:
"Apache Ant version 1.7.0 compiled on December 13 2006"
2. parse output somehow. There are no parsing tasks in ant,
so we should use another <exec> for sed or awk
3. check version
4. for each input we'd need to print out (or not) default option.
The solution would not be scalable (points 1-3 should be inside a shell/perl script) and a lot of conditions should be checked (one for all input) - the code of scripts may become unclear.
Or there is an ant task for checking version I missed?
Maciej
--
--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|
Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 -- skype_id: maciej_psnc GG: 4526858 ||
====================================================================
- Ant problem, Maciej Glowiak, 08/02/2007
- Re: [pS-dev] Ant problem, Roman Lapacz, 08/02/2007
- Re: [pS-dev] Ant problem, Chris Welti, 08/03/2007
- Re: [pS-dev] Ant problem, Loukik Kudarimoti, 08/03/2007
- Re: [pS-dev] Ant problem, Maciej Glowiak, 08/13/2007
- Re: [pS-dev] Ant problem, Roman Lapacz, 08/13/2007
- Re: [pS-dev] Ant problem, Jason Zurawski, 08/13/2007
- Re: [pS-dev] Ant problem, Roman Lapacz, 08/13/2007
- Re: [pS-dev] Ant problem, Jason Zurawski, 08/13/2007
- Re: [pS-dev] Ant problem, Roman Lapacz, 08/13/2007
- Re: [pS-dev] Ant problem, Maciej Glowiak, 08/13/2007
- Re: [pS-dev] Ant problem, Loukik Kudarimoti, 08/03/2007
Archive powered by MHonArc 2.6.16.