Tagged Questions
0
votes
0answers
7 views
CompareDialog is making me click on each structure element to see the text
I'm working on creating a CompareEditor that does custom comparisons based on input that comes from an Abstract Syntax Tree.
The input fed into the CompareEditor comes from DiffNodes, each ...
0
votes
1answer
71 views
Tool to compare HTML files and produce report in HTML or XML format
I want to provide a diff report for a non regression test. Regression test is to compare HTML files and generate report about which files are same and which are not same.
I found one tool called ...
0
votes
0answers
31 views
Create diff patches in java
honorable developers!
Could you say, is there exist a java-library, that allow to create diff-patches, preferably from jar-files and apply them to those jar-files?
Maybe, somebody has an article ...
0
votes
2answers
128 views
Open Source Java Based Source Code Viewer
I am searching for a Java-based, open source diff viewer like
http://www.redmine.org/projects/redmine/repository/annotate/branches/0.7-stable/config/database.yml.example
Could you recommend (if any) ...
0
votes
1answer
87 views
Line diff with context in Java
Is there a Java lib for line-based diff between multi-line text chunks, that supports before/after context lines, similarly to diff -C in the Unix toolkit?
For example, suppose the first chunk is
a
...
1
vote
1answer
43 views
how to use org.eclipse.compare package?
I Found a library org.eclipse.compare. To which class or method i have to make call in that library? I am trying to find Diff. i want the modified,added,deleted line numbers. Please help me. ...
0
votes
1answer
142 views
Structural Diff of two java source files
Is there any way to find Structural diff of two java source files?
I want to find structural difference of two java files, but i don't know how to start it.
Is there any library in java for this ...
0
votes
2answers
180 views
Compare files in different folders
I'm using cvs (not by choice) and I refactored a project by creating a new package hierarchy in a v2 branch. Now i need to merge the changes that happened in branch v1 into branch v2. But because the ...
1
vote
3answers
705 views
How to diff-compare two xml files using java
I have two xml files that I want to compare:
old.xml:
<EMPLOYEES>
<employee>
<id>102</id>
<name>Fran</name>
<department> THIS IS COMPUTER ...
0
votes
0answers
269 views
SvnKit - svn diff on a single file. Working / merged copy V/s trunk revision
For retrieving diff on a single file, I am trying with below snippet of code:
DAVRepositoryFactory.setup();
SVNRepository repository = SVNRepositoryFactory.create(SVNURL.parseURIEncoded(url));
...
2
votes
1answer
210 views
SVNKit diff between dates
I am trying to use SVNKit to do a simple: svn diff url {date1}:{date2}.
I cannot figure out how to use it on SVNKit. Does anyone know how to do this?
2
votes
1answer
81 views
Java - Files appear to be the same using java.Scanner, but are not evaluated as being “equal”
I have set up a JUnit test that is testing a method called copy(File src, File dest) that simply copies the contents of the src file to the dest file. I am using a Scanner to iterate over each file ...
0
votes
3answers
368 views
How to compare 2 xml strings?
I have a very specific requirment of comparing 2 xml strings in java. I have 2 xml strings. Original and modified. I need to compare the original xml string with the modified and find out what has ...
1
vote
4answers
466 views
Java object diff utility
I am looking for a generic utility in Java, that can help me create a diff report for two objects (of the same type).
For instance, if my class structure is:
class A {
int p1;
string p2;
B b1;
...
1
vote
1answer
109 views
How to store delta of files across version of file?
I want to keep delta of files (MS Office/pdf/flash/images) when I upload my file to my local repo to store the files. You can imagine this in-house box.net or dropbox for my local usage.
Are there ...