You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Gavin Bong <Ga...@consortio.com> on 2000/09/12 21:14:36 UTC

[ User Question ] Compile problem v0.14.0

I downloaded the fop zipfile yesterday.
When I ran build.bat; it compiled a bunch of files
and error'ed with this message:-


=======================================================
Fop Build System
----------------
Building with classpath
d:\progra~1\jdk1.3\lib\tools.jar;d:\progra~1\jdk1.3\lib\classes.zip;lib\ant.
jar;lib\w3c.jar;lib
Starting Ant...
Buildfile: build.xml
    [chmod] The src attribute is deprecated. Please use the file attribute.
    [chmod] The src attribute is deprecated. Please use the file attribute.

init:
------------------- Fop 0.13 [1999-2000] ----------------

prepare:
Preparing the build directories

codegen:
Resetting codegen directory
Generating the java files from xml resources

prepare-xt:

prepare-jimi:

prepare-src:

compile:
Compiling the sources 
    [javac] Compiling 76 source files to D:\Program
Files\fop-0_14_0\build\classes
    [javac] D:\Program
Files\fop-0_14_0\build\src\org\apache\fop\dom\svg\SVGAElementImpl.java:0:
Class org.apache.fop.dom.svg.ElementImpl not found in class
org.apache.fop.dom.svg.SVGElementImpl.
    [javac] /*-- $Id: SVGAElementImpl.java,v 1.1 2000/07/11 00:46:50 keiron
Exp $ -- 
    [javac] ^
    [javac] 1 error

BUILD FAILED

build.xml:317: Compile failed

Total time: 3 seconds
=======================================================


My question: Since I am not going to be using the SVG features at the
moment, how do I disable SVG from the compilation (build.xml) ? 
Can I use the supplied fop_bin_0_14_0.jar as is - and what is its
compilation properties ?

Thanks

G

Re: [ User Question ] Compile problem v0.14.0

Posted by Christian Geisert <Ch...@isu-gmbh.de>.
Gavin Bong wrote:
> 
> I downloaded the fop zipfile yesterday.
> When I ran build.bat; it compiled a bunch of files
> and error'ed with this message:-
> 
...
> 
> BUILD FAILED
> 
> build.xml:317: Compile failed
> 
> Total time: 3 seconds
> =======================================================
> 
> My question: Since I am not going to be using the SVG features at the
> moment, how do I disable SVG from the compilation (build.xml) ?
> Can I use the supplied fop_bin_0_14_0.jar as is - and what is its
> compilation properties ?

If you just want to use FOP you don't have to compile it at all!
Just add the jar to your classpath.
But if you want the latest version you have to get the source via cvs
and then compile it yourself.

> Thanks
> 
> G

Adios,
  Christian

Re: [ User Question ] Compile problem v0.14.0

Posted by Keiron Liddle <ke...@aftexsw.com>.
I'm not sure what is causing the compile problem, missing file or something.
There is no way of not compiling the svg stuff, mainly because the renderers
(pdf and awt) need to access the svg stuff. Idealy the renderers should only be
rendering the dom (not the implementation) but this is not currently the case.

You could try compiling with the original fop jar in the classpath.

Keiron.

Gavin Bong wrote:

> I downloaded the fop zipfile yesterday.
> When I ran build.bat; it compiled a bunch of files
> and error'ed with this message:-
>
> =======================================================
> Fop Build System
> ----------------
> Building with classpath
> d:\progra~1\jdk1.3\lib\tools.jar;d:\progra~1\jdk1.3\lib\classes.zip;lib\ant.
> jar;lib\w3c.jar;lib
> Starting Ant...
>

[snip]

>     [javac] Compiling 76 source files to D:\Program
> Files\fop-0_14_0\build\classes
>     [javac] D:\Program
> Files\fop-0_14_0\build\src\org\apache\fop\dom\svg\SVGAElementImpl.java:0:
> Class org.apache.fop.dom.svg.ElementImpl not found in class
> org.apache.fop.dom.svg.SVGElementImpl.
>     [javac] /*-- $Id: SVGAElementImpl.java,v 1.1 2000/07/11 00:46:50 keiron
> Exp $ --
>     [javac] ^
>     [javac] 1 error
>
> My question: Since I am not going to be using the SVG features at the
> moment, how do I disable SVG from the compilation (build.xml) ?
> Can I use the supplied fop_bin_0_14_0.jar as is - and what is its
> compilation properties ?