xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bzb999 <bzb...@gmail.com>
Subject Failed trying to compile souce, cannot find TraXLiaison
Date Tue, 18 Oct 2011 01:33:22 GMT

Hello All,

I did a checkout of the 1.0 version of the FOP.  When I tried to compile
using Ant, I got the following exception.  Something to do with missing
TraXLiaison.

Could someone help out?
Thanks
--------------------------------

$ ant -version
Apache Ant version 1.7.1 compiled on October 20 2009

$ ant                                               
Buildfile: build.xml                                

init-avail:
     [echo] ------------------- Apache FOP 1.0 [1999-2010] ----------------
     [echo] See build.properties and build-local.properties for additional
build settings
     [echo] Apache Ant version 1.7.1 compiled on October 20 2009                         
     [echo] VM: 19.1-b02, Sun Microsystems Inc.                                          
     [echo] JAVA_HOME: /etc/alternatives/java_sdk_sun                                    
     [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
    [mkdir] Created dir: /home/wt/MyDocuments/fop-1.0-src/build/gensrc
    [mkdir] Created dir:
/home/wt/MyDocuments/fop-1.0-src/build/gensrc/org/apache/fop/fonts/base14
     [xslt] java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.optional.TraXLiaison  
     [xslt]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)                
        
     [xslt]     at java.security.AccessController.doPrivileged(Native
Method)
     [xslt]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [xslt]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     [xslt]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     [xslt]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     [xslt]     at java.lang.Class.forName0(Native Method)
     [xslt]     at java.lang.Class.forName(Class.java:169)
     [xslt]     at
org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:548)
     [xslt]     at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:533)
     [xslt]     at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:785)
     [xslt]     at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:300)
     [xslt]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [xslt]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
Source)
     [xslt]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [xslt]     at java.lang.reflect.Method.invoke(Method.java:597)
     [xslt]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [xslt]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [xslt]     at org.apache.tools.ant.Target.execute(Target.java:357)
     [xslt]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [xslt]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [xslt]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [xslt]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [xslt]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [xslt]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
     [xslt]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [xslt]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
     [xslt]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

BUILD FAILED
java.lang.ClassNotFoundException:
org.apache.tools.ant.taskdefs.optional.TraXLiaison
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:548)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:533)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:785)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:300)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 2 seconds

-- 
View this message in context: http://old.nabble.com/Failed-trying-to-compile-souce%2C-cannot-find-TraXLiaison-tp32671833p32671833.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Mime
View raw message