Page 1 of 1

Commandline or library diff tool

Posted: Mon Apr 14, 2008 2:43 pm
by jelovirt
While the world is full of XML diff tools, few can out-do Oxygen's diff xml tool. Have you considered making the diff tool a command-line utility or a Java package that only does diffing, no display. That is, a tool that takes in two input files and an output file, and possibility to define a configuration file for diff options. The diffs could be added to the output XML file in a separate namespace and then processed by other tools.

Re: Commandline or library diff tool

Posted: Tue Apr 15, 2008 7:03 pm
by sanderson
I'm a big supporter of this request. I'd love to be able to use the diff tool as a command-line tool that generates XML output of the diff rather than displaying a UI.

Here's one of the things I'd like to use it for - we use Epic for our XML documentation authoring. Sometimes we get a person off of our team that uses a different tool (for example, we often get people that want to use oXygen instead), but that throws of our editorial process since oXygen doesn't put in the change tracking markup we use in Epic. What I'd really like to be able to do is use a command-line diff tool that is able to compare the "edited outside of Epic" XML file with the version stored in Perforce, generate an XML file from that difference, then run a transform to put the appropriate change-markup in the result file.

Re: Commandline or library diff tool

Posted: Thu Sep 09, 2010 2:27 pm
by jannylun
I second this request, it would sometimes be very useful. Has it been discussed at Syncro?

Re: Commandline or library diff tool

Posted: Thu Sep 09, 2010 2:51 pm
by adrian
Hello,

It seems this feature request wasn't logged on our issue tracking tool. I've corrected this, your comments will be taken into consideration.

However, what is more likely to be implemented is the generation of a diff file in the unified format. This diff should then be able to be applied with various other tools including our own.

An XML diff file like it was proposed raises a lot of problems. Maybe we could have an extra option to generate the output in one format or the other. Anyway, it will have to be discussed.

Regards,
Adrian

Re: Commandline or library diff tool

Posted: Tue Aug 11, 2015 9:31 pm
by pylesc
Any chance that this enhancement/feature has been added?

Re: Commandline or library diff tool

Posted: Wed Aug 12, 2015 9:30 am
by Costin
Hello,

This is to inform you that, due to the fact the development of the Diff software as a standalone product was discontinued, unfortunately this feature was no more implemented.

We decided this way, in order to concentrate our efforts on the development of our main software - oXygen XML Editor, which includes Diff as a tool.

Thank you for understanding.

Regards,
Costin

Re: Commandline or library diff tool

Posted: Tue Oct 19, 2021 10:30 am
by teo
Hello,

This thread has not been updated for a long time, but I wanted to come up with a clarification.
In the last 2 versions of Oxygen suite, we have implemented the possibility to compare files and directories from the command line.
The comparison is made in Text mode, and the results of the comparison can be saved in some common formats.
There is also possible to perform a merge operation that is similar to the same process in any version control system.

More details can be found by following the link:
https://www.oxygenxml.com/xml_scripting/whats_new.html

A webinar on 'The New Oxygen Compare and Merge Scripts' is also being prepared:
https://www.oxygenxml.com/events/2021/w ... ripts.html

Regards,
Teo