OK. 
Solved this question by installing JDK1.5.0 and setting correctly the
environment variables JAVA_HOME and PATH.
The compilation was successful.
Added the files to my solution library but I am getting errors regarding
xerces (can't find all libraries).
How do I get the xerces source files (that match my fop version)?
I noticed that in the C:\apache-ant-1.6.5 folder (ant installation folder) I
have lib\xercesimpl.jar...

Thanks,
Andreia

-----Original Message-----
From: Andreia Oliveira [mailto:[EMAIL PROTECTED] 
Sent: terça-feira, 11 de Julho de 2006 16:06
To: '[email protected]'
Subject: RE: 0.92beta source code

Hi,

After this last email I downloaded the sources of fop 0.92.beta Also
downloaded ant 1.6.5 to perform the build.

When trying to buid the source files I got the following message:


C:\fop-0.92beta>ant
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.5.
0_06\lib\tools.jar
Buildfile: build.xml

init-avail:
     [echo] ------------------- Apache FOP 0.92beta [1999-2006]
----------------

     [echo] See build.properties and build-local.properties for additional
build  settings
     [echo] Apache Ant version 1.6.5 compiled on June 2 2005
     [echo] VM: 1.5.0_06-b05, Sun Microsystems Inc.
     [echo] JAVA_HOME: ${env.JAVA_HOME}
     [echo] Jimi Support NOT Present
     [echo] JAI Support NOT Present
     [echo] JCE Support PRESENT
     [echo] JUnit Support NOT Present - Committers are required to have
JUnit wo rking
     [echo] XMLUnit Support NOT Present - you can get it from
http://xmlunit.sou rceforge.net

init-filters-jdk14:
     [echo] Use GraphicsConfiguration adapter for JDK 1.4.

init-filters-jdk13:

init:

codegen:
     [echo] Generating the java files from xml resources
    [mkdir] Created dir: C:\fop-0.92beta\build\gensrc
    [mkdir] Created dir:
C:\fop-0.92beta\build\gensrc\org\apache\fop\fonts\base1
4
    [style] Processing C:\fop-0.92beta\src\codegen\encodings.xml to
C:\fop-0.92b eta\build\gensrc\org\apache\fop\fonts\CodePointMapping.java
    [style] Loading stylesheet
C:\fop-0.92beta\src\codegen\code-point-mapping.xs
l
    [style] Processing C:\fop-0.92beta\src\codegen\Courier.xml to
C:\fop-0.92bet a\build\gensrc\org\apache\fop\fonts\base14\Courier.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\CourierOblique.xml to
C:\fop-
0.92beta\build\gensrc\org\apache\fop\fonts\base14\CourierOblique.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\CourierBold.xml to
C:\fop-0.9 2beta\build\gensrc\org\apache\fop\fonts\base14\CourierBold.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\CourierBoldOblique.xml to
C:\
fop-0.92beta\build\gensrc\org\apache\fop\fonts\base14\CourierBoldOblique.jav
a
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\Helvetica.xml to
C:\fop-0.92b eta\build\gensrc\org\apache\fop\fonts\base14\Helvetica.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\HelveticaBold.xml to
C:\fop-0 .92beta\build\gensrc\org\apache\fop\fonts\base14\HelveticaBold.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\HelveticaOblique.xml to
C:\fo
p-0.92beta\build\gensrc\org\apache\fop\fonts\base14\HelveticaOblique.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\HelveticaBoldOblique.xml
to C
:\fop-0.92beta\build\gensrc\org\apache\fop\fonts\base14\HelveticaBoldOblique
.jav
a
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\TimesRoman.xml to
C:\fop-0.92 beta\build\gensrc\org\apache\fop\fonts\base14\TimesRoman.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\TimesItalic.xml to
C:\fop-0.9 2beta\build\gensrc\org\apache\fop\fonts\base14\TimesItalic.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\TimesBold.xml to
C:\fop-0.92b eta\build\gensrc\org\apache\fop\fonts\base14\TimesBold.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\TimesBoldItalic.xml to
C:\fop
-0.92beta\build\gensrc\org\apache\fop\fonts\base14\TimesBoldItalic.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\Symbol.xml to
C:\fop-0.92beta \build\gensrc\org\apache\fop\fonts\base14\Symbol.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl
    [style] Processing C:\fop-0.92beta\src\codegen\ZapfDingbats.xml to
C:\fop-0.
92beta\build\gensrc\org\apache\fop\fonts\base14\ZapfDingbats.java
    [style] Loading stylesheet C:\fop-0.92beta\src\codegen\font-file.xsl

compile-java:
    [mkdir] Created dir: C:\fop-0.92beta\build\classes
    [javac] Compiling 732 source files to C:\fop-0.92beta\build\classes

BUILD FAILED
C:\fop-0.92beta\build.xml:386: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Total time: 25 seconds
C:\fop-0.92beta>

Can someone help me to solve this issue?
Is there something I should change on the build.xml?
Or... could it be sth in the PATH environment variable?

Thanks in advance,
Andreia

-----Original Message-----
From: Fabrizio Caldas [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 5 de Julho de 2006 13:03
To: [email protected]
Subject: Re: 0.92beta source code

Andreia,

For ZIP files go to ths URL

http://www.apache.org/dyn/closer.cgi/xmlgraphics/fop

Regards,
Fabrizio.

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


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

Reply via email to