0

When I am comparing two ARXMLs(can be considered as txt files) with beyond compare tool, then i can see two kind of differences:

  1. UUID lines, which will change in every code generation from MATLAB.
  2. logical/interface changes, which are modified/added newly.

but UUID lines are not so important for me. So I would like to know, How to hide the UUID lines Differences in the Beyond compare tool, while Comparing two files.

Thanks in Advance !!

Dorababu
  • 1
  • 1
  • Can you add an example of the texts? I think you could extend the xml-format by some special rules. – knut Jul 14 '20 at 08:33

1 Answers1

3

I don't know the ARXM, but I found an example in https://github.com/nikidimitrow/Learning-AUTOSAR-fundamental/blob/master/BasicsOfAUTOSAR/MyECU.ecuc.arxml

In BeyondCompare, you can go to Tools->File Formats and take the xml-format definition for xml and use "Save as" to create a new format: 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: enter image description here

knut
  • 27,320
  • 6
  • 84
  • 112
  • You are welcome. If the answer solved the problem, then please accept the answer (see https://stackoverflow.com/tour how to do it) – knut Jul 21 '20 at 20:56