ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mishra, Debnath" <>
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=".">   
     Compile C Code                                     
  <property name="build" value="build" />               
  <target name="init">                                  
     <exec executable="/bin/sh">                        
         <arg value="-c" />                             
         <arg value="c89" />                            

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.                 

Debnath Mishra

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message