Hi,

Thanks a lot. It works very well.

Paul



"C.Grobmeier" <grobmeier@possessed.de>

19/04/2007 14:51
Please respond to user

       
        To:        user@forrest.apache.org
        cc:        
        Subject:        Re: [apache-forrest-0.8] automatic installation of plugs with "forrest run" fails




Hi,

take look into your projects directory and open forrest.properties.
Quite at the end of the file you can add your proxy information.
Cheers,
Chris

On Thu, 19 Apr 2007 13:47:52 +0200, Paul.Divine@alcatel-lucent.fr wrote:
> Hi,
> Thanks for the new delivery!
>
> Because I have to give an id and a password to go outside the network by a
> proxy, the automatic installation of plugs with "forrest run" fails.
> Is there a file to set to give the proxy address, the id and password in
> order to get automatically the plugs or do i have to copy each plug
> manually from http://forrest.apache.org/plugins/0.8/ into the
> ...apache-forrest-0.7\build\plugins directory?
>
> As given in the following lines of log, the "forrest seed" was successful.
> The errors were detected during the "forrest run".
>
>
> D:\DATA\apache\apache-forrest-0.8-paul-site>paulforrestsitecreation.bat
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM creation of a sample site
> in the current directory with forrest version 0.8
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM --------
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM Warning this program will
> destroy a previous site
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM --------
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM to update for each site
> D:\DATA\apache\apache-forrest-0.8-paul-site>SET JAVA_HOME=D:\Documents and
> Settings\divine1\My Documents\j2sdk1.4.2_03
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM other possibility for Java
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM SET JAVA_HOME=C:\Program
> Files\Java\j2re1.4.2_01
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM to update for each site
> D:\DATA\apache\apache-forrest-0.8-paul-site>set
> FORREST_HOME=D:\DATA\apache\apache-forrest-0.8
> D:\DATA\apache\apache-forrest-0.8-paul-site>set PATH=C:\Program
> Files\WinZip\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program
> Files\Common Files\Ad
> aptec Shared\System;r:\isacore\config;r:\isacore\bin;c:\Program
> Files\Oracleforarts\ora232\bin;r:\arts\bin;C:\Program
> Files\Atria\bin;C:\Program Files\UltraEdit
> \;C:\Cygwin\bin;C:\Program Files\Subversion\bin;C:\Program
> Files\QuickTime\QTSystem\;C:\Sun\AppServer\bin;D:\DATA\apache\apache-forrest-0.8\bin
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM forrest -projecthelp
> D:\DATA\apache\apache-forrest-0.8-paul-site>REM creation of template site
> D:\DATA\apache\apache-forrest-0.8-paul-site>forrest seed
>
> Apache Forrest.  Run 'forrest -projecthelp' to list options
>
>
> Buildfile: D:\DATA\apache\apache-forrest-0.8\main\forrest.build.xml
>
> init-props:
> Created dir: D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
>
> seed:
> Copying 80 files to D:\DATA\apache\apache-forrest-0.8-paul-site
> Copied 18 empty directories to 2 empty directories under
> D:\DATA\apache\apache-forrest-0.8-paul-site
>
> -------------------------------
> ~~ Template project created! ~~
>
> Here is an outline of the generated files:
>
> /                        # D:\DATA\apache\apache-forrest-0.8-paul-site
> /forrest.properties      # Optional file describing your site layout
> /src/documentation/      # Doc-specific files
> /src/documentation/skinconf.xml    # Info about your project used by the
> skin
> /src/documentation/content         # Site content.
> /src/documentation/content/xdocs   # XML content.
> /src/documentation/content/xdocs/index.xml # Home page
> /src/documentation/content/xdocs/site.xml  # Navigation file for site
> structure
> /src/documentation/content/xdocs/tabs.xml  # Skin-specific 'tabs' file.
> /src/documentation/content/xdocs/*.html,pdf # Static content files, may
> have subdirs
> /src/documentation/resources/images   # Project images (logos, etc)
> # you can create other directories as needed (see forrest.properties)
>
>
> What to do now?
>
> - Render this template to static HTML by typing 'forrest'.
>   View the generated HTML in a browser to make sure everything works.
> - Alternatively 'forrest run' and browse to http://localhost:8888/ live
> demo.
> - Start adding content in xdocs/ remembering to declare new files in
> site.xml
> - Follow the document http://forrest.apache.org/docs/your-project.html
> - Provide any feedback to dev@forrest.apache.org
>
> Thanks for using Apache Forrest
> -------------------------------
>
>
> BUILD SUCCESSFUL
> Total time: 2 seconds
>
> D:\DATA\apache\apache-forrest-0.8-paul-site>
>
>
>
>
>
> D:\DATA\apache\apache-forrest-0.8-paul-site>forrest run
>
> Apache Forrest.  Run 'forrest -projecthelp' to list options
>
>
> Buildfile: D:\DATA\apache\apache-forrest-0.8\main\forrest.build.xml
>
> check-java-version:
> This is apache-forrest-0.8
> Using Java 1.4 from D:\Documents and Settings\divine1\My
> Documents\j2sdk1.4.2_03\jre
>
> fetch-plugins-descriptors:
> Copying 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
> Copying 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
> Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xml
> Getting: http://forrest.apache.org/plugins/plugins.xml
> To: D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\plugins-1.xml
> local file date : Sun Apr 15 12:42:28 CEST 2007
> Error getting http://forrest.apache.org/plugins/plugins.xml to
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\plugins-1.xml
> Fetching plugins descriptor:
> http://forrest.apache.org/plugins/whiteboard-plugins.xml
> Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml
> To: D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\plugins-2.xml
> local file date : Sun Apr 15 12:42:28 CEST 2007
> Error getting http://forrest.apache.org/plugins/whiteboard-plugins.xml to
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\plugins-2.xml
> Plugin list loaded from http://forrest.apache.org/plugins/plugins.xml.
> Plugin list loaded from
> http://forrest.apache.org/plugins/whiteboard-plugins.xml.
>
> init-plugins:
> Created dir: D:\DATA\apache\apache-forrest-0.8\build\plugins
> Created dir: D:\DATA\apache\apache-forrest-0.8-paul-site\build\webapp\conf
> Copying 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
> Copying 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
> Copying 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
> Copying 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
> Copying 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
>
>       --------------------------------------------------------------
>       Installing plugin: org.apache.forrest.plugin.output.pdf
>       --------------------------------------------------------------
>
>
> check-plugin:
> org.apache.forrest.plugin.output.pdf is not available in the build dir.
> Trying to fetch it...
>
> fetch-plugin:
> Trying to find the description of org.apache.forrest.plugin.output.pdf in
> the different descriptor files
> Using the descriptor file
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\plugins-1.xml...
> Processing
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\plugins-1.xml to
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\pluginlist2fetchbuild.xm
> l
> Loading stylesheet
> D:\DATA\apache\apache-forrest-0.8\main\var\pluginlist2fetch.xsl
>
> get-local:
> Trying to locally get org.apache.forrest.plugin.output.pdf
> Looking in local D:\DATA\apache\apache-forrest-0.8/plugins
> Found !
>
> init-build-compiler:
> Created dir:
> D:\DATA\apache\apache-forrest-0.8\plugins\org.apache.forrest.plugin.output.pdf\build
>
> local-deploy:
> Locally deploying org.apache.forrest.plugin.output.pdf
> Copying 19 files to
> D:\DATA\apache\apache-forrest-0.8\build\plugins\org.apache.forrest.plugin.output.pdf
> Copied 9 empty directories to 2 empty directories under
> D:\DATA\apache\apache-forrest-0.8\build\plugins\org.apache.forrest.plugin.output.pdf
> Copying 1 file to D:\DATA\apache\apache-forrest-0.8\build\plugins
> Plugin org.apache.forrest.plugin.output.pdf deployed ! Ready to configure
> Fetch-plugin Ok, installing !
>
> configure-output-plugin:
> Mounting output plugin: org.apache.forrest.plugin.output.pdf
> Processing
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\output.xmap to
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\output.xmap.new
> Loading stylesheet
> D:\DATA\apache\apache-forrest-0.8\main\var\pluginMountSnippet.xsl
> Moving 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
>
> configure-plugin-locationmap:
> Mounting plugin locationmap for org.apache.forrest.plugin.output.pdf
> Processing
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\locationmap.xml to
> D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp\locationmap.xml.new
> Loading stylesheet
> D:\DATA\apache\apache-forrest-0.8\main\var\pluginLmMountSnippet.xsl
> Moving 1 file to D:\DATA\apache\apache-forrest-0.8-paul-site\build\tmp
>
> run_default_jetty:
>
>   Note: Use Ctrl-C to stop the Jetty server
>
>
>          ... and reply 'n' and press [Enter]
>              when asked about aborting the batch!
>
> 08:48:31.190 EVENT  Checking Resource aliases
> 08:48:31.565 EVENT  Starting Jetty/4.2.19
> 08:48:31.705 EVENT  Started WebApplicationContext[/,Apache Forrest]
> 08:48:31.893 EVENT  Initializing Apache Cocoon 2.2.0-dev
> 08:48:32.002 EVENT  Running in mode: dev
> 08:48:32.065 EVENT  Reading settings from
> 'file:/D:/DATA/apache/apache-forrest-0.8/main/webapp/WEB-INF/properties/core.properties'.
> 08:48:32.080 EVENT  Reading settings from
> 'file:/D:/DATA/apache/apache-forrest-0.8/main/webapp/WEB-INF/properties/dev/core.properties'.
> 08:48:32.112 WARN!! Delete existing temp dir
> D:\DOCUME~1\divine1\LOCALS~1\Temp\Jetty__8888__ for
> WebApplicationContext[/,Apache Forrest]
> 08:48:35.471 EVENT  Apache Cocoon 2.2.0-dev is up and ready.
> 08:48:35.471 EVENT  Started SocketListener on 0.0.0.0:8888
> 08:48:35.471 EVENT  Started org.mortbay.jetty.Server@13582d
>
>
>
>
> Paul
>