You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Andreia Oliveira <an...@reitoria.uminho.pt> on 2006/07/03 10:22:09 UTC

0.92beta source code

Hi.
 
I have a working C# solution for generating pdf files based on data from a
database,xsd and xslt (for the transformation step using fop). This solution
includes a project that has the sources of fop 0.20.5.
As it is not meeting all my needs in terms of page breaks, svg images,... I
would like to migrate to the latest fop version (0.92b).
 
Where can I download the source code to incorporate in the Visual Studio C#
project and what are the main steps and risks I should take into account
when performing this task? I have JRE 1.5.0 installed in my machine.
 
For example, will the new fop version handle my xslt files or will I have to
change them for compliance?
Is anywhere a demo on how to perform these operations?
 
Thanks in advance,
 
--------------------------------------
Andreia Oliveira
andreia@reitoria.uminho.pt
---------------------------------------
 

RE: 0.92beta source code

Posted by Andreia Oliveira <an...@reitoria.uminho.pt>.
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:fabriziocaldas@gmail.com] 
Sent: quarta-feira, 5 de Julho de 2006 13:03
To: fop-users@xmlgraphics.apache.org
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: 0.92beta source code

Posted by Fabrizio Caldas <fa...@gmail.com>.
Andreia,

For ZIP files go to ths URL

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

Regards,
Fabrizio.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: 0.92beta source code

Posted by Andreia Oliveira <an...@reitoria.uminho.pt>.
I am very new on this and can't understand why the page mentioned only has
directory listing and not a zipped file/solution to download.
It seems to be the history of all fop changes up to the minute of the
download.
What I think I need is the code behind fop 0.9.2b (with all the java
classes) to incorporate in my current solution.

Thanks .

-----Original Message-----
From: Manuel Mall [mailto:manuel@apache.org] 
Sent: segunda-feira, 3 de Julho de 2006 13:42
To: fop-users@xmlgraphics.apache.org
Subject: Re: 0.92beta source code

On Monday 03 July 2006 16:22, Andreia Oliveira wrote:
> Hi.
>
> I have a working C# solution for generating pdf files based on data 
> from a database,xsd and xslt (for the transformation step using fop).
> This solution includes a project that has the sources of fop 0.20.5.
> As it is not meeting all my needs in terms of page breaks, svg 
> images,... I would like to migrate to the latest fop version (0.92b).
>
> Where can I download the source code to incorporate in the Visual 
> Studio C# project and what are the main steps and risks I should take 
> into account when performing this task? I have JRE 1.5.0 installed in 
> my machine.
>

For access to the source code see: 
http://xmlgraphics.apache.org/repo.html

> For example, will the new fop version handle my xslt files or will I 
> have to change them for compliance?

Depends on what you are doing. See
http://xmlgraphics.apache.org/fop/trunk/upgrading.html

> Is anywhere a demo on how to perform these operations?
>

See http://xmlgraphics.apache.org/fop/trunk/embedding.html or
http://xmlgraphics.apache.org/fop/trunk/running.html

> Thanks in advance,
>
> --------------------------------------
> Andreia Oliveira
> andreia@reitoria.uminho.pt <ma...@reitoria.uminho.pt>
> ---------------------------------------

Manuel

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: 0.92beta source code

Posted by Manuel Mall <ma...@apache.org>.
On Monday 03 July 2006 16:22, Andreia Oliveira wrote:
> Hi.
>
> I have a working C# solution for generating pdf files based on data
> from a database,xsd and xslt (for the transformation step using fop).
> This solution includes a project that has the sources of fop 0.20.5.
> As it is not meeting all my needs in terms of page breaks, svg
> images,... I would like to migrate to the latest fop version (0.92b).
>
> Where can I download the source code to incorporate in the Visual
> Studio C# project and what are the main steps and risks I should take
> into account when performing this task? I have JRE 1.5.0 installed in
> my machine.
>

For access to the source code see: 
http://xmlgraphics.apache.org/repo.html

> For example, will the new fop version handle my xslt files or will I
> have to change them for compliance?

Depends on what you are doing. See 
http://xmlgraphics.apache.org/fop/trunk/upgrading.html

> Is anywhere a demo on how to perform these operations?
>

See http://xmlgraphics.apache.org/fop/trunk/embedding.html or 
http://xmlgraphics.apache.org/fop/trunk/running.html

> Thanks in advance,
>
> --------------------------------------
> Andreia Oliveira
> andreia@reitoria.uminho.pt <ma...@reitoria.uminho.pt>
> ---------------------------------------

Manuel

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org