ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mishra, Debnath" <debnath.mis...@citigroup.com>
Subject Trying to invoke an external task
Date Wed, 07 Jul 2004 19:26:40 GMT
I am trying to invoke a C complier from my ANT script, and getting the following error:

Here is the script
<?xml version="1.0" encoding="ISO-8859-1"?>             
                                                        
<project name="MyProject" default="init" basedir=".">   
  <description>                                         
     Compile C Code                                     
  </description>                                        
                                                        
  <property name="build" value="build" />               
                                                        
  <target name="init">                                  
     <exec executable="/bin/sh">                        
         <arg value="-c" />                             
         <arg value="c89" />                            
     </exec>                                            
  </target>                                             
                                                        
</project>                                              

Here is the error message:

BUILD FAILED                                                                  
file:/u/iocxsdm/ant/ascii.xml:11: Could not create task or type of type: exec.
                                                                              
Ant could not find the task or a class this task relies upon.                 


Thanks
Debnath Mishra

Change Control, CitiGroup
Englewood Cliffs, NJ 
Tel: 201-242-2850

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


Mime
View raw message