You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by Roland Röder <ro...@swissrisk.com> on 2001/10/16 17:53:08 UTC
Using Alexandria
Hi,
I'm a new user of alexandria and have some problems and questions about it.
My first attempt to mail my questions to alexandria-users@jakarta.apache.org
failed, because no one is participating on the user's list (thanks Steve).
I downloaded the source of alexandria jakarta-alexandria via cvs.
(1) The first try to compile this results in an error:
..../jakarta-alexandria/build.xml:19:
/home/roland/apache/jakarta-site2/lib not found.
Why do I need this module? It would be nice, when the download descriptions
gives a hint about that.
(2) After downloading jakarta-site2, I got an error:
No JAXP compliant XML parser found. See http://java.sun.com/xml for the
reference implementation.
java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.apache.tools.ant.Main.runBuild(Main.java:401)
at org.apache.tools.ant.Main.main(Main.java:149)
I was working with lib/xerces.jar. When I replaced xerces with a new version
1.4, the build completed. Why is this??
(3) After replacing xerces.jar. I go an error during the prepare:
[chmod] /bin/chmod: zuwenige Argumente
[chmod] Versuchen Sie »/bin/chmod --help« für weitere Informationen.
[chmod] Result: 1
but fortunately, the build finished
(4) Building the javadoc, I got an error and some warnings:
javadocs:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package org.apache.alexandria...
[javadoc] Loading source files for package org.apache.alexandria.blame...
[javadoc] Loading source files for package org.apache.alexandria.jxr...
[javadoc] Loading source files for package
org.apache.alexandria.jxr.pacman...
[javadoc] Loading source files for package org.apache.alexandria.util...
[javadoc] Loading source files for package
org.apache.alexandria.xml.api.works
pace...
[javadoc] Loading source files for package
org.apache.alexandria.xml.api.blame
...
[javadoc] Loading source files for package
org.apache.alexandria.xml.api.stats
...
[javadoc] Loading source files for package
org.apache.alexandria.xml.api.allte
sts...
[javadoc] Loading source files for package
org.apache.tools.ant.taskdefs...
[javadoc] Loading source files for package
org.apache.tools.ant.xtaskdefs...
[javadoc] Loading source files for package
org.apache.tools.ant.xtaskdefs.opti
onal...
[javadoc] Loading source files for package org.apache.tools.doclet.xml...
[javadoc] Constructing Javadoc information...
[javadoc] javadoc: warning - Cannot find class com.ibm.bsf.BSFManager
[javadoc] javadoc: warning - Cannot find class com.ibm.bsf.BSFException
[javadoc] Building tree for all the packages and classes...
[javadoc] javadoc: Body tag missing from HTML file
/home/roland/apache/jakarta
-alexandria/src/java/org/apache/alexandria/jxr/pacman/package.html
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] javadoc: warning - Tag @see: Class or Package not found:
MODE_DEFAUL
T
[javadoc] javadoc: warning - Tag @see: Class or Package not found:
MODE_JAVA
[javadoc] Generating
/home/roland/apache/jakarta-alexandria/docs/api/styleshee
t.css...
[javadoc] 1 error
[javadoc] 4 warnings
Which jarfile contains classes com.ibm.bsf.BSF*??
The error is coming from the missing <body>..</body> in
src/java/org/apache/alexandria/jxr/pacman/package.html
(5) When I tried to use a new Xalan-version (from 5/25/2001), I got some
other errors for javadocs:
[javadoc] Constructing Javadoc information...
[javadoc] javadoc: warning - Import not found:
org.apache.xalan.xslt.XSLTProcessorFactory - ignoring!
[javadoc] javadoc: warning - Import not found:
org.apache.xalan.xslt.XSLTProcessor - ignoring!
[javadoc] javadoc: warning - Import not found:
org.apache.xalan.xslt.XSLTInputSource - ignoring!
[javadoc] javadoc: warning - Import not found:
org.apache.xalan.xslt.XSLTResultTarget - ignoring!
[javadoc] Building tree for all the packages and classes...
Why does this happen?
(6) When I run the alexandria script in build/alexandria, I get the error:
java.lang.NoSuchMethodError
at org.apache.xalan.xpath.dtm.DTM.<init>(DTM.java:217)
at org.apache.xalan.xpath.dtm.DTMLiaison.parse(DTMLiaison.java:196)
at
org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEngineImpl.j
ava:817)
at
org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:531)
at
org.apache.tools.ant.xtaskdefs.optional.XalanLiaison.transform(XalanLiaison.
java:85)
at
org.apache.tools.ant.xtaskdefs.XSLTProcess.process(XSLTProcess.java:367)
at
org.apache.tools.ant.xtaskdefs.XSLTProcess.execute(XSLTProcess.java:162)
at org.apache.tools.ant.Target.execute(Target.java:142)
at org.apache.tools.ant.Project.runTarget(Project.java:818)
at org.apache.tools.ant.Project.executeTarget(Project.java:532)
at org.apache.tools.ant.Project.executeTargets(Project.java:506)
at org.apache.tools.ant.Main.runBuild(Main.java:420)
at org.apache.tools.ant.Main.main(Main.java:149)
I tried the old and new Xerces and Xalan, but the error still remains. What
can I do???
(7) Finally, I have a question about the workspace:
- Which workspace file is taken (I found 4 workspace.xml in the
distribution; I think the correct one is in the etc directory)?
Is there any help about my problems???
Thanks in advance
_______________________________________
Roland Röder tel: +41 1 455 70 00
Swissrisk AG fax: +41 1 455 70 01
Räffelstrasse 32 mobile: +49 174 3279432
8045 Zürich mail: roland@swissrisk.com
Switzerland home: www.swissrisk.com
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org
AW: Using Alexandria
Posted by Roland Röder <ro...@swissrisk.com>.
Hi,
thanks for the hint of the ant version. I worked with ANT 1.2. Now I
downloaded the new version 1.4.1 and some problems disappeared. While I'm
still trying the "standard" workspace.xml, I get another error:
cvs:
[echo] Generating cvs file
[xstyle] Loading stylesheet
/home/roland/apache/jakarta-alexandria/build/alexandria/xsl/build.cvs.xsl
[xstyle] Processing
/home/roland/apache/jakarta-alexandria/build/alexandria/var/workspace.xml to
/home/roland/apache/jakarta-alexandria/build/alexandria/var/build.cvs.xml
[xstyle]
[xstyle] Repository www.apache.org not found.
[xstyle]
[xstyle] XSL Error: SAX Exception
[xstyle] Failed to process
/home/roland/apache/jakarta-alexandria/build/alexandria/var/workspace.xml
BUILD FAILED
/home/roland/apache/jakarta-alexandria/build/alexandria/./xml/alexandria.xml
:39: org.apache.xalan.xslt.XSLProcessorException:
Repository www.apache.org not found.
Line 39 is:
<xstyle in="var/${workspace}" out="var/build.cvs.xml"
style="xsl/build.cvs.xsl" />
Ther is no file build.cvs.xml in var
What's wrong?
btw: the build.xml still needs jakarta-site2
Thanks for help
Roland
-----Ursprüngliche Nachricht-----
Von: josh lucas [mailto:lucas@collab.net]
Gesendet: Dienstag, 16. Oktober 2001 21:20
An: alexandria-dev@jakarta.apache.org; roland@swissrisk.com
Betreff: Re: Using Alexandria
On Tue, Oct 16, 2001 at 05:53:08PM +0200, Roland Röder wrote:
> Hi,
>
> I'm a new user of alexandria and have some problems and questions about
it.
> My first attempt to mail my questions to
alexandria-users@jakarta.apache.org
> failed, because no one is participating on the user's list (thanks Steve).
>
> I downloaded the source of alexandria jakarta-alexandria via cvs.
>
> (1) The first try to compile this results in an error:
> ..../jakarta-alexandria/build.xml:19:
> /home/roland/apache/jakarta-site2/lib not found.
> Why do I need this module? It would be nice, when the download
descriptions
> gives a hint about that.
hrm.. I thought I fixed that a bit ago. Could you try to update the
build.xml file? I just looked through the log and I'm pretty sure it is
fixed in cvs.
>
> (2) After downloading jakarta-site2, I got an error:
> No JAXP compliant XML parser found. See http://java.sun.com/xml for the
> reference implementation.
> java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:120)
> at org.apache.tools.ant.Main.runBuild(Main.java:401)
> at org.apache.tools.ant.Main.main(Main.java:149)
>
> I was working with lib/xerces.jar. When I replaced xerces with a new
version
> 1.4, the build completed. Why is this??
what version of Ant are you using?
[snip]
i'll look into the others so I can get you an answer.
josh
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org
Re: Using Alexandria
Posted by josh lucas <lu...@collab.net>.
On Tue, Oct 16, 2001 at 05:53:08PM +0200, Roland Röder wrote:
> Hi,
>
> I'm a new user of alexandria and have some problems and questions about it.
> My first attempt to mail my questions to alexandria-users@jakarta.apache.org
> failed, because no one is participating on the user's list (thanks Steve).
>
> I downloaded the source of alexandria jakarta-alexandria via cvs.
>
> (1) The first try to compile this results in an error:
> ..../jakarta-alexandria/build.xml:19:
> /home/roland/apache/jakarta-site2/lib not found.
> Why do I need this module? It would be nice, when the download descriptions
> gives a hint about that.
hrm.. I thought I fixed that a bit ago. Could you try to update the build.xml file? I just looked through the log and I'm pretty sure it is fixed in cvs.
>
> (2) After downloading jakarta-site2, I got an error:
> No JAXP compliant XML parser found. See http://java.sun.com/xml for the
> reference implementation.
> java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:120)
> at org.apache.tools.ant.Main.runBuild(Main.java:401)
> at org.apache.tools.ant.Main.main(Main.java:149)
>
> I was working with lib/xerces.jar. When I replaced xerces with a new version
> 1.4, the build completed. Why is this??
what version of Ant are you using?
[snip]
i'll look into the others so I can get you an answer.
josh
---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org