I am having a problem with the exec task. The command being executed works
fine on the command line, but there is an error when trying to run it via
ant. I have also looked at the permissions and everything should be good.
Any help would be appreciated. Here is the debug output...

Execute:Java13CommandLauncher: Executing 'cc' with arguments:
'-c'
'-I/dba00/app/oracle/product/9.2.0.6/precomp/public'
'-I/dba00/app/oracle/product/9.2.0.6/rdbms/public'
'-I/dba00/app/oracle/product/9.2.0.6/plsql/public'
'-I/dba00/app/oracle/product/9.2.0.6/network/public'
'-I/home/prod/customs/proc'
'-I/home/prod/customs/proc/um'
'-I/home/prod/customs/proc/de/inclfiles'
'-I/home/prod/customs/proc/IOR/inclfiles'
'-o
/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.o'
'/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.c'

The ' characters around the executable and arguments are
not part of the command.
     [exec]
"/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.c",
line 117: warning: no explicit type given
     [exec]
"/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.c",
line 119: warning: no explicit type given
     [exec]
"/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.c",
line 121: warning: no explicit type given
     [exec]
"/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.c",
line 122: warning: no explicit type given
     [exec]
"/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.c",
line 123: warning: no explicit type given
     [exec]
"/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.c",
line 1634: warning: old-style declaration or incorrect type for: main
     [exec] Unable to open
/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.o
for access w
     [exec] cc: acomp failed for
/home/prod/customs/proc/client_server/duty_exemption/airbag_load/de0030.c
  [antcall] Exiting /home/prod/customs/proc/client_server/build.xml.
  [antcall] Exiting /home/prod/customs/proc/client_server/build.xml.

BUILD FAILED
/home/prod/customs/proc/client_server/build.xml:313: The following error
occurred while executing this line:
/home/prod/customs/proc/client_server/build.xml:279: The following error
occurred while executing this line:
/home/prod/customs/proc/client_server/build.xml:198: exec returned: 2
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)


-- 
Rob Anderson
[EMAIL PROTECTED]

Reply via email to