Closed maingig closed 1 year ago
The warning means there exists a deployment file that imports the .fidl but does not import the corresponding .fdepl.
By "a deployment file" are you speaking of another .fdepl file?
This is my file (notice line 1 which the warning flags):
` import "platform:/plugin/org.genivi.commonapi.someip/deployment/CommonAPI-SOMEIP_deployment_spec.fdepl"
import "../idl/DataTypes.fidl"
define org.genivi.commonapi.someip.deployment for typeCollection
com.nio.hardware.gnss.idl.DataTypes as DataTypesDepl { ... } `
Do you use different directories for .fdepl & .fidl files?
Yes - is that not recommended?
For version 3.2.0.1 of capicxx-someip-tools it is expected to have the same directory for franca file (.fidl) and deployment file (.fdepl). Otherwise it will generate the warning indicated in previous comments.
Cc: @goncaloalmeida
What does this warning mean? Why should the .fidl file reference the .fdepl file?
Warning: SomeIP validation: Deployment references ".../models/com/nio/hardware/gnss/idl/DataTypes.fidl" without referencing expected deployment file ".../models/com/nio/hardware/gnss/idl/DataTypes.fdepl". (file:.../models/com/nio/hardware/gnss/deploy/DataTypes.fdepl line : 1)