Friday, July 23, 2010

ant-sca-compile.xml does not exist

You have just installed SOA Suite 11g and jdeveloper.

You created a new simple process and when you are trying to compile it you are getting an error like this in jdeveloper

Error: ant-sca-compile.xml does not exist at location D:\bea11g\jdev\jdeveloper\bin

You can resolve this issue by copying the ant-sca-compile.xml from SOA_HOME\bin location and pasting it to Jdeveloper_HOME\bin folder.

I tried to recompile the project and again i got following compilation issue


BUILD FAILED
D:\bea11g\jdev\jdeveloper\bin\ant-sca-compile.xml:8: Cannot find ant-soa-common.xml imported from D:\bea11g\jdev\jdeveloper\bin\ant-sca-compile.xml

Total time: 0 seconds


so i copied the ant-soa-common.xml file from SOA_HOME\bin location and pasting it to Jdeveloper_HOME\bin folder.

I again recompiled the process and i was able to compile it successfully.


Buildfile: D:\bea11g\jdev\jdeveloper\bin\ant-sca-compile.xml

scac:
[scac] Validating composite : 'C:\JDeveloper\mywork\FaultHandling\ErrorHandling\composite.xml'

BUILD SUCCESSFUL
Total time: 10 seconds

No comments: