[ http://issues.apache.org/jira/browse/XERCESJ-1025?page=history ]

Michael Glavassevich reassigned XERCESJ-1025:
---------------------------------------------

    Assign To: Michael Glavassevich

> build.bat fails in compile
> --------------------------
>
>          Key: XERCESJ-1025
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1025
>      Project: Xerces2-J
>         Type: Bug
>   Components: Other
>     Versions: 2.6.2
>  Environment: Windows 2K
> JDK 1.2.2
>     Reporter: Phil Shaw
>     Assignee: Michael Glavassevich

>
> I downloaded the Xerces-J-src.X.Y.Z.zip and Xerces-J-tools.X.Y.Z.zip, unzipped them, 
> and tried to do 
> a build.bat following the instructions in the README file.
> I did this with JDK1.2.  That was my general aim, since I've
> encounted some exceptions ("java.lang.ClassFormatError")
> when using the downloaded jar file with JDK 1.2.
> The "build.bat jars" failed in compile.  I attach the messages
> below.
> Any ideas?   Does Xerces 2.6.2 work with JDK 1.2 as it says?
> Thanks for any suggestions,
> Phil Shaw
> ===============OUTPUT FROM BUILD.BAT =====================
> Xerces-Java Build System
> ------------------------
> Building with ant classpath 
> d:\jdk1.2.2\lib\tools.jar;d:\jdk1.2.2\lib\classes.zip;.\tools\ant.jar;.\tools\xercesImpl.jar;.\tools\xml-apis.jar;.\tools\bin\xjavac.jar
> Starting Ant...
> Buildfile: build.xml
> init:
>      [echo] ---------------- Xerces-J 2.6.2 [1999-2004] ---------------
> prepare:
>     [mkdir] Created dir: D:\work\xerces_2_6_2_source\xerces-2_6_2\build
> prepare-common:
>     [mkdir] Created dir: D:\work\xerces_2_6_2_source\xerces-2_6_2\build\src
>     [mkdir] Created dir: D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes
>     [mkdir] Created dir: 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes\META-INF
>     [mkdir] Created dir: 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes\META-INF\services
>      [copy] Copying 1 file to 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes\META-INF\services
>      [copy] Copying 1 file to 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes\META-INF\services
>      [copy] Copying 1 file to 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes\META-INF\services
> prepare-src:
>      [copy] Copying 1 file to 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes\META-INF\services
>      [copy] Copying 631 files to D:\work\xerces_2_6_2_source\xerces-2_6_2\build\src
>     [unzip] Expanding: 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\tools\xml-commons-external-1.2.01-src.zip 
> into D:\work\xerces_2_6_2_source\xerces-2_6_2\build\src
> compile:
>      [copy] Copying 10 files to 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes
>    [xjavac] Compiling 643 source files to 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\classes
>    [xjavac] 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\src\org\apache\xerces\impl\xs\XMLSchemaValidator.java:1068:
>  Blank final variable 'fGrammarBucket' may not have been initialized. It must be 
> assigned a value in an initializer, or in every constructor.
>    [xjavac]   final XSGrammarBucket fGrammarBucket;
>    [xjavac]                                       ^
>    [xjavac] 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\src\org\apache\xerces\impl\xs\XMLSchemaValidator.java:1069:
>  Blank final variable 'fSubGroupHandler' may not have been initialized. It must be 
> assigned a value in an initializer, or in every constructor.
>    [xjavac]   final SubstitutionGroupHandler fSubGroupHandler;
>    [xjavac]                                                  ^
>    [xjavac] 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\src\org\apache\xerces\impl\xs\XMLSchemaValidator.java:1072:
>  Blank final variable 'fSchemaLoader' may not have been initialized. It must be 
> assigned a value in an initializer, or in every constructor.
>    [xjavac]   final XMLSchemaLoader fSchemaLoader;
>    [xjavac]                                      ^
>    [xjavac] 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\src\org\apache\xml\serialize\DOMSerializerImpl.java:763:
>  Method getPath() not found in class java.net.URL.
>    [xjavac]                             out = new FileOutputStream(new 
> File(url.getPath()));
>    [xjavac]                                                                          
>   ^
>    [xjavac] 
> D:\work\xerces_2_6_2_source\xerces-2_6_2\build\src\org\apache\xml\serialize\DOMSerializerImpl.java:938:
>  Method getPath() not found in class java.net.URL.
>    [xjavac]                 out = new FileOutputStream(new File(url.getPath()));
>    [xjavac]                                                                ^
>    [xjavac] Note: 8 files use or override a deprecated API.  Recompile with 
> "-deprecation" for details.
>    [xjavac] 5 errors, 1 warning

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to