ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick_Giana...@sybari.com
Subject Re: Trying to invoke an external task
Date Wed, 07 Jul 2004 19:56:50 GMT
Have you considered the cpptask task from the ant-contrib project?






"Mishra, Debnath" <debnath.mishra@citigroup.com>
07/07/2004 03:26 PM
Please respond to "Ant Users List"
 
        To:     <user@ant.apache.org>
        cc: 
        Subject:        Trying to invoke an external task


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




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


Mime
View raw message