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 John Brown <jo...@hotmail.com> on 2017/06/29 12:37:51 UTC
Error when building FOP svn 1800269 - cannot find symbol symbol
getNameForGID(int)
john@john-pc /c/downloads/fop-svn/fop
$ ant
Buildfile: c:\downloads\fop-svn\fop\build.xml
Trying to override old definition of task javac
Trying to override old definition of task junit
init-avail:
[echo] ------------------- Apache FOP 2.3.0-SNAPSHOT [1999-2017] ----------------
[echo] See build.properties and build-local.properties for additional build settings
[echo] Apache Ant(TM) version 1.9.6 compiled on June 29 2015
[echo] VM: 25.112-b15, Oracle Corporation
[echo] JAVA_HOME: c:/progra~1/java/jdk1.8.0_112
[echo] JAI Support NOT Present
[echo] JCE Support PRESENT
[echo] JUnit Support NOT Present - Committers are required to have JUnit working
[echo] XMLUnit Support NOT Present - you can get it from http://xmlunit.sourceforge.net
init:
codegen:
[echo] Generating the java files from xml resources
[xslt] Transforming into c:\downloads\fop-svn\fop\build\gensrc\org\apache\fop\fonts\base14
compile-java:
[javac] Compiling 211 source files to c:\downloads\fop-svn\fop\build\classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] c:\downloads\fop-svn\fop-core\src\main\java\org\apache\fop\render\ps\Type1FontFormatter.java:115: error: cannot find symbol
[javac] String name = font.getCharset().getNameForGID(gid.getKey());
[javac] ^
[javac] symbol: method getNameForGID(Integer)
[javac] location: class CFFCharset
[javac] c:\downloads\fop-svn\fop-core\src\main\java\org\apache\fop\render\ps\Type1FontFormatter.java:160: error: cannot find symbol
[javac] String mapping = font.getCharset().getNameForGID(gid);
[javac] ^
[javac] symbol: method getNameForGID(int)
[javac] location: class CFFCharset
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[javac] 1 warning
BUILD FAILED
c:\downloads\fop-svn\fop\build.xml:351: Compile failed; see the compiler error output for details.
Total time: 11 seconds
john@john-pc /c/downloads/fop-svn/fop
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Error when building FOP svn 1800269 - cannot find symbol symbol
getNameForGID(int)
Posted by John Brown <jo...@hotmail.com>.
On Thursday, June 29, 2017 8:49 AM, Simon Stener wrote:
>
> Hi,
>
> Maybe you have an old fontbox jar on your classpath?
Yes, that was it. I had fontbox-1.3.1.jar in fop-svn\fop\lib as well as fontbox-2.0.4.
Regards,
John Brown.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE: Error when building FOP svn 1800269 - cannot find symbol symbol getNameForGID(int)
Posted by Simon Steiner <si...@gmail.com>.
Hi,
Maybe you have an old fontbox jar on your classpath?
Thanks
-----Original Message-----
From: John Brown [mailto:johnbrown105@hotmail.com]
Sent: 29 June 2017 13:38
To: fop-users@xmlgraphics.apache.org
Subject: Error when building FOP svn 1800269 - cannot find symbol symbol
getNameForGID(int)
john@john-pc /c/downloads/fop-svn/fop
$ ant
Buildfile: c:\downloads\fop-svn\fop\build.xml
Trying to override old definition of task javac Trying to override old
definition of task junit
init-avail:
[echo] ------------------- Apache FOP 2.3.0-SNAPSHOT [1999-2017]
----------------
[echo] See build.properties and build-local.properties for additional
build settings
[echo] Apache Ant(TM) version 1.9.6 compiled on June 29 2015
[echo] VM: 25.112-b15, Oracle Corporation
[echo] JAVA_HOME: c:/progra~1/java/jdk1.8.0_112
[echo] JAI Support NOT Present
[echo] JCE Support PRESENT
[echo] JUnit Support NOT Present - Committers are required to have
JUnit working
[echo] XMLUnit Support NOT Present - you can get it from
http://xmlunit.sourceforge.net
init:
codegen:
[echo] Generating the java files from xml resources
[xslt] Transforming into
c:\downloads\fop-svn\fop\build\gensrc\org\apache\fop\fonts\base14
compile-java:
[javac] Compiling 211 source files to
c:\downloads\fop-svn\fop\build\classes
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
[javac]
c:\downloads\fop-svn\fop-core\src\main\java\org\apache\fop\render\ps\Type1Fo
ntFormatter.java:115: error: cannot find symbol
[javac] String name =
font.getCharset().getNameForGID(gid.getKey());
[javac] ^
[javac] symbol: method getNameForGID(Integer)
[javac] location: class CFFCharset
[javac]
c:\downloads\fop-svn\fop-core\src\main\java\org\apache\fop\render\ps\Type1Fo
ntFormatter.java:160: error: cannot find symbol
[javac] String mapping =
font.getCharset().getNameForGID(gid);
[javac] ^
[javac] symbol: method getNameForGID(int)
[javac] location: class CFFCharset
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[javac] 1 warning
BUILD FAILED
c:\downloads\fop-svn\fop\build.xml:351: Compile failed; see the compiler
error output for details.
Total time: 11 seconds
john@john-pc /c/downloads/fop-svn/fop
---------------------------------------------------------------------
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