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 Sat, 01 Nov 2008 04:48:06 GMT
BTW, here is the output from ant -diagnostics. As I mentioned before,  
I do have the class  
(org.apache.tools.ant.taskdefs.optional.CachingTraXLiaison) that is  
not being found in the ant-nodeps.jar (I even unzipped it to check).

I modified the org.apache.tools.ant.taskdefs.XSLTProcess to choose the  
new liaison class if it sees an xslcache attribute on the xslt task,  
which occurs.

Output includes 'optional tasks : not available',  but I have every  
jar necessary in the $ANT_HOME/lib dir. I think this is being printed  
because Diagnostics defines this:
   private static final String TEST_CLASS =  
"org.apache.tools.ant.taskdefs.optional.Test";
Which does not exist in the optional package.

I can't find 'org.apache.env.Which diagnostics' -- the closest thing I  
can find is Xalan (of which I have the latest in the ant lib dir).

Any ideas why it can't find the class (stack trace in previous message)?



rkmbp:test-xsl-cache rkobergmac$ ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.8.0alpha compiled on October 31 2008

-------------------------------------------
  Implementation Version
-------------------------------------------
core tasks     : 1.8.0
optional tasks : not available

-------------------------------------------
  ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant version 1.8.0alpha compiled on October 31 2008
ant.java.version: 1.6
ant.core.lib: /Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
ant.jar
ant.home: /Users/rkobergmac/Documents/workspace/ant-core/dist

-------------------------------------------
  ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /Users/rkobergmac/Documents/workspace/ant-core/dist
activation.jar (55147 bytes)
ant-antlr.jar (5752 bytes)
ant-antunit-1.1.jar (35776 bytes)
ant-apache-bcel.jar (8611 bytes)
ant-apache-bsf.jar (3939 bytes)
ant-apache-log4j.jar (3044 bytes)
ant-apache-oro.jar (39627 bytes)
ant-apache-regexp.jar (3762 bytes)
ant-apache-resolver.jar (4071 bytes)
ant-commons-logging.jar (3910 bytes)
ant-commons-net.jar (48541 bytes)
ant-jai.jar (21348 bytes)
ant-javamail.jar (7855 bytes)
ant-jdepend.jar (8132 bytes)
ant-jmf.jar (6593 bytes)
ant-jsch.jar (39257 bytes)
ant-junit.jar (101682 bytes)
ant-launcher.jar (12962 bytes)
ant-netrexx.jar (9881 bytes)
ant-nodeps.jar (409235 bytes)
ant-swing.jar (6751 bytes)
ant-testutil.jar (15157 bytes)
ant-trax.jar (7012 bytes)
ant.jar (1397588 bytes)
antlr-3.1.1-runtime.jar (116205 bytes)
antlr-3.1.1.jar (1513525 bytes)
bcel-5.2.jar (533339 bytes)
bsf.jar (113369 bytes)
commons-logging-1.1.1.jar (60841 bytes)
commons-logging-adapters-1.1.1.jar (26520 bytes)
commons-logging-api-1.1.1.jar (52313 bytes)
commons-net-1.4.1.jar (180792 bytes)
jakarta-oro-2.0.8.jar (65261 bytes)
jakarta-regexp-1.5.jar (33028 bytes)
jdepend-2.9.jar (82818 bytes)
js.jar (756883 bytes)
jsch-20081026.jar (211917 bytes)
junit-3.8.2.jar (120640 bytes)
log4j-1.2.15.jar (391834 bytes)
mail.jar (371264 bytes)
NetRexxC.jar (355931 bytes)
resolver.jar (84091 bytes)
saxon9.jar (5024396 bytes)
serializer.jar (278281 bytes)
stringtemplate-3.2.jar (172023 bytes)
xalan.jar (1760887 bytes)
xercesImpl.jar (1223877 bytes)
xml-apis.jar (194354 bytes)
xsltc.jar (1871313 bytes)

-------------------------------------------
  USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: /Users/rkobergmac
No such directory.

-------------------------------------------
  Tasks availability
-------------------------------------------
wlrun : Not Available (the implementation class is not present)
stlist : Not Available (the implementation class is not present)
starteam : Not Available (the implementation class is not present)
stylebook : Not Available (the implementation class is not present)
stlabel : Not Available (the implementation class is not present)
stcheckin : Not Available (the implementation class is not present)
stcheckout : Not Available (the implementation class is not present)
ejbc : Not Available (the implementation class is not present)
wlstop : Not Available (the implementation class is not present)
ddcreator : Not Available (the implementation class is not present)
A task being missing/unavailable should only matter if you are trying  
to use it

-------------------------------------------
  org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
  XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: /Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/xercesImpl.jar
Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl 
$JAXPSAXParser
Namespace-aware parser Location: /Users/rkobergmac/Documents/workspace/ 
ant-core/dist/lib/xercesImpl.jar

-------------------------------------------
  System properties
-------------------------------------------
java.runtime.name : Java(TM) SE Runtime Environment
sun.boot.library.path : /System/Library/Frameworks/JavaVM.framework/ 
Versions/1.6.0/Libraries
java.vm.version : 1.6.0_07-b06-57
awt.nativeDoubleBuffering : true
ant.library.dir : /Users/rkobergmac/Documents/workspace/ant-core/dist/ 
lib
gopherProxySet : false
java.vm.vendor : Apple Inc.
java.vendor.url : http://www.apple.com/
path.separator : :
java.vm.name : Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg : sun.io
user.country : US
sun.java.launcher : SUN_STANDARD
sun.os.patch.level : unknown
java.vm.specification.name : Java Virtual Machine Specification
user.dir : /Users/rkobergmac/Documents/workspace/ant-core/test-xsl-cache
java.runtime.version : 1.6.0_07-b06-153
java.awt.graphicsenv : apple.awt.CGraphicsEnvironment
java.endorsed.dirs : /System/Library/Frameworks/JavaVM.framework/ 
Versions/1.6.0/Home/lib/endorsed
os.arch : x86_64
java.io.tmpdir : /tmp
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
os.name : Mac OS X
ant.home : /Users/rkobergmac/Documents/workspace/ant-core/dist
sun.jnu.encoding : MacRoman
java.library.path : .:/Library/Java/Extensions:/System/Library/Java/ 
Extensions:/usr/lib/java
java.specification.name : Java Platform API Specification
java.class.version : 50.0
sun.management.compiler : HotSpot 64-Bit Server Compiler
os.version : 10.5.5
http.nonProxyHosts : local|*.local|169.254/16|*.169.254/16
user.home : /Users/rkobergmac
user.timezone : America/New_York
java.awt.printerjob : apple.awt.CPrinterJob
java.specification.version : 1.6
file.encoding : MacRoman
user.name : rkobergmac
java.class.path : /Users/rkobergmac/Documents/workspace/ant-core/dist/ 
lib/ant-launcher.jar:/Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/activation.jar:/Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/ant-antlr.jar:/Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/ant-antunit-1.1.jar:/Users/rkobergmac/Documents/workspace/ant- 
core/dist/lib/ant-apache-bcel.jar:/Users/rkobergmac/Documents/ 
workspace/ant-core/dist/lib/ant-apache-bsf.jar:/Users/rkobergmac/ 
Documents/workspace/ant-core/dist/lib/ant-apache-log4j.jar:/Users/ 
rkobergmac/Documents/workspace/ant-core/dist/lib/ant-apache-oro.jar:/ 
Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ant-apache- 
regexp.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ant- 
apache-resolver.jar:/Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/ant-commons-logging.jar:/Users/rkobergmac/Documents/workspace/ 
ant-core/dist/lib/ant-commons-net.jar:/Users/rkobergmac/Documents/ 
workspace/ant-core/dist/lib/ant-jai.jar:/Users/rkobergmac/Documents/ 
workspace/ant-core/dist/lib/ant-javamail.jar:/Users/rkobergmac/ 
Documents/workspace/ant-core/dist/lib/ant-jdepend.jar:/Users/ 
rkobergmac/Documents/workspace/ant-core/dist/lib/ant-jmf.jar:/Users/ 
rkobergmac/Documents/workspace/ant-core/dist/lib/ant-jsch.jar:/Users/ 
rkobergmac/Documents/workspace/ant-core/dist/lib/ant-junit.jar:/Users/ 
rkobergmac/Documents/workspace/ant-core/dist/lib/ant-launcher.jar:/ 
Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ant- 
netrexx.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
ant-nodeps.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
ant-swing.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
ant-testutil.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/ 
lib/ant-trax.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/ 
lib/ant.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
antlr-3.1.1-runtime.jar:/Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/antlr-3.1.1.jar:/Users/rkobergmac/Documents/workspace/ant- 
core/dist/lib/bcel-5.2.jar:/Users/rkobergmac/Documents/workspace/ant- 
core/dist/lib/bsf.jar:/Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/commons-logging-1.1.1.jar:/Users/rkobergmac/Documents/ 
workspace/ant-core/dist/lib/commons-logging-adapters-1.1.1.jar:/Users/ 
rkobergmac/Documents/workspace/ant-core/dist/lib/commons-logging- 
api-1.1.1.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
commons-net-1.4.1.jar:/Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/jakarta-oro-2.0.8.jar:/Users/rkobergmac/Documents/workspace/ 
ant-core/dist/lib/jakarta-regexp-1.5.jar:/Users/rkobergmac/Documents/ 
workspace/ant-core/dist/lib/jdepend-2.9.jar:/Users/rkobergmac/ 
Documents/workspace/ant-core/dist/lib/js.jar:/Users/rkobergmac/ 
Documents/workspace/ant-core/dist/lib/jsch-20081026.jar:/Users/ 
rkobergmac/Documents/workspace/ant-core/dist/lib/junit-3.8.2.jar:/ 
Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
log4j-1.2.15.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/ 
lib/mail.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
NetRexxC.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
resolver.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
saxon9.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
serializer.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/lib/ 
stringtemplate-3.2.jar:/Users/rkobergmac/Documents/workspace/ant-core/ 
dist/lib/xalan.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/ 
lib/xercesImpl.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/ 
lib/xml-apis.jar:/Users/rkobergmac/Documents/workspace/ant-core/dist/ 
lib/xsltc.jar
java.vm.specification.version : 1.0
sun.arch.data.model : 64
java.home : /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/ 
Home
java.specification.vendor : Sun Microsystems Inc.
user.language : en
awt.toolkit : apple.awt.CToolkit
java.vm.info : mixed mode
java.version : 1.6.0_07
java.ext.dirs : /Library/Java/Extensions:/System/Library/Java/ 
Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/ 
Home/lib/ext
sun.boot.class.path : /System/Library/Frameworks/JavaVM.framework/ 
Versions/1.6.0/Classes/classes.jar:/System/Library/Frameworks/ 
JavaVM.framework/Versions/1.6.0/Classes/ui.jar:/System/Library/ 
Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar:/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ 
sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/ 
1.6.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/ 
Versions/1.6.0/Classes/jce.jar:/System/Library/Frameworks/ 
JavaVM.framework/Versions/1.6.0/Classes/charsets.jar
java.vendor : Apple Inc.
file.separator : /
java.vendor.url.bug : http://bugreport.apple.com/
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
mrj.version : 1040.1.6.0_07-153
socksNonProxyHosts : local|*.local|169.254/16|*.169.254/16
jikes.class.path : :/System/Library/Frameworks/JavaVM.framework/ 
Versions/1.6/Home/../Classes/charsets.jar:/System/Library/Frameworks/ 
JavaVM.framework/Versions/1.6/Home/../Classes/classes.jar:/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/ 
dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/ 
Home/../Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/ 
Versions/1.6/Home/../Classes/jconsole.jar:/System/Library/Frameworks/ 
JavaVM.framework/Versions/1.6/Home/../Classes/jsse.jar:/System/Library/ 
Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/laf.jar:/ 
System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../ 
Classes/management-agent.jar:/System/Library/Frameworks/ 
JavaVM.framework/Versions/1.6/Home/../Classes/ui.jar
ftp.nonProxyHosts : local|*.local|169.254/16|*.169.254/16
sun.cpu.isalist :

-------------------------------------------
  Temp dir
-------------------------------------------
Temp dir is /tmp
Temp dir is writeable
Temp dir alignment with system clock is -839 ms


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


Mime
View raw message