forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: Does 'site' target work?
Date Tue, 18 Feb 2003 11:44:17 GMT
From: "Jeff Turner" <jefft@apache.org>
> On Tue, Feb 18, 2003 at 01:47:32PM +0300, Konstantin Piroumian wrote:
> > Hi!
> >
> > After a long time I've at last updated my Forrest CVS and then tried to
> > build the static docs (of Forrest) using the usual build site target.
And
> > then it created a '${project.home} directory and failed with the
following
> > message:
> >
> > ...
> > ensure-content:
> >
> > BUILD FAILED
> >
file://C:/Java/Apache/xml-forrest/build/dist/shbat/forrest.build.xml:522:
> > ------------------------------------------------
> > This project has no content in
> > C:\Java\Apache\xml-forrest\${project.home}\src\documentation.
>
> Weird.  Could you paste a bit more of the '...' above?  The
> 'init-props' target should have set ${project.home} as follows:
>
>     <property name="project.home" location="." />
>
> The target dependency path should be: site -> prepare-context -> init ->
> init-props

I've done a clean checkout of latest Forrest and run build.bat site. The
result is the same.

Here is a little more from the build log:

bare-context-dir:
Copying 84 files to
C:\Java\Apache\xml-forrest\build\bare-context\resources\schema
Copying 7 files to
C:\Java\Apache\xml-forrest\build\bare-context\resources\images
Copying 3 files to C:\Java\Apache\xml-forrest\build\bare-context
Copying 26 files to C:\Java\Apache\xml-forrest\build\bare-context\library
Copying 36 files to C:\Java\Apache\xml-forrest\build\bare-context
Copying 117 files to C:\Java\Apache\xml-forrest\build\bare-context\skins

dist-shbat:
Created dir: C:\Java\Apache\xml-forrest\build\dist\shbat
Copying 7 files to C:\Java\Apache\xml-forrest\build\dist\shbat
Copying 19 files to C:\Java\Apache\xml-forrest\build\dist\shbat\legal
Copying 1 file to C:\Java\Apache\xml-forrest\build\dist\shbat
Created dir: C:\Java\Apache\xml-forrest\build\dist\shbat\WEB-INF
Copying 52 files to C:\Java\Apache\xml-forrest\build\dist\shbat\WEB-INF
Created dir: C:\Java\Apache\xml-forrest\build\dist\shbat\lib\endorsed
Copying 4 files to C:\Java\Apache\xml-forrest\build\dist\shbat\lib\endorsed
Created dir: C:\Java\Apache\xml-forrest\build\dist\shbat\lib\optional
Copying 5 files to C:\Java\Apache\xml-forrest\build\dist\shbat\lib\optional
Created dir: C:\Java\Apache\xml-forrest\build\dist\shbat\ant
Copying 17 files to C:\Java\Apache\xml-forrest\build\dist\shbat\ant
Created dir: C:\Java\Apache\xml-forrest\build\dist\shbat\forrestbot
Copying 59 files to C:\Java\Apache\xml-forrest\build\dist\shbat\forrestbot
Copying 2 files to C:\Java\Apache\xml-forrest\build\dist\shbat\bin
Created dir: C:\Java\Apache\xml-forrest\build\dist\shbat\context
Copying 273 files to C:\Java\Apache\xml-forrest\build\dist\shbat\context

  *-----------------------------------------------------------------
  | installation notice
  *-----------------------------------------------------------------
  | You have succesfully built the shell-bat distribution of Forrest.
  | Please find it at: C:\Java\Apache\xml-forrest\build\dist\shbat
  | Please copy the contents to the install directory of your choice
  | Please have the environment variable FORREST_HOME point to it.
  | It is recommended to add
  |    unix: $FORREST_HOME/bin: to your $PATH
  |    win: %FORREST_HOME%\bin; to your %PATH%
  | Calling
  |    unix: $FORREST_HOME/bin/forrest -projecthelp
  |    win: %FORREST_HOME%\bin\forrest -projecthelp
  | will list options for the 'forrest' command
  | More help at http://xml.apache.org/forrest/ and
forrest-dev@xml.apache.org
  *-----------------------------------------------------------------


site:

site:

forrest:
Buildfile: C:\Java\Apache\xml-forrest\build\dist\shbat\forrest.build.xml

init-props:
Loading project specific properties from ${project.home}\forrest.properties

echo-settings:

examine-proj:

validation-props:

validate-skinconf:

load-project-props:

load-forrest-props:

init-skinprops:
Created dir: C:\Java\Apache\xml-forrest\${project.home}\build\tmp

Reading filters from
C:\Java\Apache\xml-forrest\${project.home}\build\tmp\skinfilters.properties
init:

bare-context:
____________________________________
Using skin forrest-site
____________________________________
Copying 228 files to
C:\Java\Apache\xml-forrest\${project.home}\build\tmp\context
Copying 45 files to
C:\Java\Apache\xml-forrest\${project.home}\build\tmp\context
Replacing: @skinconfig.year@ -> 2002
Replacing: @skinconfig.trail.link1.name@ -> apache
Replacing: @skinconfig.trail.link1.name@ -> apache
Replacing: @skinconfig.trail.link1.href@ -> http://www.apache.org/
Replacing: @skinconfig.trail.link2.name@ -> xml.apache
Replacing: @skinconfig.trail.link2.name@ -> xml.apache
Replacing: @skinconfig.trail.link2.href@ -> http://xml.apache.org/
Replacing: @skinconfig.trail.link3.name@ ->
Replacing: @skinconfig.trail.link3.name@ ->
Replacing: @skinconfig.trail.link3.href@ ->
Replacing: @skinconfig.year@ -> 2002
Replacing: @skinconfig.trail.link1.name@ -> apache
Replacing: @skinconfig.trail.link1.name@ -> apache
Replacing: @skinconfig.trail.link1.href@ -> http://www.apache.org/
Replacing: @skinconfig.trail.link2.name@ -> xml.apache
Replacing: @skinconfig.trail.link2.name@ -> xml.apache
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:\Java\Apache\xml-forrest\${project.home}\build\tmp\context\WEB-INF
Copying 2 files to
C:\Java\Apache\xml-forrest\${project.home}\build\tmp\context\WEB-INF
Replacing: @local-catalog@ ->
C:\Java\Apache\xml-forrest\${project.home}\src\documentation\resources\schem
a
Replacing: @catalog-verbosity@ -> 1
Replacing: @skin@ -> forrest-site
Created dir:
C:\Java\Apache\xml-forrest\${project.home}\build\tmp\context\WEB-INF\lib
Created dir:
C:\Java\Apache\xml-forrest\${project.home}\build\tmp\context\WEB-INF\classes

check-contentdir:


BUILD FAILED
file://C:/Java/Apache/xml-forrest/build/dist/shbat/forrest.build.xml:522:
ensure-content:
------------------------------------------------
This project has no content in
C:\Java\Apache\xml-forrest\${project.home}\src\documentation.
Use the 'seed' target to create a template project structure.
------------------------------------------------


Total time: 3 seconds
Java Result: 1

BUILD SUCCESSFUL
Total time: 19 seconds

--
  Konstantin

>
> --Jeff
>
>
> > Use the 'seed' target to create a template project structure.
> > ------------------------------------------------
> >
> > Is it the intended behavior? If yes then it'd be fine to indicate it
> > somewhere in the index.html.
> > If not then any idea on what's wrong?
> >
> > Thanks!
> >
> > Konstantin
> >
>
>


Mime
View raw message