forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Alth" <OA...@de.ibm.com>
Subject Re: Forrest on OS/390 Unix System Services
Date Mon, 17 Mar 2003 09:18:58 GMT
Hello Jeff,

this is the end of the output of forrest (it is quite longer).


validate-xdocs:
Using SAX2 reader org.apache.xerces.parsers.SAXParser
Validating book-sample.xml...

BUILD FAILED
file:///u/uni1/apache-forrest-0.4-bin/forrest.build.xml:774: Could not
validate
document /u/uni1/test/src/documentation/content/xdocs/book-sample.xml
         at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XML
ValidateTask.java:417)
         at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLVal
idateTask.java:298)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java(Compiled Code))
         at org.apache.tools.ant.Target.performTasks(Target.java:336)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
         at
org.apache.tools.ant.Project.executeTargets(Project.java(Compiled Cod
e))
         at org.apache.tools.ant.Main.runBuild(Main.java:614)
         at org.apache.tools.ant.Main.start(Main.java:197)
         at org.apache.tools.ant.Main.main(Main.java:235)
--- Nested Exception ---
java.io.FileNotFoundException:
/u/uni1/test/src/documentation/content/xdocs/book
-cocoon-v10.dtd (EDC5129I No such file or directory.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:70)
         at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
.java:90)
         at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
nection.java:155)
         at java.net.URL.openStream(URL.java:816)
         at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.
java:807)
         at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManag
er.java:767)
         at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScanner
Impl.java:275)
         at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
XMLDocumentScannerImpl.java:841)
         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java(Compiled Code))
         at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
         at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
         at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XML
ValidateTask.java:410)
         at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLVal
idateTask.java:298)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java(Compiled Code))
         at org.apache.tools.ant.Target.performTasks(Target.java:336)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
         at
org.apache.tools.ant.Project.executeTargets(Project.java(Compiled Cod
e))
         at org.apache.tools.ant.Main.runBuild(Main.java:614)
         at org.apache.tools.ant.Main.start(Main.java:197)
         at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 11 seconds
UNI1:/u/uni1/test>




I'am a little bit confused about this EBCDIC conversion.

Currently, I am converting all files to EBCDIC except
those with the endings XML, JAR, ZIP, RNG, RNG, DTD.
I found out that I have to convert at least the .sh files
as they are corrupt and not readable when I just unpack them
from the archive.
At first, everything is unpacked, then I "overwrite"
those files that should NOT be converted like this:

# now, get all jar files and overwrite them without conversion
w, get all jar files and overwrite them without conversion
echo 'Overwrite jar Files without EBCDIC conversion...'
for i in `pax -f apache-forrest-current-bin.tar | grep -E jar$`
do
pax -rv -f apache-forrest-current-bin.tar $i
done




If I just unpack everything and only convert the
.sh script for executing forrest (this must be done,
otherwise I can't execute it!), I will get the following
error message:

Apache Forrest.  Run 'forrest -projecthelp' to list options

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main
UNI1:/u/uni1/test>


Thanks in advance for your help,


Oliver

__________________________________________________________________
IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790
Internet: OALTH@DE.IBM.COM


Mime
View raw message