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: Jason Zurawski <>
  • To: Roman Lapacz <>
  • Cc: Maciej Glowiak <>, Perfsonar Development <>
  • Subject: Re: [pS-dev] Ant problem
  • Date: Mon, 13 Aug 2007 07:02:10 -0400
  • Organization: Internet2

Roman & Maciej;

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.

I remember seeing this in some software I installed not too long ago:

<target name="checkVersion" description="Ensure that we're running *ant* 1.7">
<fail message="Please install using *ant* 1.7">
<condition>
<not>
<contains string="${*ant*.*version*}" substring="1.7"/>
</not>
</condition>
</fail>
</target>

It may or may not work with older versions, but it could be a useful way to start.

-jason



Archive powered by MHonArc 2.6.16.

Top of Page