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 Cyril Rognon <cr...@objectiva.fr> on 2002/04/19 11:55:53 UTC

build failure with J2SDK1.4

Hi Fopers

I have checked out the 0.20.3 with a -r fop-0_20_3 version tag (think 
that's the right thing to do to get the 0.20.3 release)

Then I have uncommented the new method in 
src/org/apache/fop/svg/PDFGraphics2D.java


when I try to build FOP, I get an error after 14 seconds. If anyone has 
some ideas, I take it !

The classpath set for the build :

Fop Build System
----------------
Building with classpath 
C:\bin\jsdk1.4.0\lib\tools.jar;C:\bin\jsdk1.4.0\lib\classes.zip;lib\ant.jar;lib\ant-1.3-optional.jar;lib\batik.jar;lib\buildtools.jar;lib\xerces-1.2.3.jar;lib\xalan-2.0.0.jar;lib\xalanj1compat.jar;lib\bsf.jar;lib\jimi-1.0.jar;lib\logkit-1.0.jar;lib\avalon-framework-4.0.jar

Here is the trace of the build failure :

============================
     [style] Transforming into 
E:\cvs\fop\maintain\xml-fop\build\src\org\apache\fop\render\pdf
     [style] Loading stylesheet 
E:\cvs\fop\maintain\xml-fop\.\build\src\codegen\code-point-mapping.xsl
     [style] Processing 
E:\cvs\fop\maintain\xml-fop\build\src\codegen\encodings.xml to 
E:\cvs\fop\maintain\xml-fop\build\src\org\apache\fop\render\pdf\CodePointMapping.java
     [style] Failed to process 
E:\cvs\fop\maintain\xml-fop\build\src\codegen\encodings.xml

BUILD FAILED

E:\cvs\fop\maintain\xml-fop\build.xml:472: 
javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: 
File 
"file:///E:/cvs/fop/maintain/xml-fop/E:/cvs/fop/maintain/xml-fop/build/src/codegen/encodings.xml" 
not found.
--- Nested Exception ---


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: build failure with J2SDK1.4

Posted by Cyril Rognon <cr...@objectiva.fr>.
Thanks Keiron,

I think you may be right. I have successfully done the build by processing 
the codegen target with a JDK1.3 JVM and the package target with the new 
JSDK1.4.0.

It worked out well.

It appears the XML parser that comes with this last JVM is interfering. 
Maybe further distro will have to watch out for this problem.

thx

Cyril

At 09:26 23/04/2002 +0200, you wrote:

>This is either a problem with the xml+xsl files we are using or a problem 
>with the parser, I'm not usre which.
>Note that jdk1.4 comes with an xml parser which could be interfering with 
>the xml parser in the lib directory.
>Sorry I can't be of more help.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: build failure with J2SDK1.4

Posted by Satoshi Ishigami <is...@victokai.co.jp>.
see
http://marc.theaimsgroup.com/?l=fop-dev&m=101435800418329&w=2

I could compile FOP-0.20.3 with J2SDK1.4 on Windows platform
when I put xerces-1.2.3.jar and xalan-2.0.0.jar under
<java-home>\jre\lib\endorsed directory.

Of cource, I have also commented out the new method in 
PDFGraphics2D.java.

But I have not checked whether the compiled fop.jar correctly 
works for many test cases, yet.

Regards.

---
Satoshi Ishigami   VIC TOKAI CORPORATION



On Fri, 19 Apr 2002 11:55:53 +0200 , Cyril Rognon wrote:

> Hi Fopers
> 
> I have checked out the 0.20.3 with a -r fop-0_20_3 version tag (think 
> that's the right thing to do to get the 0.20.3 release)
> 
> Then I have uncommented the new method in 
> src/org/apache/fop/svg/PDFGraphics2D.java
> 
> 
> when I try to build FOP, I get an error after 14 seconds. If anyone has 
> some ideas, I take it !
> 
> The classpath set for the build :
> 
> Fop Build System
> ----------------
> Building with classpath 
> C:\bin\jsdk1.4.0\lib\tools.jar;C:\bin\jsdk1.4.0\lib\classes.zip;lib\ant.jar;
lib\ant-1.3-optional.jar;lib\batik.jar;lib\buildtools.jar;lib\
xerces-1.2.3.jar;
lib\xalan-2.0.0.jar;lib\xalanj1compat.jar;lib\bsf.jar;lib\jimi-1.
0.jar;lib\
logkit-1.0.jar;lib\avalon-framework-4.0.jar
> 
> Here is the trace of the build failure :
> 
> ============================
>      [style] Transforming into 
> E:\cvs\fop\maintain\xml-fop\build\src\org\apache\fop\render\pdf
>      [style] Loading stylesheet 
> E:\cvs\fop\maintain\xml-fop\.\build\src\codegen\code-point-mapping.xsl
>      [style] Processing 
> E:\cvs\fop\maintain\xml-fop\build\src\codegen\encodings.xml to 
> E:\cvs\fop\maintain\xml-fop\build\src\org\apache\fop\render\pdf\
CodePointMapping.java
>      [style] Failed to process 
> E:\cvs\fop\maintain\xml-fop\build\src\codegen\encodings.xml
> 
> BUILD FAILED
> 
> E:\cvs\fop\maintain\xml-fop\build.xml:472: 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: 
> File 
> "file:///E:/cvs/fop/maintain/xml-fop/E:/cvs/fop/maintain/xml-fop/build/src/
codegen/encodings.xml" 
> not found.
> --- Nested Exception ---
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: build failure with J2SDK1.4

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Cyril Rognon wrote:
 > Hi Fopers
 >
 > I have checked out the 0.20.3 with a -r fop-0_20_3 version tag (think
 > that's the right thing to do to get the 0.20.3 release)

Yes, but if you want the current maintenance branch source use
-r fop-0_20_2-maintain

 > when I try to build FOP, I get an error after 14 seconds. If anyone has
 > some ideas, I take it !

I just tried it with win2k and jsdk1.4 and it worked from a dos box but
I got the same error as you using cygwin.
Are you using cygwin ? If yes, I just committed a patch to the
maintenance branch which should fix this.


Christian



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: build failure with J2SDK1.4

Posted by "Peter B. West" <pb...@powerup.com.au>.
Keiron Liddle wrote:

> On 2002.04.19 11:55 Cyril Rognon wrote:
>
>> Hi Fopers
>>
>> I have checked out the 0.20.3 with a -r fop-0_20_3 version tag (think 
>> that's the right thing to do to get the 0.20.3 release)
>>
>> Then I have uncommented the new method in 
>> src/org/apache/fop/svg/PDFGraphics2D.java
>>
>>
>> when I try to build FOP, I get an error after 14 seconds. If anyone 
>> has some ideas, I take it !
>>
>> The classpath set for the build :
>>
>> Fop Build System
>> ----------------
>> Building with classpath 
>> C:\bin\jsdk1.4.0\lib\tools.jar;C:\bin\jsdk1.4.0\lib\classes.zip;lib\ant.jar;lib\ant-1.3-optional.jar;lib\batik.jar;lib\buildtools.jar;lib\xerces-1.2.3.jar;lib\xalan-2.0.0.jar;lib\xalanj1compat.jar;lib\bsf.jar;lib\jimi-1.0.jar;lib\logkit-1.0.jar;lib\avalon-framework-4.0.jar 
>>
>>
>> Here is the trace of the build failure :
>>
>> ============================
>>     [style] Transforming into 
>> E:\cvs\fop\maintain\xml-fop\build\src\org\apache\fop\render\pdf
>>     [style] Loading stylesheet 
>> E:\cvs\fop\maintain\xml-fop\.\build\src\codegen\code-point-mapping.xsl
>>     [style] Processing 
>> E:\cvs\fop\maintain\xml-fop\build\src\codegen\encodings.xml to 
>> E:\cvs\fop\maintain\xml-fop\build\src\org\apache\fop\render\pdf\CodePointMapping.java 
>>
>>     [style] Failed to process 
>> E:\cvs\fop\maintain\xml-fop\build\src\codegen\encodings.xml
>>
>> BUILD FAILED
>>
>> E:\cvs\fop\maintain\xml-fop\build.xml:472: 
>> javax.xml.transform.TransformerException: 
>> org.xml.sax.SAXParseException: File 
>> "file:///E:/cvs/fop/maintain/xml-fop/E:/cvs/fop/maintain/xml-fop/build/src/codegen/encodings.xml" 
>> not found.
>> --- Nested Exception --- 
>

Cyril, Keiron,

Could there be some bizarre bug which is converting a filespec like
E:\cvs\fop\maintain\xml-fop\.\build\src\codegen\code-point-mapping.xsl
into
E:\cvs\fop\maintain\xml-fop\E:\cvs\fop\maintain\xml-fop\build\src\codegen\code-point-mapping.xsl 

in certain circumstances?

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: build failure with J2SDK1.4

Posted by Keiron Liddle <ke...@aftexsw.com>.
This is either a problem with the xml+xsl files we are using or a problem 
with the parser, I'm not usre which.
Note that jdk1.4 comes with an xml parser which could be interfering with 
the xml parser in the lib directory.
Sorry I can't be of more help.

On 2002.04.19 11:55 Cyril Rognon wrote:
> Hi Fopers
> 
> I have checked out the 0.20.3 with a -r fop-0_20_3 version tag (think 
> that's the right thing to do to get the 0.20.3 release)
> 
> Then I have uncommented the new method in 
> src/org/apache/fop/svg/PDFGraphics2D.java
> 
> 
> when I try to build FOP, I get an error after 14 seconds. If anyone has 
> some ideas, I take it !
> 
> The classpath set for the build :
> 
> Fop Build System
> ----------------
> Building with classpath 
> C:\bin\jsdk1.4.0\lib\tools.jar;C:\bin\jsdk1.4.0\lib\classes.zip;lib\ant.jar;lib\ant-1.3-optional.jar;lib\batik.jar;lib\buildtools.jar;lib\xerces-1.2.3.jar;lib\xalan-2.0.0.jar;lib\xalanj1compat.jar;lib\bsf.jar;lib\jimi-1.0.jar;lib\logkit-1.0.jar;lib\avalon-framework-4.0.jar
> 
> Here is the trace of the build failure :
> 
> ============================
>     [style] Transforming into 
> E:\cvs\fop\maintain\xml-fop\build\src\org\apache\fop\render\pdf
>     [style] Loading stylesheet 
> E:\cvs\fop\maintain\xml-fop\.\build\src\codegen\code-point-mapping.xsl
>     [style] Processing 
> E:\cvs\fop\maintain\xml-fop\build\src\codegen\encodings.xml to 
> E:\cvs\fop\maintain\xml-fop\build\src\org\apache\fop\render\pdf\CodePointMapping.java
>     [style] Failed to process 
> E:\cvs\fop\maintain\xml-fop\build\src\codegen\encodings.xml
> 
> BUILD FAILED
> 
> E:\cvs\fop\maintain\xml-fop\build.xml:472: 
> javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: 
> File 
> "file:///E:/cvs/fop/maintain/xml-fop/E:/cvs/fop/maintain/xml-fop/build/src/codegen/encodings.xml" 
> not found.
> --- Nested Exception ---

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org