Closed juli1 closed 4 years ago
Can you tell me how was this variant of Ocarina generated? Did you compile it? or did you use the binary I generate?
binary from openaadl.org
Can you try with Windows-style path? or use cygpath -w <unix-path>
? I suspect a misconfiguration of the Ada compiler, but cannot test for now.
This is the result of what I tried :
jdelange@RM-BLACKCHERRY /cygdrive/c/Users/jdelange/git/pok/examples/partitions-threads $ cygpath -w /cygdrive/c/Users/jdelange/git/pok/misc/aadl-library.aadl C:\Users\jdelange\git\pok\misc\aadl-library.aadl
jdelange@RM-BLACKCHERRY /cygdrive/c/Users/jdelange/git/pok/examples/partitions-threads $ ocarina -aadlv2 -f -i model.aadl C:\Users\jdelange\git\pok\misc\aadl-library.aadl Cannot find file C:Usersjdelangegitpokmiscaadl-library.aadl
But when escaping the \ char, it works. See
jdelange@RM-BLACKCHERRY /cygdrive/c/Users/jdelange/git/pok/examples/partitions-threads $ ocarina -aadlv2 -f -i model.aadl C:\Users\jdelange\git\pok\misc\aadl-library.aadl model.aadl:95:04: Warning: source_language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list. model.aadl:95:04: Warning: The value of source_language has been converted into a list. model.aadl:102:04: Warning: source_language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list. model.aadl:102:04: Warning: The value of source_language has been converted into a list. model.aadl:109:04: Warning: source_language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list. model.aadl:109:04: Warning: The value of source_language has been converted into a list. aadl-library.aadl:408:04: Warning: Source_Language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list. aadl-library.aadl:408:04: Warning: The value of Source_Language has been converted into a list.
jdelange@RM-BLACKCHERRY /cygdrive/c/Users/jdelange/git/pok/examples/partitions-threads
ping on this one
Now we build using MSYS, not clear this is still an issue
When using Ocarina under cygwin, I get an error when trying to use Ocarina when long file names.
See the example below jdelange@RM-BLACKCHERRY /cygdrive/c/Users/jdelange/git/pok/examples/arinc653-blackboard $ ocarina -aadlv2 -f -i model.aadl /cygdrive/c/Users/jdelange/git/pok/misc/aadl-library.aadl Cannot find file /cygdrive/c/Users/jdelange/git/pok/misc/aadl-library.aadl
But if I copy the aadl-library.aadl file into the current directory and avoid the long path, it works.