You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Oliver Alth <OA...@de.ibm.com> on 2003/03/14 17:42:50 UTC

Forrest on OS/390 Unix System Services

Hello,

am currently working on a project
in our departement that involves installing the apache forrest tool.

      I am currently trying to install forrest on USS for z/OS (OS/390). I
      encountered several problems having to do with ASCII-EBCDIC
      conversion. I found out that I had to translate shell scripts and
      some other files from ASCII to EBCDIC using the pax tool.I left Jar,
      Zip, XML Files as they were. Finally, I was able to execute forrest.

         The remaining problem:
         Forrest says

         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

         when calling forrest
          after having called forrest seed.

         Perhaps it has something to with the dtds?

         On Linux and Windows, the same procedure works without problems.

         Have you got any ideas about this problem?

__________________________________________________________________
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


Re: Forrest on OS/390 Unix System Services

Posted by Jeff Turner <je...@apache.org>.
On Fri, Mar 14, 2003 at 05:42:50PM +0100, Oliver Alth wrote:
> Hello,
> 
> am currently working on a project
> in our departement that involves installing the apache forrest tool.
> 
>       I am currently trying to install forrest on USS for z/OS (OS/390). I
>       encountered several problems having to do with ASCII-EBCDIC
>       conversion. I found out that I had to translate shell scripts and
>       some other files from ASCII to EBCDIC using the pax tool.I left Jar,
>       Zip, XML Files as they were. Finally, I was able to execute forrest.
> 
>          The remaining problem:
>          Forrest says
> 
>          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

Could you try running 'forrest -v' (verbose) and paste the result?  That
should print the actual error.

>          when calling forrest
>           after having called forrest seed.
> 
>          Perhaps it has something to with the dtds?

Out the box, all the Forrest files should be in ASCII.  I think that by
default, the XML processor will assume UTF-8 encoding, so out-the-box
Forrest files should work.

If your XML files and DTDs are using EBCDIC, make sure they all have a
correct XML declaration at the beginning, e.g. <?xml version="1.0"
encoding="ebcdic-cp-us"?>.


--Jeff

>          On Linux and Windows, the same procedure works without problems.
> 
>          Have you got any ideas about this problem?
> 
> __________________________________________________________________
> 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