forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Schaefer <johannes.schae...@uidesign.de>
Subject Re: plugin sDocBook doesn't work
Date Thu, 16 Dec 2004 14:02:19 GMT
OK, I'm back at the office,
see at the end for detailed transcript.

* without network access: no changes in behaviour,
   i.e. sdocbook page is not rendered
* with network access: everything seems to work fine.

So, there's something wrong with building the
plugins from the local copy.

cheers,
Johannes



D:\forrest111694-1213>svn up
U  tools\eclipse\.classpath
U  tools\eclipse\conf\log4j.xml
U 
tools\eclipse\src\org\apache\forrest\eclipse\ForrestPlugin.java
U 
tools\eclipse\src\org\apache\forrest\eclipse\popup\actions\StartForrest.java
U 
tools\eclipse\src\org\apache\forrest\eclipse\popup\actions\BuildSite.java
U 
tools\eclipse\src\org\apache\forrest\eclipse\popup\actions\StopForrest.java
A  tools\eclipse\src\org\apache\forrest\eclipse\job
A 
tools\eclipse\src\org\apache\forrest\eclipse\job\ForrestJob.java
A 
tools\eclipse\src\org\apache\forrest\eclipse\job\ForrestManager.java
A 
tools\eclipse\src\org\apache\forrest\eclipse\job\ForrestStopper.java
A 
tools\eclipse\src\org\apache\forrest\eclipse\job\ForrestBuilder.java
A 
tools\eclipse\src\org\apache\forrest\eclipse\job\ForrestRunner.java
D  tools\eclipse\src\org\apache\forrest\ForrestRunner.java
U  plugins\org.apache.forrest.plugin.logs\input.xmap
U  plugins\simplified-docbook\input.xmap
A  plugins\org.apache.forrest.plugin.pod-output
A 
plugins\org.apache.forrest.plugin.pod-output\forrest.properties
A  plugins\org.apache.forrest.plugin.pod-output\status.xml
A  plugins\org.apache.forrest.plugin.pod-output\output.xmap
A  plugins\org.apache.forrest.plugin.pod-output\src
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\skinconf.xml
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\.html
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\site.xml
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\images
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\images\project.svg
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\images\project-logo.gif
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\images\group.svg
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\images\icon.png
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\images\usemap.gif
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\images\group-logo.gif
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\index.xml
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\content\xdocs\tabs.xml
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\classes
A 
plugins\org.apache.forrest.plugin.pod-output\src\documentation\classes\CatalogManager.properties
A  plugins\org.apache.forrest.plugin.pod-output\resources
A 
plugins\org.apache.forrest.plugin.pod-output\resources\stylesheets
A 
plugins\org.apache.forrest.plugin.pod-output\resources\stylesheets\pod
A 
plugins\org.apache.forrest.plugin.pod-output\resources\stylesheets\pod\document2pod.xsl
A  plugins\org.apache.forrest.plugin.pod-output\build.xml
D  main\java\org\apache\cocoon\components\modules
D  main\java\org\apache\cocoon\selection
D  main\java\org\apache\cocoon\acting
D  main\java\org\apache\cocoon\transformation
D  main\java\org\apache\cocoon\matching
D  main\java\org\apache\cocoon\generation
A  main\java\org\apache\forrest\sourceexists
A 
main\java\org\apache\forrest\sourceexists\SourceExistsSelector.java
A  main\java\org\apache\forrest\sourcetype
A 
main\java\org\apache\forrest\sourcetype\DocumentElementRule.java
A  main\java\org\apache\forrest\sourcetype\SourceTypeAction.java
A  main\java\org\apache\forrest\sourcetype\SourceType.java
A  main\java\org\apache\forrest\sourcetype\DocDeclRule.java
A 
main\java\org\apache\forrest\sourcetype\ProcessingInstructionRule.java
A  main\java\org\apache\forrest\sourcetype\XmlSchemaRule.java
A  main\java\org\apache\forrest\sourcetype\SourceTypeRule.java
A  main\java\org\apache\forrest\sourcetype\SourceInfo.java
A  main\java\org\apache\forrest\locationmap
A 
main\java\org\apache\forrest\locationmap\AbstractWrappingModule.java
A 
main\java\org\apache\forrest\locationmap\WildcardLocationMapMatcher.java
A 
main\java\org\apache\forrest\locationmap\RegexpLocationMapMatcher.java
A 
main\java\org\apache\forrest\locationmap\WildcardLocationMapHintMatcher.java
A  main\java\org\apache\forrest\locationmap\lm
A  main\java\org\apache\forrest\locationmap\lm\MatchNode.java
A  main\java\org\apache\forrest\locationmap\lm\SelectNode.java
A  main\java\org\apache\forrest\locationmap\lm\LocationMap.java
A  main\java\org\apache\forrest\locationmap\lm\AbstractNode.java
A  main\java\org\apache\forrest\locationmap\lm\LocatorNode.java
A  main\java\org\apache\forrest\locationmap\lm\LocationNode.java
A 
main\java\org\apache\forrest\locationmap\LocationMapModule.java
A  main\java\org\apache\forrest\util
A  main\java\org\apache\forrest\util\IdGeneratorTransformer.java
A  main\java\org\apache\forrest\util\XPathTransformer.java
A  main\java\org\apache\forrest\xni
A 
main\java\org\apache\forrest\xni\XNIConfigurableFileGenerator.java
U  main\fresh-site\forrest.properties
U 
main\fresh-site\src\documentation\content\xdocs\samples\sample.xml
U 
main\fresh-site\src\documentation\content\xdocs\samples\document-v13.xml
U  main\targets\webapp.xml
U  main\webapp\dtd.xmap
D  main\webapp\skins\common\xslt\text
U  main\webapp\forrest.xmap
U  main\webapp\sitemap.xmap
U  main\webapp\faq.xmap
U  docs-author\status.xml
  U .
Aktualisiert zu Revision 122549.

D:\forrest111694-1213>cd build

D:\forrest111694-1213\build>cd ..

D:\forrest111694-1213>build clean
Der Befehl "build" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

D:\forrest111694-1213>cd main

D:\forrest111694-1213\main>forrest clean

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


Buildfile: d:\forrest111694-1213\main\forrest.build.xml

init-props:
Created dir: D:\forrest111694-1213\main\build\tmp

clean:
Deleting directory D:\forrest111694-1213\main\build\tmp

BUILD SUCCESSFUL
Total time: 2 seconds

D:\forrest111694-1213\main>build.bat clean
Using classpath: 
";..\lib\endorsed\jakarta-bcel-20040329.jar;..\lib\endorsed\jakarta-regexp-1.3.jar;..\lib\endorsed\xala
n-2.6.1-dev-20041008T0304.jar;..\lib\endorsed\xercesImpl-2.6.2.jar;..\lib\endorsed\xml-apis.jar"
Buildfile: build.xml

init:

 
--------------------------------------------------------------

       Using Apache Ant version 1.6.2 compiled on July 16 2004
       Build file D:\forrest111694-1213\main\build.xml
       Use 'build.[sh|bat] -projecthelp' to see other options.
       Build system home ..\tools\ant
       Build number 2
       Project Name Forrest build file
       Java Version 1.4
       Timestamp 200412161451
       This is: apache-forrest 0.7-dev

 
--------------------------------------------------------------


clean:
Deleting directory D:\forrest111694-1213\build

BUILD SUCCESSFUL
Total time: 2 seconds

D:\forrest111694-1213\main>build
Using classpath: 
";..\lib\endorsed\jakarta-bcel-20040329.jar;..\lib\endorsed\jakarta-regexp-1.3.jar;..\lib\endorsed\xala
n-2.6.1-dev-20041008T0304.jar;..\lib\endorsed\xercesImpl-2.6.2.jar;..\lib\endorsed\xml-apis.jar"
Buildfile: build.xml

init:
Created dir: D:\forrest111694-1213\build

 
--------------------------------------------------------------

       Using Apache Ant version 1.6.2 compiled on July 16 2004
       Build file D:\forrest111694-1213\main\build.xml
       Use 'build.[sh|bat] -projecthelp' to see other options.
       Build system home ..\tools\ant
       Build number 0
       Project Name Forrest build file
       Java Version 1.4
       Timestamp 200412161451
       This is: apache-forrest 0.7-dev

 
--------------------------------------------------------------


compile:
Created dir: D:\forrest111694-1213\build\classes
Compiling 31 source files to D:\forrest111694-1213\build\classes
2 warnings

jar:
Building jar: D:\forrest111694-1213\build\xml-forrest.jar

 
*-----------------------------------------------------------------
   | Installation notice
 
*-----------------------------------------------------------------
   | You have now built the 0.7-dev version of Forrest.
   | Please set the environment variable FORREST_HOME to 
point to .
   | It is recommended to add
   |    unix: $FORREST_HOME/bin: to your $PATH
   |    win: %FORREST_HOME%\bin; to your %PATH%
   | Then do 'forrest -projecthelp' to list options for the 
'forrest' command
   | More help at http://forrest.apache.org/
 
*-----------------------------------------------------------------


BUILD SUCCESSFUL
Total time: 8 seconds

D:\forrest111694-1213\main>cd ..

D:\forrest111694-1213>cd plugins

D:\forrest111694-1213\plugins>cd simplified-docbook

D:\forrest111694-1213\plugins\simplified-docbook>forrest run

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


Buildfile: d:\forrest111694-1213\main\forrest.build.xml

init-plugins:
Created dir: D:\forrest111694-1213\build\plugins
Copying 1 file to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Copying 1 file to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Copying 1 file to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Copying 1 file to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Installing plugin: simplified-docbook

fetch-plugins-descriptors:
fetching descriptor: 
http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
Error getting http://forrest.apache.org/plugins/plugins.xml 
to D:\forrest111694-1213\plugins\simplified-docbook\build\tm
p\plugins-1.xml
Installing plugin: org.apache.forrest.plugin.pdf-output

fetch-plugins-descriptors:
fetching descriptor: 
http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
Error getting http://forrest.apache.org/plugins/plugins.xml 
to D:\forrest111694-1213\plugins\simplified-docbook\build\tm
p\plugins-1.xml

run_default_jetty:
14:52:18.573 EVENT  Checking Resource aliases
14:52:19.013 EVENT  Starting Jetty/4.2.19
14:52:19.194 EVENT  Started WebApplicationContext[/,Apache 
Forrest]
14:52:19.294 WARN!! Delete existing temp dir 
C:\DOKUME~1\JSCHAE~1\LOKALE~1\Temp\Jetty__8888__ for 
WebApplicationContext[
/,Apache Forrest]
14:52:20.556 EVENT  Started SocketListener on 0.0.0.0:8888
14:52:20.556 EVENT  Started org.mortbay.jetty.Server@cd2c3c
Batchvorgang abbrechen (J/N)? n

D:\forrest111694-1213\plugins\simplified-docbook>forrest run

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


Buildfile: d:\forrest111694-1213\main\forrest.build.xml

init-plugins:
Copying 1 file to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Copying 1 file to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Copying 1 file to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Copying 1 file to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Installing plugin: simplified-docbook

fetch-plugins-descriptors:
fetching descriptor: 
http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
..
last modified = Thu Dec 09 14:57:07 CET 2004

fetch-plugin:
Processing 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp\plugins-1.xml 
to D:\forrest111694-1213\plugins\sim
plified-docbook\build\tmp\pluginlist2fetchbuild.xml
Loading stylesheet 
D:\forrest111694-1213\main\var\pluginlist2fetch.xsl

fetch-versioned-plugin:
Trying to get "simplified-docbook" plugin version
                   0.7-dev...
Getting: 
http://forrest.apache.org/plugins//simplified-docbook-0.7-dev.zip
Error opening connection java.io.IOException
Error opening connection java.io.IOException
Error opening connection java.io.IOException
Can't get 
http://forrest.apache.org/plugins//simplified-docbook-0.7-dev.zip 
to D:\forrest111694-1213\build\plugins\simpl
ified-docbook.zip

fetch-unversioned-plugin:
Versioned plugin unavailable, trying to get versionless 
plugin...
Getting: 
http://forrest.apache.org/plugins//simplified-docbook.zip
..
last modified = Mon Dec 13 18:42:31 CET 2004

final-check:
Plugin "simplified-docbook" correctly installed.

unpack-plugin:
Expanding: 
D:\forrest111694-1213\build\plugins\simplified-docbook.zip 
into D:\forrest111694-1213\build\plugins\simplifie
d-docbook
Deleting 1 files from D:\forrest111694-1213\build\plugins

configure-input-plugin:
Mounting input plugin: simplified-docbook
Processing 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp\input.xmap 
to D:\forrest111694-1213\plugins\simpli
fied-docbook\build\tmp\input.xmap.new
Loading stylesheet 
D:\forrest111694-1213\main\var\pluginMountSnippet.xsl
Moving 1 files to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Processing 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp\resources.xmap 
to D:\forrest111694-1213\plugins\si
mplified-docbook\build\tmp\resources.xmap.new
Loading stylesheet 
D:\forrest111694-1213\main\var\pluginMountSnippet.xsl
Moving 1 files to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
Installing plugin: org.apache.forrest.plugin.pdf-output

fetch-plugins-descriptors:
Deleting 1 files from 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp
fetching descriptor: 
http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
...
last modified = Thu Dec 09 14:57:07 CET 2004

fetch-plugin:
Processing 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp\plugins-1.xml 
to D:\forrest111694-1213\plugins\sim
plified-docbook\build\tmp\pluginlist2fetchbuild.xml
Loading stylesheet 
D:\forrest111694-1213\main\var\pluginlist2fetch.xsl

fetch-versioned-plugin:
Trying to get "org.apache.forrest.plugin.pdf-output" plugin 
version
                   0.7-dev...
Getting: 
http://forrest.apache.org/plugins//org.apache.forrest.plugin.pdf-output-0.7-dev.zip
Error opening connection java.io.IOException
Error opening connection java.io.IOException
Error opening connection java.io.IOException
Can't get 
http://forrest.apache.org/plugins//org.apache.forrest.plugin.pdf-output-0.7-dev.zip 
to D:\forrest111694-1213\b
uild\plugins\org.apache.forrest.plugin.pdf-output.zip

fetch-unversioned-plugin:
Versioned plugin unavailable, trying to get versionless 
plugin...
Getting: 
http://forrest.apache.org/plugins//org.apache.forrest.plugin.pdf-output.zip
..
last modified = Sat Dec 04 02:31:57 CET 2004

final-check:
Plugin "org.apache.forrest.plugin.pdf-output" correctly 
installed.

unpack-plugin:
Expanding: 
D:\forrest111694-1213\build\plugins\org.apache.forrest.plugin.pdf-output.zip 
into D:\forrest111694-1213\build
\plugins\org.apache.forrest.plugin.pdf-output
Deleting 1 files from D:\forrest111694-1213\build\plugins

configure-output-plugin:
Mounting output plugin: org.apache.forrest.plugin.pdf-output
Processing 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp\output.xmap 
to D:\forrest111694-1213\plugins\simpl
ified-docbook\build\tmp\output.xmap.new
Loading stylesheet 
D:\forrest111694-1213\main\var\pluginMountSnippet.xsl
Moving 1 files to 
D:\forrest111694-1213\plugins\simplified-docbook\build\tmp

run_default_jetty:
14:59:22.913 EVENT  Checking Resource aliases
14:59:23.343 EVENT  Starting Jetty/4.2.19
14:59:23.524 EVENT  Started WebApplicationContext[/,Apache 
Forrest]
14:59:23.624 WARN!! Delete existing temp dir 
C:\DOKUME~1\JSCHAE~1\LOKALE~1\Temp\Jetty__8888__ for 
WebApplicationContext[
/,Apache Forrest]
14:59:24.946 EVENT  Started SocketListener on 0.0.0.0:8888
14:59:24.946 EVENT  Started org.mortbay.jetty.Server@cd2c3c


Ross Gardler wrote:
> Johannes Schaefer wrote:
> 
>> I digged a liitle bit deeper:
>> Now I *do* get the simplified-docbook documentation
>> running. I have to do a manual build for the plugin
>> like this:
>>   d:\forrest111694-1213\tools\ant\bin\ant.bat
>>
>> Shouldn't the build be done by 'forrest run'
>> automatically?
> 
> 
> Yes it should, furthermore if it fails to download and install it should 
> tell you this and stop the build giving instructions on how to manually 
> install.
> 
> I cannot reproduce this problem so I need some more info:
> 
> Can you please do the following:
> 
> rm -Rf FORREST_HOME/build/plugins/simplified-docbook
> cd FORREST_HOME/plugins/simplified-docbook
> forrest run
> 
> In the output you get find the line that says:
> 
> Installing plugin: simplified-docbook
> 
> and copy the content up to the next line that says "Installing plugin:..."
> 
> This will show what your system is doing when attempting to download and 
> install the plugin.
> 
> Ross
> 
> 


-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 
Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * 
Lehrer-Götz-Weg 11 * D-81825 München
www.uidesign.de

Buch "User Interface Tuning" von Joachim Machate & Michael 
Burmester
www.user-interface-tuning.de

Attraktivität von interaktiven Produkten messen mit
www.attrakdiff.de

Mime
View raw message