ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Mark.Gar...@cs.tcd.ie>
Subject RE: <antcall> vs. ant target
Date Wed, 30 Jul 2003 19:07:49 GMT
You could stick a nested param element in your <antcall> element called
callType or something like that and then on the actual ant target side
see if a param with the name callType's been included. Sound alright?

>From the manual,
  <target name="default">
    <antcall target="doSomethingElse">
      <param name="param1" value="value"/>
    </antcall>
  </target>

  <target name="doSomethingElse">
    <echo message="param1=${param1}"/>
  </target>

Thanks,
Mark.


-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
Sent: 30 July 2003 19:19
To: Ant Users List
Subject: <antcall> vs. ant target


Has anyone come up with a way to know whether a target
was invoked via <antcall>?  Nothing leaps out at me...

Thanks,
Matt

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message