xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Lane <ja...@onspeed.com>
Subject Ant Rasterizer Task Build Problem
Date Mon, 03 Apr 2006 17:02:49 GMT
Hi list,

I'm trying to build the ANT Rasterizer Task to no avail. I'm running  
on OS X 10.4.5, Ant version 1.6.2 and have got the latest Batik  
sources. It seems that is asking for lots of deprecated classes, Any  
ideas:


compile:
     [javac] Compiling 2 source files to /Users/Zardoz/DEV/batik/ 
trunk/contrib/rasterizertask/build/classes
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
31: package org.apache.batik.apps.rasterizer does not exist
     [javac] import org.apache.batik.apps.rasterizer.SVGConverter;
     [javac]                                         ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
32: package org.apache.batik.apps.rasterizer does not exist
     [javac] import org.apache.batik.apps.rasterizer.DestinationType;
     [javac]                                         ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
33: package org.apache.batik.apps.rasterizer does not exist
     [javac] import  
org.apache.batik.apps.rasterizer.SVGConverterException;
     [javac]                                         ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
34: package org.apache.batik.transcoder.image does not exist
     [javac] import org.apache.batik.transcoder.image.JPEGTranscoder;
     [javac]                                          ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
35: package org.apache.batik.util does not exist
     [javac] import org.apache.batik.util.XMLResourceDescriptor;
     [javac]                              ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
82: cannot resolve symbol
     [javac] symbol  : class DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]     protected DestinationType resultType =  
DestinationType.PNG;
     [javac]               ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
120: cannot resolve symbol
     [javac] symbol  : class SVGConverter
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]     protected SVGConverter converter;
     [javac]               ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
543: cannot resolve symbol
     [javac] symbol  : class DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]     protected DestinationType getResultType(String type) {
     [javac]                   ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
564: cannot resolve symbol
     [javac] symbol  : class DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]     protected boolean allowedToSetQuality 
(DestinationType type) {
     [javac]                                           ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTaskSVGConverterController.java:23: package  
org.apache.batik.transcoder does not exist
     [javac] import org.apache.batik.transcoder.Transcoder;
     [javac]                                    ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTaskSVGConverterController.java:24: package  
org.apache.batik.apps.rasterizer does not exist
     [javac] import  
org.apache.batik.apps.rasterizer.SVGConverterController;
     [javac]                                         ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTaskSVGConverterController.java:25: package  
org.apache.batik.apps.rasterizer does not exist
     [javac] import org.apache.batik.apps.rasterizer.SVGConverterSource;
     [javac]                                         ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTaskSVGConverterController.java:51: cannot resolve symbol
     [javac] symbol  : class SVGConverterController
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTaskSVGConverterControl 
ler
     [javac] public class RasterizerTaskSVGConverterController  
implements SVGConverterController {
      
[javac]                                                              ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTaskSVGConverterController.java:76: cannot resolve symbol
     [javac] symbol  : class Transcoder
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTaskSVGConverterControl 
ler
     [javac]     public boolean proceedWithComputedTask(Transcoder  
transcoder,
     [javac]                                            ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTaskSVGConverterController.java:83: cannot resolve symbol
     [javac] symbol  : class SVGConverterSource
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTaskSVGConverterControl 
ler
     [javac]     public boolean proceedWithSourceTranscoding 
(SVGConverterSource source,
     [javac]                                                 ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTaskSVGConverterController.java:88: cannot resolve symbol
     [javac] symbol  : class SVGConverterSource
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTaskSVGConverterControl 
ler
     [javac]     public boolean proceedOnSourceTranscodingFailure 
(SVGConverterSource source,
     [javac]                                                      ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTaskSVGConverterController.java:99: cannot resolve symbol
     [javac] symbol  : class SVGConverterSource
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTaskSVGConverterControl 
ler
     [javac]     public void onSourceTranscodingSuccess 
(SVGConverterSource source,
     [javac]                                            ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
82: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]     protected DestinationType resultType =  
DestinationType.PNG;
     [javac]                                            ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
105: cannot resolve symbol
     [javac] symbol  : variable XMLResourceDescriptor
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]     protected String readerClassName =  
XMLResourceDescriptor.getXMLParserClassName();
     [javac]                                        ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
129: cannot resolve symbol
     [javac] symbol  : class SVGConverter
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]         converter = new SVGConverter(new  
RasterizerTaskSVGConverterController(this));
     [javac]                         ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
350: cannot resolve symbol
     [javac] symbol  : variable XMLResourceDescriptor
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]         String defaultParser =  
XMLResourceDescriptor.getXMLParserClassName();
     [javac]                                ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
352: cannot resolve symbol
     [javac] symbol  : variable XMLResourceDescriptor
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]         XMLResourceDescriptor.setXMLParserClassName 
(getParserClassName(readerClassName));
     [javac]         ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
392: cannot resolve symbol
     [javac] symbol  : class SVGConverterException
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]             } catch(SVGConverterException sce) {
     [javac]                     ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
397: cannot resolve symbol
     [javac] symbol  : variable XMLResourceDescriptor
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]             XMLResourceDescriptor.setXMLParserClassName 
(defaultParser);
     [javac]             ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
544: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]         if(type.equals(DestinationType.PNG_STR)) {
     [javac]                        ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
545: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]             return DestinationType.PNG;
     [javac]                    ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
546: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]         } else if(type.equals(DestinationType.JPEG_STR)) {
     [javac]                               ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
547: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]             return DestinationType.JPEG;
     [javac]                    ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
548: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]         } else if(type.equals(DestinationType.TIFF_STR)) {
     [javac]                               ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
549: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]             return DestinationType.TIFF;
     [javac]                    ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
550: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]         } else if(type.equals(DestinationType.PDF_STR)) {
     [javac]                               ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
551: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]             return DestinationType.PDF;
     [javac]                    ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
565: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask
     [javac]         if(!type.toString().equals 
(DestinationType.JPEG_STR)) {
     [javac]                                    ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
719: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask.ValidImageTypes
     [javac]                 {DestinationType.PNG_STR,
     [javac]                  ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
720: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask.ValidImageTypes
     [javac]                 DestinationType.JPEG_STR,
     [javac]                 ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
721: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask.ValidImageTypes
     [javac]                 DestinationType.TIFF_STR,
     [javac]                 ^
     [javac] /Users/Zardoz/DEV/batik/trunk/contrib/rasterizertask/ 
sources/org/apache/tools/ant/taskdefs/optional/RasterizerTask.java: 
722: cannot resolve symbol
     [javac] symbol  : variable DestinationType
     [javac] location: class  
org.apache.tools.ant.taskdefs.optional.RasterizerTask.ValidImageTypes
     [javac]                 DestinationType.PDF_STR};
     [javac]                 ^
     [javac] Note: /Users/Zardoz/DEV/batik/trunk/contrib/ 
rasterizertask/sources/org/apache/tools/ant/taskdefs/optional/ 
RasterizerTask.java uses or overrides a deprecated API.
     [javac] Note: Recompile with -deprecation for details.
     [javac] 37 errors


Many Thanks All



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


Mime
View raw message