Hi,
I’m executing the following Ant exec command:
*<exec executable="${GPP_WEB_SERVICES_ROOT}/xmlbeans-sdk/bin/scomp" > *
* <arg line="-verbose -src
${GPP_WEB_SERVICES_ROOT}/xmlbeans_attachment_source -out
${GPP_WEB_SERVICES_ROOT}/gpp/webservices/WEB-INF/lib/wsgpp.jar
${GPP_WEB_SERVICES_ROOT}/artefacts/*.wsdl" /> *
* </exec>***
And got the followings error:
*The ' characters around the executable and arguments arenot part of the
command.*
* [exec] Apache Software Foundation, org.apache.xmlbeans.XmlBeans
version 2.3.0-r540734*
*[exec] *.wsdl:0: error: cannot.load.file: Cannot load wsdl file
/users2/cmbld/GPPSCHED/WEB/BUILD_FOLDER/GPPWebServices/artefacts/*.wsdl:
/users2/cmbld/GPPSCHED/WEB/BUILD_FOLDER/GPPWebServices/artefacts/*.wsdl (No
such file or directory)*
* [exec] Time to build schema type system: 0.193 seconds*
* [exec] BUILD FAILED*
If I replaced “*.wsdl” with full wsdl name like: “Country_List_Service.wsdl”
than the exec command pass successfully.
How can I pass “*.wsdl” to exec command that will not failed on “(No such
file or directory)”
Moreover, what is the menning of the error “The ' characters around the
executable and arguments arenot part of the command.”
Thanks.