Page 1 of 1

Diff/Merge on Linux

Posted: Wed Jun 01, 2005 6:50 pm
by nveitch
just wondering if anyone else has experienced problems with Diff tool in 6.0?

I am running Linux (SuSE9.3 at the moment) with JRE 1.4.2.

The Diff viewer doesn't seem to be working as I would expect. Choosing Tools>Compare Files, and loading files either through the Menu, or the file gadgets on the page doesn't seem to do anything.

If I cut and paste the files into the panels, the diff viewer works as expected.

Posted: Thu Jun 02, 2005 12:39 pm
by iulian_velea
Hi,

We tried to reproduce this problem on Mandrake using java 1.4 but everything works ok.
Can you tell me exactly how the Diff Files utility behaves when you open the File Chooser for one of the panels, select a file and then press OK?
Does that file appear in the corresponding combo box?


Regards, Iulian.

Posted: Thu Jun 02, 2005 7:05 pm
by nveitch
Hi, sure.

Click on the Open or Open URL widget, navigate to a file, select it and click on open:

The status bar at the bottom of the pane changes to the pathname of the file, but no text at all actually appears in the pane.

the same occurs when using the file dropdown to select one of the open files in a project.

I may be able to try this on some other Linux flavours

Posted: Thu Jun 02, 2005 7:18 pm
by nveitch
As a followup, while testing this on different files, I discovered that selecting via the dropdown sometimes give the error message:

Diff Failed: premature end of file

Posted: Fri Jun 03, 2005 11:34 am
by Radu
Hi,

Please write us an email at support@oxygenxml.com and we will provide you with a log file to find out more debug information about the behaviour of the application on your platform.


Regards, Radu.

For anyone else having this problem on Oxygen 6.0

Posted: Tue Jun 07, 2005 2:30 pm
by Radu
The "Format and indent document on open" option from the Oxygen Preferences/Editor/Format page when selected interferes with the way in which the Diff Files Utility opens files.
This was added to our bug list and will be fixed in the next minor version.

As a workaround you can uncheck that option before opening files in the Diff Files Utility.
If this is not an option for you please contact us and we will provide you with a patch.

Radu.