AW: Error compiling fop - CodePointMapping.java is empty

2002-03-22 Thread Sam Prokop
OK, thanks for the input, but i deleted the whole thing and unziped into
a fresh folder.
I also took all CLASSPATHs out of my global(?) Classpath
(de-Umgebungsvariablen Win2k)
and just added the jimi-1.0.jar to the lib folder.
I start the original build.bat and now i get the following error:

snip
[style] Transforming into
C:\fop\src\fop-0.20.3\build\src\org\apache\fop\ren
der\pdf
[style] Loading stylesheet
C:\fop\src\fop-0.20.3\.\build\src\codegen\code-po
int-mapping.xsl
[style] Processing
C:\fop\src\fop-0.20.3\build\src\codegen\encodings.xml to
C:\fop\src\fop-0.20.3\build\src\org\apache\fop\render\pdf\CodePointMappi
ng.java
[style] Failed to process
C:\fop\src\fop-0.20.3\build\src\codegen\encodings.
xml

BUILD FAILED

C:\fop\src\fop-0.20.3\build.xml:472:
javax.xml.transform.TransformerException: o
rg.xml.sax.SAXParseException: File
file:///C:/fop/src/fop-0.20.3/C:/fop/src/fop
-0.20.3/build/src/codegen/encodings.xml not found.
--- Nested Exception ---
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException:
File f
ile:///C:/fop/src/fop-0.20.3/C:/fop/src/fop-0.20.3/build/src/codegen/enc
odings.x
ml not found.

snip

where does this Path-doubling come from,  
file:///C:/fop/src/fop-0.20.3/C:/fop/src/fop-0.20.3/build/src/codegen/en
codings.xml
i checked the build.xml, it looks all right to me,
the property name=encodings.xml-stuff looks exactly as the stuff
before.
there must happen something strange to the ${build.codegen}
Path-variable, so maybe i use the wrong xsl-processor,
but that is xalan2, that comes with the whole package.

any ideas? I mean if this should work with xalan2 maybe it is because of
java 1.4.0?

anyway, this is just because i want to use png (jimi.jar), so i think
its ok for me to use jpeg or a workaround with svg.



 -Ursprüngliche Nachricht-
 Von: Christian Geisert [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 21. März 2002 18:25
 An: [EMAIL PROTECTED]
 Betreff: Re: Error compiling fop - CodePointMapping.java is empty
 
 
 Sam Prokop wrote:
  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]
 
 [..]
 
  Has anyone an idea, what i did wrong?
 
 Maybe using xerces2 ?
 Please try compiling with the jars from the distribution.
 
 Christian
 
 


Re: Error compiling fop - CodePointMapping.java is empty

2002-03-21 Thread Christian Geisert
Sam Prokop wrote:
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]
[..]
Has anyone an idea, what i did wrong?
Maybe using xerces2 ?
Please try compiling with the jars from the distribution.
Christian