perfsonar-dev - Re: [pS-dev] Ant problem
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: Maciej Glowiak <>
- Cc: Loukik Kudarimoti <>, , Perfsonar Development <>
- Subject: Re: [pS-dev] Ant problem
- Date: Mon, 13 Aug 2007 11:41:38 +0200
Maciej Glowiak wrote:
Loukik Kudarimoti wrote:I think I know how to this in a quite good way. I'll come back to this when I have finished my current tasks.
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?
Roman
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
- 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.