Can I use git diff to compare ods file via exlipse?

Discuss the spreadsheet application
Post Reply
supernam
Posts: 8
Joined: Thu Jan 04, 2018 9:08 am

Can I use git diff to compare ods file via exlipse?

Post by supernam »

Hi All,

I have completed the logic of comparing two files via the svn plugin of eclipse. I pass the two parameters of the eclipse svn plugin to the sheel script, and passed the parameters to the java program via the sheel script, then use UNO to compare two file.
But now I need to use git to manage the ods file, how to compare it?


Thanks,
Jay
OpenOffice 1.4 on Linux
User avatar
keme
Volunteer
Posts: 3704
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Can I use git diff to compare ods file via exlipse?

Post by keme »

See this discussion at Stackoverflow, where at least one poster presents a solution for OOXML files. The basic structure is similar for ODF files (zip archive with xml content files inside), so a solution for OOXML should be possible to adapt to your needs.
Post Reply