COVESA / capicxx-someip-tools

Common API C++ SOMEIP tooling
Mozilla Public License 2.0
76 stars 55 forks source link

Warning: SomeIP validation #14

Closed maingig closed 1 year ago

maingig commented 4 years ago

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)

lutzbichler commented 3 years ago

The warning means there exists a deployment file that imports the .fidl but does not import the corresponding .fdepl.

maingig commented 3 years ago

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 { ... } `

lutzbichler commented 3 years ago

Do you use different directories for .fdepl & .fidl files?

maingig commented 3 years ago

Yes - is that not recommended?

dibpinto commented 1 year ago

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