-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hi,
Here is an issue regarding generation of gSOAP proxies while building fesapi.
Regards,
Mathieu
What are the steps to reproduce this issue?
- remove content of src/proxies (for setting CMake variable PROXIES_GENERATION to true)
- configure and generate with CMake
- build fesapi
What does happen?
Following error is raised during proxies generation : " Cannot open 'C:/Dev/fesapiEnv/buildHyperslabbingUncommitted/win64shared/src/C:/Dev/fesapiEnv/energistics_schemas/energyml/data/resqmlv2/v2.0.1/xsd_schemas/Common.xsd' to retrieve schema"
Path looks crazy since current build directory is append to Common.xsd absolute path.
What were you expecting to happen?
Common.xsd is supposed to be opened properly thanks to line 7 of PropertyTypeMapping.xsd
Any other comments?
I tried to update line 63 of src/CMakeLists.txt (adding file:/// as prefix for output Common.xsd location) from
COMMAND cscript ${FESAPI_ROOT_DIR}/gsoap/sed.vbs "sRESQML_SCHEMA_LOCATION${RESQML_SCHEMA_LOCATION}g" < ${FESAPI_ROOT_DIR}/gsoap/PropertyTypeMapping.xsd > ${CMAKE_CURRENT_BINARY_DIR}/PropertyTypeMapping.xsd
to
COMMAND cscript ${FESAPI_ROOT_DIR}/gsoap/sed.vbs "sRESQML_SCHEMA_LOCATION*file:///${RESQML_SCHEMA_LOCATION}*g" < ${FESAPI_ROOT_DIR}/gsoap/PropertyTypeMapping.xsd > ${CMAKE_CURRENT_BINARY_DIR}/PropertyTypeMapping.xsd
Then, I got the following error (by playing again steps to reproduce the issue):
Cannot open 'file:///C:/Dev/fesapiEnv/energistics_schemas/energyml/data/resqmlv2/v2.0.1/xsd_schemas/Common.xsd' to retrieve schema
This issue seems weird since 'file:///C:/Dev/fesapiEnv/energistics_schemas/energyml/data/resqmlv2/v2.0.1/xsd_schemas/Common.xsd' opens properly in an internet browser. This path is definitly correct.
Dev environment:
- Windows 10 64bits
- Visual Studio Community 2015
- gSOAP 2.8.59
What versions of fesapi are you using?
Up to date on 01/03/2018.