Ka1wa / daisydiff

Automatically exported from code.google.com/p/daisydiff
0 stars 0 forks source link

daisydiff.jar will not process local files #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I'm interested in using daisydiff for a non-java project, the easiest way
would be to shell out and feed daisydiff.jar two local files, and read the
results file.  Unfortunately, it seems to accept only remote addresses...

What steps will reproduce the problem?
1.
$ cat > t1
<h1>test</h1>
^C

2. cat > t2
<h1>test two</h1>
^C

3. java -jar daisydiff.jar t1 t2

     ______________
    /Daisy Diff 0.1\
   /________________\

Comparing documents:
  t1
and
  t2

Diff type: html
Writing html output to daisydiff.htm

.java.lang.IllegalArgumentException: URI is not absolute
    at java.net.URI.toURL(URI.java:1080)
    at org.outerj.daisy.diff.Main.main(Main.java:87)

What is the expected output? What do you see instead?

HTML diff

What version of the product are you using? On what operating system?

0.1

Original issue reported on code.google.com by justin.w...@gmail.com on 18 Feb 2008 at 8:14

GoogleCodeExporter commented 9 years ago
is it an option to add file:// before the file path?

Original comment by guy...@gmail.com on 18 Feb 2008 at 8:33

GoogleCodeExporter commented 9 years ago
That would be a great workaround, but I tried file:// and it doesn't like that 
either.
Then it says ".javaj.net.UnknownHostException: <filename>"
when trying to establish a socket connection.

(I gotta say, this has the potential of being pretty cool).

Original comment by jurgen.h...@gmail.com on 28 Jun 2008 at 12:31

GoogleCodeExporter commented 9 years ago
this was fixed in the repository

Original comment by guy...@gmail.com on 28 Jun 2008 at 5:49