You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Stephan Schlierf <st...@vsa.de> on 2003/09/11 15:23:00 UTC
apache forrest 0.5 rc1
Hi,
I just tested the 0.5rc1 Jeff made available yesterday.
I unpacked it, moved the existing xml-forrest-directory to "xlm-forrest.old",
moved the "apache..."-directory to "xml-forrest", rebuilded forrest, created
a new directory for test purposes, changed to it and did a "forrest seed".
Now if I try a "forrest" command, forrest dies with
BUILD FAILED
/home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:851:
java.lang.reflect.InvocationTargetException
Any ideas?
TIA
Stephan
BTW: I run Forrest on a Linux-System
Re: apache forrest 0.5 rc1
Posted by Juan Jose Pablos <ch...@che-che.com>.
Stephan,
Than changes is to allow a http conection for users with proxy.
But the real problem is why do you make a http contetion to validate a
xml document.
I supplied a patch, for does people that have not got CVS access.
Cheers,
Cheche
Stephan Schlierf wrote:
> Cheche,
>
> I edited the forrest.build.xml-file as Andre said and now it works
>
> Am Donnerstag, 11. September 2003 16:23 schrieb Juan Jose Pablos:
>
Re: apache forrest 0.5 rc1
Posted by Stephan Schlierf <st...@vsa.de>.
Cheche,
I edited the forrest.build.xml-file as Andre said and now it works
Am Donnerstag, 11. September 2003 16:23 schrieb Juan Jose Pablos:
> Stepan,
>
> The issue possibly comes here:
>
>
> Index: catalog.xcat
> ===================================================================
> RCS file: /home/cvspublic/xml-forrest/src/resources/schema/catalog.xcat,v
> retrieving revision 1.18
> retrieving revision 1.22
> diff -r1.18 -r1.22
> 1a2,3
>
> > <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
>
> V1.0//EN"
>
> > "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
>
> 3c5,6
> < <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
> ---
>
> > <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
> > prefer="public">
>
> All these errors, comes by the fact that forrest is making a conection
> to validate the catalog.
>
> I need someone to test it without the public stuff.
>
>
> Cheers,
> Cheche
>
> Stephan Schlierf wrote:
> > Hi,
> >
> > I just tested the 0.5rc1 Jeff made available yesterday.
> > I unpacked it, moved the existing xml-forrest-directory to
> > "xlm-forrest.old", moved the "apache..."-directory to "xml-forrest",
> > rebuilded forrest, created a new directory for test purposes, changed to
> > it and did a "forrest seed".
> >
> > Now if I try a "forrest" command, forrest dies with
> > BUILD FAILED
> > /home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:851:
> > java.lang.reflect.InvocationTargetException
> >
> > Any ideas?
> > TIA
> > Stephan
> > BTW: I run Forrest on a Linux-System
--
Stephan E. Schlierf M.A.
Methoden, Werkzeuge, Technologien
Bereich Informationssysteme
VSA Bayreuth
Gottlieb-Keim-Str. 23
95448 Bayreuth
Tel.: (0921) 75 86 42-13
Fax: (0921) 75 86 42-70
www.vsa.de
www.apothekenportal.de
Re: apache forrest 0.5 rc1
Posted by Juan Jose Pablos <ch...@che-che.com>.
Stepan,
The issue possibly comes here:
Index: catalog.xcat
===================================================================
RCS file: /home/cvspublic/xml-forrest/src/resources/schema/catalog.xcat,v
retrieving revision 1.18
retrieving revision 1.22
diff -r1.18 -r1.22
1a2,3
> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
V1.0//EN"
> "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
3c5,6
< <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
---
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
> prefer="public">
All these errors, comes by the fact that forrest is making a conection
to validate the catalog.
I need someone to test it without the public stuff.
Cheers,
Cheche
Stephan Schlierf wrote:
> Hi,
>
> I just tested the 0.5rc1 Jeff made available yesterday.
> I unpacked it, moved the existing xml-forrest-directory to "xlm-forrest.old",
> moved the "apache..."-directory to "xml-forrest", rebuilded forrest, created
> a new directory for test purposes, changed to it and did a "forrest seed".
>
> Now if I try a "forrest" command, forrest dies with
> BUILD FAILED
> /home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:851:
> java.lang.reflect.InvocationTargetException
>
> Any ideas?
> TIA
> Stephan
> BTW: I run Forrest on a Linux-System
Re: apache forrest 0.5 rc1
Posted by Stephan Schlierf <st...@vsa.de>.
Am Freitag, 12. September 2003 01:03 schrieb Jeff Turner:
> On Thu, Sep 11, 2003 at 03:45:50PM +0200, Stephan Schlierf wrote:
> > Am Donnerstag, 11. September 2003 15:33 schrieb Johan Andries:
> > > Hello,
> > >
> > > Don't know if it's related to what Stephan wrote, but after downloading
> > > 0.5 RC1 and first running a "forrest seed" and afterwards trying to
> > > generate the site with forrest I get a failed build. Strangely enough,
> > > several docs seem to be compiled but suddenly, after
> > > skin/images/menu-right.gif, the build halts. I'm currently testing on
> > > Win XP Pro, Java build 1.4.2_01-b06.
> > >
> > > See below:
> > >
> > > -- snip --
> > > * [0] images/group.png
> > > * [30] samples/wiki-sample.html
> > > * [0] samples/wiki-sample.pdf
> > > * [0] skin/images/menu-right.gif
> > > Total time: 0 minutes 18 seconds
>
> That's not right. Could you have a look in
> build/tmp/context/WEB-INF/logs/error.log and see if there's anything
> interesting? Or could you run 'forrest -v'?
Yes and no: A "forrest seed site" works without a Java exception.
But if I do a "forrest site" in my project directory the exception still
remains.
At the end of a forrest -v you see:
BUILD FAILED
/home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:635: Java
returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:254)
at org.apache.tools.ant.Task.perform(Task.java:399)
at
org.apache.tools.ant.taskdefs.Parallel$TaskRunnable.run(Parallel.java:313)
at java.lang.Thread.run(Thread.java:534)
I've attached the error.log.
But as I wrote all documents are compiled...
Stephan
RE: apache forrest 0.5 rc1
Posted by Johan Andries <ja...@schaubroeck.be>.
Hi Jeff,
D'loaded the current Forrest 0.5 RC1 from cvs again, deleted the build
directory, reassigned my FORREST_HOME (just to be sure) and now everything's
running smoothly again. Thanks!
Cheers,
Johan
-----Oorspronkelijk bericht-----
Van: Jeff Turner [mailto:jefft@apache.org]
Verzonden: vrijdag 12 september 2003 1:04
Aan: forrest-dev@xml.apache.org
Onderwerp: Re: apache forrest 0.5 rc1
On Thu, Sep 11, 2003 at 03:45:50PM +0200, Stephan Schlierf wrote:
> Am Donnerstag, 11. September 2003 15:33 schrieb Johan Andries:
> > Hello,
> >
> > Don't know if it's related to what Stephan wrote, but after downloading
0.5
> > RC1 and first running a "forrest seed" and afterwards trying to generate
> > the site with forrest I get a failed build. Strangely enough, several
docs
> > seem to be compiled but suddenly, after skin/images/menu-right.gif, the
> > build halts. I'm currently testing on Win XP Pro, Java build
1.4.2_01-b06.
> >
> > See below:
> >
> > -- snip --
> > * [0] images/group.png
> > * [30] samples/wiki-sample.html
> > * [0] samples/wiki-sample.pdf
> > * [0] skin/images/menu-right.gif
> > Total time: 0 minutes 18 seconds
That's not right. Could you have a look in
build/tmp/context/WEB-INF/logs/error.log and see if there's anything
interesting? Or could you run 'forrest -v'?
> > BUILD FAILED
> > C:\test\xml-forrest\build\dist\shbat\forrest.build.xml:606: Java
returned:
> > 1 -- snip --
>
> I had - and still have - the same problem; Jeff told me that this is due
to
> broken links (and even the examples shipped with forrest have broken
links).
The ihtml problem was fixed in the RC, so running 'forrest seed site'
should be cleanly now. If you upgraded from CVS, did you delete the
build/ directory before rebuilding? Do you have a FORREST_HOME variable
pointing to an old Forrest?
--Jeff
>
> Stephan
...
> > Now if I try a "forrest" command, forrest dies with
> > BUILD FAILED
> > /home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:851:
> > java.lang.reflect.InvocationTargetException
...
Re: apache forrest 0.5 rc1
Posted by Jeff Turner <je...@apache.org>.
On Thu, Sep 11, 2003 at 03:45:50PM +0200, Stephan Schlierf wrote:
> Am Donnerstag, 11. September 2003 15:33 schrieb Johan Andries:
> > Hello,
> >
> > Don't know if it's related to what Stephan wrote, but after downloading 0.5
> > RC1 and first running a "forrest seed" and afterwards trying to generate
> > the site with forrest I get a failed build. Strangely enough, several docs
> > seem to be compiled but suddenly, after skin/images/menu-right.gif, the
> > build halts. I'm currently testing on Win XP Pro, Java build 1.4.2_01-b06.
> >
> > See below:
> >
> > -- snip --
> > * [0] images/group.png
> > * [30] samples/wiki-sample.html
> > * [0] samples/wiki-sample.pdf
> > * [0] skin/images/menu-right.gif
> > Total time: 0 minutes 18 seconds
That's not right. Could you have a look in
build/tmp/context/WEB-INF/logs/error.log and see if there's anything
interesting? Or could you run 'forrest -v'?
> > BUILD FAILED
> > C:\test\xml-forrest\build\dist\shbat\forrest.build.xml:606: Java returned:
> > 1 -- snip --
>
> I had - and still have - the same problem; Jeff told me that this is due to
> broken links (and even the examples shipped with forrest have broken links).
The ihtml problem was fixed in the RC, so running 'forrest seed site'
should be cleanly now. If you upgraded from CVS, did you delete the
build/ directory before rebuilding? Do you have a FORREST_HOME variable
pointing to an old Forrest?
--Jeff
>
> Stephan
...
> > Now if I try a "forrest" command, forrest dies with
> > BUILD FAILED
> > /home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:851:
> > java.lang.reflect.InvocationTargetException
...
RE: apache forrest 0.5 rc1
Posted by Nico Veenkamp <ni...@xs4all.nl>.
This happened to me too. I created a directory test, did a forrest seed and
then forrest.
I run a forrest 0.5 distribution, i got from CVS on 9 september, on Windows
XP and java SDK 1.4.2
[...]
Copying 195 files to C:\Apache\XML-FO~1\test\build\tmp\context
Copied 1 empty directory to C:\Apache\XML-FO~1\test\build\tmp\context
Copying 33 files to C:\Apache\XML-FO~1\test\build\tmp\context
Replacing: @skinconfig.year@ -> 2003
Replacing: @skinconfig.trail.link1.name@ -> myGroup
Replacing: @skinconfig.trail.link1.name@ -> myGroup
Replacing: @skinconfig.trail.link1.href@ -> http://www.apache.org/
Replacing: @skinconfig.trail.link2.name@ -> myProject
Replacing: @skinconfig.trail.link2.name@ -> myProject
Replacing: @skinconfig.trail.link2.href@ -> http://xml.apache.org/
Replacing: @skinconfig.trail.link3.name@ ->
Replacing: @skinconfig.trail.link3.name@ ->
Replacing: @skinconfig.trail.link3.href@ ->
Created dir: C:\Apache\XML-FO~1\test\build\tmp\context\WEB-INF
Copying 3 files to C:\Apache\XML-FO~1\test\build\tmp\context\WEB-INF
Replacing: @skin@ -> forrest-site
Replacing: @menu-scheme@ -> tab_attributes
Replacing: @local-catalog@ ->
C:\Apache\XML-FO~1\test\src\documentation\resources\schema\catalog.xcat
Replacing: @catalog-verbosity@ -> 1
Created dir: C:\Apache\XML-FO~1\test\build\tmp\context\WEB-INF\lib
Created dir: C:\Apache\XML-FO~1\test\build\tmp\context\WEB-INF\classes
BUILD FAILED
C:\Apache\xml-forrest\build\dist\shbat\forrest.build.xml:849:
java.lang.reflect.
InvocationTargetException
Total time: 13 seconds
Nico Veenkamp
-----Oorspronkelijk bericht-----
Van: Stephan Schlierf [mailto:stephan.schlierf@vsa.de]
Verzonden: donderdag 11 september 2003 15:46
Aan: forrest-dev@xml.apache.org
Onderwerp: Re: apache forrest 0.5 rc1
Am Donnerstag, 11. September 2003 15:33 schrieb Johan Andries:
> Hello,
>
> Don't know if it's related to what Stephan wrote, but after downloading
0.5
> RC1 and first running a "forrest seed" and afterwards trying to generate
> the site with forrest I get a failed build. Strangely enough, several docs
> seem to be compiled but suddenly, after skin/images/menu-right.gif, the
> build halts. I'm currently testing on Win XP Pro, Java build 1.4.2_01-b06.
>
> See below:
>
> -- snip --
> * [0] images/group.png
> * [30] samples/wiki-sample.html
> * [0] samples/wiki-sample.pdf
> * [0] skin/images/menu-right.gif
> Total time: 0 minutes 18 seconds
>
> BUILD FAILED
> C:\test\xml-forrest\build\dist\shbat\forrest.build.xml:606: Java returned:
> 1 -- snip --
I had - and still have - the same problem; Jeff told me that this is due to
broken links (and even the examples shipped with forrest have broken links).
But don't be afraid: this message is harmless, all your documents should be
compiled.
Stephan
>
>
> regards,
> Johan
>
>
>
>
>
>
>
> -----Oorspronkelijk bericht-----
> Van: Stephan Schlierf [mailto:stephan.schlierf@vsa.de]
> Verzonden: donderdag 11 september 2003 15:23
> Aan: Forrest
> Onderwerp: apache forrest 0.5 rc1
>
> Hi,
>
> I just tested the 0.5rc1 Jeff made available yesterday.
> I unpacked it, moved the existing xml-forrest-directory to
> "xlm-forrest.old",
> moved the "apache..."-directory to "xml-forrest", rebuilded forrest,
> created
>
> a new directory for test purposes, changed to it and did a "forrest seed".
>
> Now if I try a "forrest" command, forrest dies with
> BUILD FAILED
> /home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:851:
> java.lang.reflect.InvocationTargetException
>
> Any ideas?
> TIA
> Stephan
> BTW: I run Forrest on a Linux-System
--
Stephan E. Schlierf M.A.
Methoden, Werkzeuge, Technologien
Bereich Informationssysteme
VSA Bayreuth
Gottlieb-Keim-Str. 23
95448 Bayreuth
Tel.: (0921) 75 86 42-13
Fax: (0921) 75 86 42-70
www.vsa.de
www.apothekenportal.de
Re: apache forrest 0.5 rc1
Posted by Stephan Schlierf <st...@vsa.de>.
Am Donnerstag, 11. September 2003 15:33 schrieb Johan Andries:
> Hello,
>
> Don't know if it's related to what Stephan wrote, but after downloading 0.5
> RC1 and first running a "forrest seed" and afterwards trying to generate
> the site with forrest I get a failed build. Strangely enough, several docs
> seem to be compiled but suddenly, after skin/images/menu-right.gif, the
> build halts. I'm currently testing on Win XP Pro, Java build 1.4.2_01-b06.
>
> See below:
>
> -- snip --
> * [0] images/group.png
> * [30] samples/wiki-sample.html
> * [0] samples/wiki-sample.pdf
> * [0] skin/images/menu-right.gif
> Total time: 0 minutes 18 seconds
>
> BUILD FAILED
> C:\test\xml-forrest\build\dist\shbat\forrest.build.xml:606: Java returned:
> 1 -- snip --
I had - and still have - the same problem; Jeff told me that this is due to
broken links (and even the examples shipped with forrest have broken links).
But don't be afraid: this message is harmless, all your documents should be
compiled.
Stephan
>
>
> regards,
> Johan
>
>
>
>
>
>
>
> -----Oorspronkelijk bericht-----
> Van: Stephan Schlierf [mailto:stephan.schlierf@vsa.de]
> Verzonden: donderdag 11 september 2003 15:23
> Aan: Forrest
> Onderwerp: apache forrest 0.5 rc1
>
> Hi,
>
> I just tested the 0.5rc1 Jeff made available yesterday.
> I unpacked it, moved the existing xml-forrest-directory to
> "xlm-forrest.old",
> moved the "apache..."-directory to "xml-forrest", rebuilded forrest,
> created
>
> a new directory for test purposes, changed to it and did a "forrest seed".
>
> Now if I try a "forrest" command, forrest dies with
> BUILD FAILED
> /home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:851:
> java.lang.reflect.InvocationTargetException
>
> Any ideas?
> TIA
> Stephan
> BTW: I run Forrest on a Linux-System
--
Stephan E. Schlierf M.A.
Methoden, Werkzeuge, Technologien
Bereich Informationssysteme
VSA Bayreuth
Gottlieb-Keim-Str. 23
95448 Bayreuth
Tel.: (0921) 75 86 42-13
Fax: (0921) 75 86 42-70
www.vsa.de
www.apothekenportal.de
RE: apache forrest 0.5 rc1
Posted by Johan Andries <ja...@schaubroeck.be>.
Hello,
Don't know if it's related to what Stephan wrote, but after downloading 0.5
RC1 and first running a "forrest seed" and afterwards trying to generate the
site with forrest I get a failed build. Strangely enough, several docs seem
to be compiled but suddenly, after skin/images/menu-right.gif, the build
halts. I'm currently testing on Win XP Pro, Java build 1.4.2_01-b06.
See below:
-- snip --
* [0] images/group.png
* [30] samples/wiki-sample.html
* [0] samples/wiki-sample.pdf
* [0] skin/images/menu-right.gif
Total time: 0 minutes 18 seconds
BUILD FAILED
C:\test\xml-forrest\build\dist\shbat\forrest.build.xml:606: Java returned: 1
-- snip --
regards,
Johan
-----Oorspronkelijk bericht-----
Van: Stephan Schlierf [mailto:stephan.schlierf@vsa.de]
Verzonden: donderdag 11 september 2003 15:23
Aan: Forrest
Onderwerp: apache forrest 0.5 rc1
Hi,
I just tested the 0.5rc1 Jeff made available yesterday.
I unpacked it, moved the existing xml-forrest-directory to
"xlm-forrest.old",
moved the "apache..."-directory to "xml-forrest", rebuilded forrest, created
a new directory for test purposes, changed to it and did a "forrest seed".
Now if I try a "forrest" command, forrest dies with
BUILD FAILED
/home/stephan/xml-forrest/build/dist/shbat/forrest.build.xml:851:
java.lang.reflect.InvocationTargetException
Any ideas?
TIA
Stephan
BTW: I run Forrest on a Linux-System