Commandline or library diff tool

Are you missing a feature? Request its implementation here.
jelovirt
Posts: 84
Joined: Tue Oct 11, 2005 9:17 am
Location: Helsinki, Finland
Contact:

Commandline or library diff tool

Post 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.
sanderson
Posts: 51
Joined: Fri Jan 27, 2006 12:51 am

Re: Commandline or library diff tool

Post 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.
jannylun
Posts: 16
Joined: Wed May 20, 2009 2:25 pm

Re: Commandline or library diff tool

Post by jannylun »

I second this request, it would sometimes be very useful. Has it been discussed at Syncro?
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Commandline or library diff tool

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
pylesc
Posts: 1
Joined: Tue Aug 11, 2015 9:26 pm

Re: Commandline or library diff tool

Post by pylesc »

Any chance that this enhancement/feature has been added?
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: Commandline or library diff tool

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
teo
Posts: 57
Joined: Wed Aug 30, 2017 3:56 pm

Re: Commandline or library diff tool

Post 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
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply