ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ALI,HANEEF (HP-Cupertino,ex1)" <haneef_...@hp.com>
Subject Echoing message
Date Thu, 11 Oct 2001 23:20:54 GMT
Hi,

I want to warn the user that some thing is missing.How to do it easily.?

Eg:
 <available property="junit.present" 
 
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner"
             classpathref="classpath" />

if the property junit.present is not set I want to warn the user that
junit.jar is not
in classpath.

We can do this by having a separate target, but there are many such warning
message and
i don't want to create a target for each and every message

Thanks
Haneef
 

Mime
View raw message