jacshore / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

The import com.sun.org cannot be resolved #251

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

I cannot compile epubcheck 1.2 with gcj

RESULT:

compile:
    [javac] /build/buildd-epubcheck_1.2-1-kfreebsd-i386-CUGctv/epubcheck-1.2/build.xml:55: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 47 source files to /build/buildd-epubcheck_1.2-1-kfreebsd-i386-CUGctv/epubcheck-1.2/bin
    [javac] ----------
    [javac] 1. WARNING in /build/buildd-epubcheck_1.2-1-kfreebsd-i386-CUGctv/epubcheck-1.2/src/com/adobe/epubcheck/opf/XRefChecker.java (at line 75)
    [javac]     String id;
    [javac]            ^^
    [javac] The field XRefChecker.Anchor.id is never read locally
    [javac] ----------
    [javac] 2. WARNING in /build/buildd-epubcheck_1.2-1-kfreebsd-i386-CUGctv/epubcheck-1.2/src/com/adobe/epubcheck/opf/XRefChecker.java (at line 77)
    [javac]     int lineNumber;
    [javac]         ^^^^^^^^^^
    [javac] The field XRefChecker.Anchor.lineNumber is never read locally
    [javac] ----------
    [javac] 3. WARNING in /build/buildd-epubcheck_1.2-1-kfreebsd-i386-CUGctv/epubcheck-1.2/src/com/adobe/epubcheck/opf/XRefChecker.java (at line 91)
    [javac]     String resource;
    [javac]            ^^^^^^^^
    [javac] The field XRefChecker.Resource.resource is never read locally
    [javac] ----------
    [javac] ----------
    [javac] 4. WARNING in /build/buildd-epubcheck_1.2-1-kfreebsd-i386-CUGctv/epubcheck-1.2/src/com/adobe/epubcheck/util/InvalidDateException.java (at line 7)
    [javac]     public class InvalidDateException extends Exception {
    [javac]                  ^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class InvalidDateException does not declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 5. ERROR in /build/buildd-epubcheck_1.2-1-kfreebsd-i386-CUGctv/epubcheck-1.2/src/com/adobe/epubcheck
    [javac] /xml/XMLParser.java (at line 55)
    [javac]     import com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException;
    [javac]            ^^^^^^^^^^^
    [javac] The import com.sun.org cannot be resolved
    [javac] ----------
    [javac] 6. ERROR in /build/buildd-epubcheck_1.2-1-kfreebsd-i386-CUGctv/epubcheck-1.2/src/com/adobe/epubcheck/xml/XMLParser.java (at line 293)
    [javac]     } catch( MalformedByteSequenceException e ) {
    [javac]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] MalformedByteSequenceException cannot be resolved to a type
    [javac] ----------
    [javac] 6 problems (2 errors, 4 warnings)

https://buildd.debian.org/status/fetch.php?pkg=epubcheck&arch=kfreebsd-i386&ver=
1.2-1&stamp=1361028830

EXPECTED:

should compile fine

Original issue reported on code.google.com by mathieu.malaterre on 17 Feb 2013 at 4:50

GoogleCodeExporter commented 8 years ago
It looks like you are trying to compile EpubCheck 1.2, which is a several years 
old version. Please try again with EpubCheck 3.0

Original comment by markus.g...@gmail.com on 26 Mar 2013 at 12:32