Hi, compiling fop-0.20.3 on win2k with java 1.4.0 i get the following
message  

<-....->  
    [echo] Compiling the sources
    [javac] Compiling 328 source files to
C:\fop\src\fop-0.20.3\build\classes
    [javac] Note: sun.tools.javac.Main has been deprecated.
    [javac] error: File
C:\fop\src\fop-0.20.3\build\src\org\apache\fop\render\pd
f\CodePointMapping.java does not contain type
org.apache.fop.render.pdf.CodePoin
tMapping as expected. Please adjust the class path so that the file does
not app
ear in the package org\apache\fop\render\pdf.
    [javac]
C:\fop\src\fop-0.20.3\build\src\org\apache\fop\layout\FontState.java
:14: Class org.apache.fop.render.pdf.CodePointMapping not found in
import.
    [javac] import org.apache.fop.render.pdf.CodePointMapping;
    [javac]        ^
    [javac]
C:\fop\src\fop-0.20.3\build\src\org\apache\fop\render\pdf\fonts\Sing
leByteFont.java:11: Class org.apache.fop.render.pdf.CodePointMapping not
found i
n import.
    [javac] import org.apache.fop.render.pdf.CodePointMapping;
    [javac]        ^

<-...->

this file
C:\fop\src\fop-0.20.3\build\src\org\apache\fop\render\pdf\CodePointMappi
ng.java is empty.
this is my build.bat:
@echo off

echo Fop Build System
echo ----------------

if "%JAVA_HOME%" == "" goto error

set LIBDIR=lib
set
LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LI
BDIR%\ant.jar;%LIBDIR%\ant-1.3-optional.jar;%LIBDIR%\batik-libs-1.1.1.ja
r;%LIBDIR%\buildtools.jar;C:\xerces\xerces-2_0_1\xercesImpl.jar;C:\xerce
s\xerces-2_0_1\xmlParserAPIs.jar;%LIBDIR%\xalan-2.0.0.jar;%LIBDIR%\xalan
j1compat.jar;%LIBDIR%\bsf.jar
set
LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar;%LIBDIR%\logkit-1.
0.jar;%LIBDIR%\avalon-framework-4.0.jar

set ANT_HOME=%LIBDIR%

echo Building with classpath %LOCALCLASSPATH%

echo Starting Ant...

%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
"%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5

goto end

:error

echo ERROR: JAVA_HOME not found in your environment.
echo Please, set the JAVA_HOME variable in your environment to match the
echo location of the Java Virtual Machine you want to use.

:end

rem set LOCALCLASSPATH=

Has anyone an idea, what i did wrong?

here is the complete error-message/build.log:
 <<build.zip>> 

<<attachment: build.zip>>

Reply via email to