Как скрыть сравнение строк UUID в двух ARXML с помощью инструмента Beyond Compare - PullRequest
0 голосов
/ 13 июля 2020
• 1000 из MATLAB. изменения логики / интерфейса, которые изменяются / добавляются заново.

но строки UUID для меня не так важны. Поэтому я хотел бы знать, как скрыть различия строк UUID в инструменте Beyond compare при сравнении двух файлов.

Заранее спасибо !!

1 Ответ

1 голос
/ 14 июля 2020

Я не знаю ARXM, но я нашел пример в https://github.com/nikidimitrow/Learning-AUTOSAR-fundamental/blob/master/BasicsOfAUTOSAR/MyECU.ecuc.arxml

В BeyondCompare вы можете от go до Tools->File Formats и взять xml -format определение для xml и используйте «Сохранить как», чтобы создать новый формат: enter image description here

Then adapt the mask: enter image description here

After this, you must define a new Grammar element: enter image description here

Use the Text matching UUID=".*" and don't forget to mark the Regular expression flag.

After this you can compare with the new format. The UUID-difference is now an unimportant difference: введите описание изображения здесь

...