Diff/Merge on Linux

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
nveitch
Posts: 3
Joined: Wed Jun 01, 2005 6:26 pm
Location: Bath, UK
Contact:

Diff/Merge on Linux

Post by nveitch » Wed Jun 01, 2005 6:50 pm

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.

iulian_velea
Posts: 63
Joined: Fri Dec 12, 2003 6:34 pm
Contact:

Post by iulian_velea » Thu Jun 02, 2005 12:39 pm

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.

nveitch
Posts: 3
Joined: Wed Jun 01, 2005 6:26 pm
Location: Bath, UK
Contact:

Post by nveitch » Thu Jun 02, 2005 7:05 pm

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

nveitch
Posts: 3
Joined: Wed Jun 01, 2005 6:26 pm
Location: Bath, UK
Contact:

Post by nveitch » Thu Jun 02, 2005 7:18 pm

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

Radu
Posts: 7535
Joined: Fri Jul 09, 2004 5:18 pm

Post by Radu » Fri Jun 03, 2005 11:34 am

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.

Radu
Posts: 7535
Joined: Fri Jul 09, 2004 5:18 pm

For anyone else having this problem on Oxygen 6.0

Post by Radu » Tue Jun 07, 2005 2:30 pm

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.

Post Reply