RE: build-main fails for tomcat 4.1 (XSLP problem?)

2002-08-27 Thread Andrew Conrad

What version of Xalan are you using?  I had problems with the one
included with JAXP (known bug with XSLT processing)

http://xml.apache.org/xalan-j/index.html  you should get 2.4.D1, making
sure you put xalan.jar, xercesImpl.jar, and xml-apis.jar files are in
the  ant/lib folder.

- Andrew

 -Original Message-
 From: Mike Dewhirst [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, August 27, 2002 10:31 AM
 To: [EMAIL PROTECTED]
 Subject: build-main fails for tomcat 4.1 (XSLP problem?)
 
 
 I am trying to build tomcat4.0 (4.1) from cvs src and have 
 run into the following problem, which I can not resolve. If 
 you have any ideas, please let me know - any advice appreciated:
 
 build-prepare:
 build-static:
 build-main:
 [style] DEPRECATED - xslp processor is deprecated. Use 
 trax or xalan instead.
 [style] java.lang.NoClassDefFoundError: 
 com/kvisco/xsl/XSLProcessor
 [style] at
 org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(Xslp
 Liaison.java:79)
 [style] at java.lang.Class.newInstance0(Native Method)
 [style] at java.lang.Class.newInstance(Class.java:237)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
 TProcess.java:376)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
 ss.java:557)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
 java:195)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.Project.executeTargets(Project.java:1250)
 [style] at org.apache.tools.ant.Main.runBuild(Main.java:610)
 [style] at org.apache.tools.ant.Main.start(Main.java:196)
 [style] at org.apache.tools.ant.Main.main(Main.java:235)
 [style] java.lang.NoClassDefFoundError: 
 org/apache/xalan/xslt/XSLTProcessorFactory
 [style] at
 org.apache.tools.ant.taskdefs.optional.XalanLiaison.init(Xal
 anLiaison.java:83)
 [style] at java.lang.Class.newInstance0(Native Method)
 [style] at java.lang.Class.newInstance(Class.java:237)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
 TProcess.java:379)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
 ss.java:554)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
 java:195)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.Project.executeTargets(Project.java:1250)
 [style] at org.apache.tools.ant.Main.runBuild(Main.java:610)
 [style] at org.apache.tools.ant.Main.start(Main.java:196)
 [style] at org.apache.tools.ant.Main.main(Main.java:235)
 
 BUILD FAILED
 file:/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs
/build.xml:80:
javax.xml.transform.TransformerFactoryConfigurationError: Provider for
javax.xml.transform.TransformerFactory cannot be found




Re: build-main fails for tomcat 4.1 (XSLP problem?)

2002-08-27 Thread Dev Zero G Ltd

 From the debug output below (xslp processor is deprecated. Use trax or 
xalan instead) I'm guessing I'm not using Xalan at all. Any idea how I 
can make ANT use XALAN?

Thanks very much for the help so far and thank for more in advance! ;)

Mike

Andrew Conrad wrote:
 What version of Xalan are you using?  I had problems with the one
 included with JAXP (known bug with XSLT processing)
 
 http://xml.apache.org/xalan-j/index.html  you should get 2.4.D1, making
 sure you put xalan.jar, xercesImpl.jar, and xml-apis.jar files are in
 the  ant/lib folder.
 
 - Andrew
 
 
-Original Message-
From: Mike Dewhirst [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 10:31 AM
To: [EMAIL PROTECTED]
Subject: build-main fails for tomcat 4.1 (XSLP problem?)


I am trying to build tomcat4.0 (4.1) from cvs src and have 
run into the following problem, which I can not resolve. If 
you have any ideas, please let me know - any advice appreciated:

build-prepare:
build-static:
build-main:
[style] DEPRECATED - xslp processor is deprecated. Use 
trax or xalan instead.
[style] java.lang.NoClassDefFoundError: 
com/kvisco/xsl/XSLProcessor
[style] at
org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(Xslp
Liaison.java:79)
[style] at java.lang.Class.newInstance0(Native Method)
[style] at java.lang.Class.newInstance(Class.java:237)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
TProcess.java:376)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
ss.java:557)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
java:195)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style] at 
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style] at 
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
[style] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[style] at org.apache.tools.ant.Main.start(Main.java:196)
[style] at org.apache.tools.ant.Main.main(Main.java:235)
[style] java.lang.NoClassDefFoundError: 
org/apache/xalan/xslt/XSLTProcessorFactory
[style] at
org.apache.tools.ant.taskdefs.optional.XalanLiaison.init(Xal
anLiaison.java:83)
[style] at java.lang.Class.newInstance0(Native Method)
[style] at java.lang.Class.newInstance(Class.java:237)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
TProcess.java:379)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
ss.java:554)
[style] at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
java:195)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style] at 
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style] at 
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
[style] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[style] at org.apache.tools.ant.Main.start(Main.java:196)
[style] at org.apache.tools.ant.Main.main(Main.java:235)

BUILD FAILED

RE: build-main fails for tomcat 4.1 (XSLP problem?)

2002-08-27 Thread Andrew Conrad

Well, according to building.txt step 2, 3rd *, you should copy xalan.jar
into your ANT/lib directory, but this is optional with JDK1.4

- Andrew

 -Original Message-
 From: Dev Zero G Ltd [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, August 27, 2002 3:18 PM
 To: Tomcat Developers List
 Subject: Re: build-main fails for tomcat 4.1 (XSLP problem?)
 
 
  From the debug output below (xslp processor is deprecated. 
 Use trax or 
 xalan instead) I'm guessing I'm not using Xalan at all. Any 
 idea how I 
 can make ANT use XALAN?
 
 Thanks very much for the help so far and thank for more in advance! ;)
 
 Mike
 
 Andrew Conrad wrote:
  What version of Xalan are you using?  I had problems with the one 
  included with JAXP (known bug with XSLT processing)
  
  http://xml.apache.org/xalan-j/index.html  you should get 2.4.D1, 
  making sure you put xalan.jar, xercesImpl.jar, and 
 xml-apis.jar files 
  are in the  ant/lib folder.
  
  - Andrew
  
  
 -Original Message-
 From: Mike Dewhirst [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 27, 2002 10:31 AM
 To: [EMAIL PROTECTED]
 Subject: build-main fails for tomcat 4.1 (XSLP problem?)
 
 
 I am trying to build tomcat4.0 (4.1) from cvs src and have
 run into the following problem, which I can not resolve. If 
 you have any ideas, please let me know - any advice appreciated:
 
 build-prepare:
 build-static:
 build-main:
 [style] DEPRECATED - xslp processor is deprecated. Use
 trax or xalan instead.
 [style] java.lang.NoClassDefFoundError: 
 com/kvisco/xsl/XSLProcessor
 [style] at
 org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(Xslp
 Liaison.java:79)
 [style] at java.lang.Class.newInstance0(Native Method)
 [style] at java.lang.Class.newInstance(Class.java:237)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
 TProcess.java:376)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
 ss.java:557)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
 java:195)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.Project.executeTargets(Project.java:1250)
 [style] at org.apache.tools.ant.Main.runBuild(Main.java:610)
 [style] at org.apache.tools.ant.Main.start(Main.java:196)
 [style] at org.apache.tools.ant.Main.main(Main.java:235)
 [style] java.lang.NoClassDefFoundError: 
 org/apache/xalan/xslt/XSLTProcessorFactory
 [style] at
 org.apache.tools.ant.taskdefs.optional.XalanLiaison.init(Xal
 anLiaison.java:83)
 [style] at java.lang.Class.newInstance0(Native Method)
 [style] at java.lang.Class.newInstance(Class.java:237)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
 TProcess.java:379)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
 ss.java:554)
 [style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
 java:195)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
 [style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
 [style] at org.apache.tools.ant.Task.perform(Task.java:317)
 [style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
 [style

Re: build-main fails for tomcat 4.1 (XSLP problem?)

2002-08-27 Thread Dev Zero G Ltd

FANTASTIC! That worked a treat :)

New problem :(

(THANKS VERY MUCH FOR GETTING ME THIS FAR!)


build-main:
 [style] Transforming into 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-docs
 [style] Processing 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/class-loader-howto.xml 
to 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-docs/class-loader-howto.html
 [style] Loading stylesheet 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/tomcat-docs.xsl
 [style] Processing 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/index.xml to 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-docs/index.html
 [style] Processing 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/introduction.xml 
to 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-docs/introduction.html
 [style] Processing 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/jndi-datasource-examples-howto.xml
 
to 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-docs/jndi-datasource-examples-howto.html
 [style] : Fatal Error! java.lang.NullPointerException:  Cause: 
java.lang.NullPointerException:
 [style] Failed to process 
/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/jndi-datasource-examples-howto.xml

BUILD FAILED
file:/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/build.xml:80: 
Fatal error during transformation


Andrew Conrad wrote:
 Well, according to building.txt step 2, 3rd *, you should copy xalan.jar
 into your ANT/lib directory, but this is optional with JDK1.4
 
 - Andrew
 
 
-Original Message-
From: Dev Zero G Ltd [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 3:18 PM
To: Tomcat Developers List
Subject: Re: build-main fails for tomcat 4.1 (XSLP problem?)


 From the debug output below (xslp processor is deprecated. 
Use trax or 
xalan instead) I'm guessing I'm not using Xalan at all. Any 
idea how I 
can make ANT use XALAN?

Thanks very much for the help so far and thank for more in advance! ;)

Mike

Andrew Conrad wrote:

What version of Xalan are you using?  I had problems with the one 
included with JAXP (known bug with XSLT processing)

http://xml.apache.org/xalan-j/index.html  you should get 2.4.D1, 
making sure you put xalan.jar, xercesImpl.jar, and 

xml-apis.jar files 

are in the  ant/lib folder.

- Andrew



-Original Message-
From: Mike Dewhirst [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 27, 2002 10:31 AM
To: [EMAIL PROTECTED]
Subject: build-main fails for tomcat 4.1 (XSLP problem?)


I am trying to build tomcat4.0 (4.1) from cvs src and have
run into the following problem, which I can not resolve. If 
you have any ideas, please let me know - any advice appreciated:

build-prepare:
build-static:
build-main:
   [style] DEPRECATED - xslp processor is deprecated. Use
trax or xalan instead.
   [style] java.lang.NoClassDefFoundError: 
com/kvisco/xsl/XSLProcessor
   [style] at
org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(Xslp
Liaison.java:79)
   [style] at java.lang.Class.newInstance0(Native Method)
   [style] at java.lang.Class.newInstance(Class.java:237)
   [style] at
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
TProcess.java:376)
   [style] at
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
ss.java:557)
   [style] at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
java:195)
   [style] at org.apache.tools.ant.Task.perform(Task.java:317)
   [style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
   [style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
   [style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
   [style] at 
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
   [style] at org.apache.tools.ant.Task.perform(Task.java:317)
   [style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
   [style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
   [style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
   [style] at 
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
   [style] at org.apache.tools.ant.Task.perform(Task.java:317)
   [style] at 
org.apache.tools.ant.Target.execute(Target.java:309)
   [style] at 
org.apache.tools.ant.Target.performTasks(Target.java:334)
   [style] at 
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
   [style] at 
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
   [style] at org.apache.tools.ant.Main.runBuild(Main.java:610)
   [style] at org.apache.tools.ant.Main.start(Main.java:196)
   [style] at org.apache.tools.ant.Main.main(Main.java:235)
   [style] java.lang.NoClassDefFoundError: 
org/apache/xalan/xslt/XSLTProcessorFactory
   [style] at
org.apache.tools.ant.taskdefs.optional.XalanLiaison.init(Xal
anLiaison.java:83)
   [style

RE: build-main fails for tomcat 4.1 (XSLP problem?)

2002-08-27 Thread Andrew Conrad

Transferring to tomcat-user: pic this thread up there


- Andrew

 -Original Message-
 From: Dev Zero G Ltd [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, August 27, 2002 4:14 PM
 To: Tomcat Developers List
 Subject: Re: build-main fails for tomcat 4.1 (XSLP problem?)
 
 
 FANTASTIC! That worked a treat :)
 
 New problem :(
 
 (THANKS VERY MUCH FOR GETTING ME THIS FAR!)
 
 
 build-main:
  [style] Transforming into 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-docs
  [style] Processing 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/clas
 s-loader-howto.xml 
 to 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-doc
 s/class-loader-howto.html
  [style] Loading stylesheet 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/tomc
 at-docs.xsl
  [style] Processing 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/inde
 x.xml to 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-doc
 s/index.html
  [style] Processing 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/intr
 oduction.xml 
 to 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-doc
 s/introduction.html
  [style] Processing 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/jndi
 -datasource-examples-howto.xml 
 to 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/build/tomcat-doc
 s/jndi-datasource-examples-howto.html
  [style] : Fatal Error! java.lang.NullPointerException:  Cause: 
 java.lang.NullPointerException:
  [style] Failed to process 
 /usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs/jndi
 -datasource-examples-howto.xml
 
 BUILD FAILED
 file:/usr/home/d3wh3m1c/jakarta-tomcat-4.0/webapps/tomcat-docs
 /build.xml:80: 
 Fatal error during transformation
 
 
 Andrew Conrad wrote:
  Well, according to building.txt step 2, 3rd *, you should copy 
  xalan.jar into your ANT/lib directory, but this is optional with 
  JDK1.4
  
  - Andrew
  
  
 -Original Message-
 From: Dev Zero G Ltd [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 27, 2002 3:18 PM
 To: Tomcat Developers List
 Subject: Re: build-main fails for tomcat 4.1 (XSLP problem?)
 
 
  From the debug output below (xslp processor is deprecated.
 Use trax or 
 xalan instead) I'm guessing I'm not using Xalan at all. Any 
 idea how I 
 can make ANT use XALAN?
 
 Thanks very much for the help so far and thank for more in 
 advance! ;)
 
 Mike
 
 Andrew Conrad wrote:
 
 What version of Xalan are you using?  I had problems with the one
 included with JAXP (known bug with XSLT processing)
 
 http://xml.apache.org/xalan-j/index.html  you should get 2.4.D1,
 making sure you put xalan.jar, xercesImpl.jar, and 
 
 xml-apis.jar files
 
 are in the  ant/lib folder.
 
 - Andrew
 
 
 
 -Original Message-
 From: Mike Dewhirst [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 27, 2002 10:31 AM
 To: [EMAIL PROTECTED]
 Subject: build-main fails for tomcat 4.1 (XSLP problem?)
 
 
 I am trying to build tomcat4.0 (4.1) from cvs src and 
 have run into 
 the following problem, which I can not resolve. If you have any 
 ideas, please let me know - any advice appreciated:
 
 build-prepare:
 build-static:
 build-main:
[style] DEPRECATED - xslp processor is deprecated. Use trax or 
 xalan instead.
[style] java.lang.NoClassDefFoundError:
 com/kvisco/xsl/XSLProcessor
[style] at
 org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(Xslp
 Liaison.java:79)
[style] at java.lang.Class.newInstance0(Native Method)
[style] at java.lang.Class.newInstance(Class.java:237)
[style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSL
 TProcess.java:376)
[style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProce
 ss.java:557)
[style] at
 org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.
 java:195)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style] at 
 org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
[style] at org.apache.tools.ant.Task.perform(Task.java:317)
[style] at 
 org.apache.tools.ant.Target.execute(Target.java:309)
[style] at 
 org.apache.tools.ant.Target.performTasks(Target.java:334)
[style] at 
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[style