COVESA / capicxx-someip-tools

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

Resourse not loading if the uri contains space #3

Closed vasunaik112 closed 8 months ago

vasunaik112 commented 7 years ago

URI.createFileURI(file) does not decode the the file path with space. Resorce loading throws the file not found exception. Please try to use the below code snippet in all ToolMain and Validator.

URI.createFileURI(URI.decode(file));

lutzbichler commented 5 years ago

This will be checked for CommonAPI v4

Gustavo1515 commented 10 months ago

Is this still an issue?

I tried to reproduce this with a space on the name of the .fdepl file an it executed successfully:

./commonapi-someip-generator-linux-x86_64 -d src-gen/someip "CommonAPI-Examples/E01HelloWorld/fidl/E01HelloWorld SomeIP.fdepl"

cc @goncaloalmeida