ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <...@koberg.com>
Subject Re: extended xslt task - use URIResolvers to create DependSet
Date Fri, 31 Oct 2008 21:53:28 GMT
Hi,

I am trying to test out the caching for the xslt task, but running  
into some basic problem. I have built ant to include my code changes  
and additions. But, I am getting a class not found exception. The ant- 
nodeps.jar in the dist/lib dir contains the class that is not being  
found. I don't get it. The ant home (below) contains the jar that  
contains the class -- what am I missing??

Running ant with -verbose gives:

rkmbp:test-xsl-cache rkobergmac$ export ANT_HOME=/Users/rkobergmac/ 
Documents/workspace/ant-core/distrkmbp:test-xsl-cache rkobergmac$  
export PATH=/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ 
bin:/usr/X11/bin:/System/Library/Frameworks/JavaVM.framework/Versions/ 
1.6/Home/bin:$ANT_HOME/bin
rkmbp:test-xsl-cache rkobergmac$ echo $PATH
/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/ 
bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:/ 
Users/rkobergmac/Documents/workspace/ant-core/dist/bin
rkmbp:test-xsl-cache rkobergmac$ ant -verbose
Apache Ant version 1.8.0alpha compiled on October 31 2008
Buildfile: /Users/rkobergmac/Documents/workspace/ant-core/test-xsl- 
cache/build.xml
Detected Java version: 1.6 in: /System/Library/Frameworks/ 
JavaVM.framework/Versions/1.6.0/Home
Detected OS: Mac OS X
parsing buildfile /Users/rkobergmac/Documents/workspace/ant-core/test- 
xsl-cache/build.xml with URI = file:/Users/rkobergmac/Documents/ 
workspace/ant-core/test-xsl-cache/build.xml
Project base dir set to: /Users/rkobergmac/Documents/workspace/ant- 
core/test-xsl-cache
Build sequence for target(s) `ant-docs-1' is [ant-docs-1]
Complete build sequence is [ant-docs-1, ]

ant-docs-1:
parsing buildfile jar:file:/Users/rkobergmac/Documents/workspace/ant- 
core/dist/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI =  
jar:file:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
ant.jar!/org/apache/tools/ant/antlib.xml
     [mkdir] Skipping /Users/rkobergmac/Documents/workspace/ant-core/ 
test-xsl-cache/out because it already exists.
      [xslt] java.lang.ClassNotFoundException:  
org.apache.tools.ant.taskdefs.optional.CachingTraXLiaison
      [xslt] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      [xslt] 	at java.security.AccessController.doPrivileged(Native  
Method)
      [xslt] 	at java.net.URLClassLoader.findClass(URLClassLoader.java: 
188)
      [xslt] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
      [xslt] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [xslt] 	at  
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
      [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: 
556)
      [xslt] 	at  
org 
.apache 
.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:541)
      [xslt] 	at  
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java: 
777)
      [xslt] 	at  
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:301)


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


Mime
View raw message