You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Rajith Gunasinghe (JIRA)" <ji...@apache.org> on 2010/03/31 10:26:27 UTC

[jira] Created: (FOR-1188) ant test failure on forrest

ant test failure on forrest
---------------------------

                 Key: FOR-1188
                 URL: https://issues.apache.org/jira/browse/FOR-1188
             Project: Forrest
          Issue Type: Bug
          Components: Compile
    Affects Versions: 0.8
            Reporter: Rajith Gunasinghe


Dear all
I was going to edit perfectly working plugin "org.apache.forrest.plugin.input.projectInfo". Before that i tried to test it using "ant test" command. Then below bug arrised. I have included "antworks-miporter.jar" and "xml-common-resolver.jar".

Please help me

Rajith



D:\Projects\forrest\plugins\org.apache.forrest.plugin.input.projectInfo>ant test

Buildfile: D:\Projects\forrest\plugins\org.apache.forrest.plugin.input.projectIn
fo\build.xml

init-build-compiler:

echo-init:
     [echo]
     [echo]       --------------------------------------------------------------

     [echo]
     [echo]       Using Apache Ant version 1.8.0 compiled on February 1 2010
     [echo]       Build file D:\Projects\forrest\plugins\org.apache.forrest.plug
in.input.projectInfo\build.xml
     [echo]       Use 'build.[sh|bat] -projecthelp' to see other options.
     [echo]       Build system home C:\apache-ant-1.8.0
     [echo]       Build number 12
     [echo]       Project Name Forrest plugin build file
     [echo]       Java Version 1.6
     [echo]       Timestamp 201003311350
     [echo]
     [echo]       --------------------------------------------------------------

     [echo]

init:

clean:
   [delete] Deleting directory D:\Projects\forrest\build\plugins\org.apache.forr
est.plugin.input.projectInfo

compile:

jar:

local-deploy:
     [echo] Locally deploying org.apache.forrest.plugin.input.projectInfo
     [copy] Copying 43 files to D:\Projects\forrest\build\plugins\org.apache.for
rest.plugin.input.projectInfo

build:

docs:
     [echo] Building Docs for org.apache.forrest.plugin.input.projectInfo

check-java-version:
     [echo] This is apache-forrest-0.8
     [echo] Using Java 1.6 from C:\Program Files\Java\jdk1.6.0_18\jre
     [echo] Using Apache Ant version 1.8.0 compiled on February 1 2010 from C:\a
pache-ant-1.8.0

init-props:

echo-settings-condition:

echo-settings:

check-skin:

init-proxy:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

fetch-plugins-descriptors:
     [echo] Fetching plugins descriptor: http://forrest.apache.org/plugins/plugi
ns.xml
      [get] Getting: http://forrest.apache.org/plugins/plugins.xml
      [get] To: D:\Projects\forrest\plugins\org.apache.forrest.plugin.input.proj
ectInfo\build\tmp\plugins-1.xml
      [get] local file date : Wed Mar 24 13:38:56 IST 2010
      [get] Not modified - so not downloaded
     [echo] Fetching plugins descriptor: http://forrest.apache.org/plugins/white
board-plugins.xml
      [get] Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml
      [get] To: D:\Projects\forrest\plugins\org.apache.forrest.plugin.input.proj
ectInfo\build\tmp\plugins-2.xml
      [get] local file date : Thu Mar 04 15:05:34 IST 2010
      [get] Not modified - so not downloaded
     [echo] Plugin list loaded from http://forrest.apache.org/plugins/plugins.xm
l.
     [echo] Plugin list loaded from http://forrest.apache.org/plugins/whiteboard
-plugins.xml.

init-plugins:
     [copy] Copying 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plu
gin.input.projectInfo\build\tmp
     [copy] Copying 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plu
gin.input.projectInfo\build\tmp
     [copy] Copying 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plu
gin.input.projectInfo\build\tmp
     [copy] Copying 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plu
gin.input.projectInfo\build\tmp
     [copy] Copying 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plu
gin.input.projectInfo\build\tmp
     [echo]
     [echo]       --------------------------------------------------------------

     [echo]       Installing plugin: org.apache.forrest.plugin.input.projectInfo

     [echo]       --------------------------------------------------------------

     [echo]

check-plugin:
     [echo] org.apache.forrest.plugin.input.projectInfo is available in the buil
d dir. Trying to update it...

init-props:

echo-settings-condition:

echo-settings:

init-proxy:

fetch-plugins-descriptors:

fetch-plugin:
     [echo] Trying to find the description of org.apache.forrest.plugin.input.pr
ojectInfo in the different descriptor files
     [echo] Using the descriptor file D:\Projects\forrest\plugins\org.apache.for
rest.plugin.input.projectInfo\build\tmp\plugins-1.xml...
     [xslt] Processing D:\Projects\forrest\plugins\org.apache.forrest.plugin.inp
ut.projectInfo\build\tmp\plugins-1.xml to D:\Projects\forrest\plugins\org.apache
.forrest.plugin.input.projectInfo\build\tmp\pluginlist2fetchbuild.xml
     [xslt] Loading stylesheet D:\Projects\forrest\main\var\pluginlist2fetch.xsl


fetch-local-unversioned-plugin:

get-local:
     [echo] Trying to locally get org.apache.forrest.plugin.input.projectInfo
     [echo] Looking in local D:\Projects\forrest/plugins
     [echo] Found !

init-build-compiler:

echo-init:

init:

compile:

jar:

local-deploy:
     [echo] Locally deploying org.apache.forrest.plugin.input.projectInfo

build:
     [echo] Plugin org.apache.forrest.plugin.input.projectInfo deployed ! Ready
to configure

fetch-remote-unversioned-plugin-version-forrest:

fetch-remote-unversioned-plugin-unversion-forrest:

has-been-downloaded:

downloaded-message:

uptodate-message:

not-found-message:
     [echo] Fetch-plugin Ok, installing !

unpack-plugin:

install-plugin:

configure-plugin:

configure-input-plugin:
     [echo] Mounting input plugin: org.apache.forrest.plugin.input.projectInfo
     [xslt] Processing D:\Projects\forrest\plugins\org.apache.forrest.plugin.inp
ut.projectInfo\build\tmp\input.xmap to D:\Projects\forrest\plugins\org.apache.fo
rrest.plugin.input.projectInfo\build\tmp\input.xmap.new
     [xslt] Loading stylesheet D:\Projects\forrest\main\var\pluginMountSnippet.x
sl
     [move] Moving 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plug
in.input.projectInfo\build\tmp
     [xslt] Processing D:\Projects\forrest\plugins\org.apache.forrest.plugin.inp
ut.projectInfo\build\tmp\resources.xmap to D:\Projects\forrest\plugins\org.apach
e.forrest.plugin.input.projectInfo\build\tmp\resources.xmap.new
     [xslt] Loading stylesheet D:\Projects\forrest\main\var\pluginMountSnippet.x
sl
     [move] Moving 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plug
in.input.projectInfo\build\tmp

configure-plugin-locationmap:
     [echo] Mounting plugin locationmap for org.apache.forrest.plugin.input.proj
ectInfo
     [xslt] Processing D:\Projects\forrest\plugins\org.apache.forrest.plugin.inp
ut.projectInfo\build\tmp\locationmap.xml to D:\Projects\forrest\plugins\org.apac
he.forrest.plugin.input.projectInfo\build\tmp\locationmap.xml.new
     [xslt] Loading stylesheet D:\Projects\forrest\main\var\pluginLmMountSnippet
.xsl
     [move] Moving 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plug
in.input.projectInfo\build\tmp

init:

-prepare-classpath:

check-contentdir:

examine-proj:

validation-props:
     [echo] Using these catalog descriptors: D:\Projects\forrest\main\webapp\res
ources\schema\catalog.xcat;D:\Projects\forrest\build\plugins\catalog.xcat;D:\Pro
jects\forrest\plugins\org.apache.forrest.plugin.input.projectInfo\src\documentat
ion\resources\schema\catalog.xcat

validate-xdocs:
[xmlvalidate] 2 file(s) have been successfully validated.
     [echo] ...validated xdocs

validate-skinconf:

validate-sitemap:
     [echo] ...validated project sitemap

validate-skins-stylesheets:

validate-skins:

validate-skinchoice:
     [echo] ...validated existence of skin 'pelt'

validate-stylesheets:

validate:

site:
     [echo]
     [echo] Copying the various non-generated resources to site.
     [echo] Warnings will be issued if the optional project resources are not fo
und.
     [echo] This is often the case, because they are optional and so may not be
available.
     [echo] Copying project resources and images to site ...
     [copy] Warning: D:\Projects\forrest\plugins\org.apache.forrest.plugin.input
.projectInfo\build\webapp\resources does not exist.
     [copy] Copying 5 files to D:\Projects\forrest\plugins\org.apache.forrest.pl
ugin.input.projectInfo\build\site
     [echo] Copying main skin images to site ...
     [copy] Copying 18 files to D:\Projects\forrest\plugins\org.apache.forrest.p
lugin.input.projectInfo\build\site\skin\images
     [copy] Copying 14 files to D:\Projects\forrest\plugins\org.apache.forrest.p
lugin.input.projectInfo\build\site\skin\images
     [echo] Copying project skin images to site ...
     [copy] Warning: D:\Projects\forrest\plugins\org.apache.forrest.plugin.input
.projectInfo\src\documentation\skins\common\images does not exist.
     [copy] Warning: D:\Projects\forrest\plugins\org.apache.forrest.plugin.input
.projectInfo\src\documentation\skins\pelt\images does not exist.
     [echo] Copying main skin css and js files to site ...
     [copy] Copying 11 files to D:\Projects\forrest\plugins\org.apache.forrest.p
lugin.input.projectInfo\build\site\skin
     [copy] Copying 4 files to D:\Projects\forrest\plugins\org.apache.forrest.pl
ugin.input.projectInfo\build\site\skin
     [echo] Copying project skin css and js files to site ...
     [copy] Warning: D:\Projects\forrest\plugins\org.apache.forrest.plugin.input
.projectInfo\src\documentation\skins\common does not exist.
     [copy] Warning: D:\Projects\forrest\plugins\org.apache.forrest.plugin.input
.projectInfo\src\documentation\skins\pelt does not exist.
     [echo]
     [echo] Finished copying the non-generated resources.
     [echo] Now Cocoon will generate the rest.
     [echo]
     [echo]
     [echo] Static site will be generated at:
     [echo] D:\Projects\forrest\plugins\org.apache.forrest.plugin.input.projectI
nfo\build\site
     [echo]
     [echo] Cocoon will report the status of each document:
     [echo]   - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
     [echo]
     [java] --------------------------------------------------------------------
----
     [java] cocoon 2.1.12-dev
     [java] Copyright (c) 1999-2007 Apache Software Foundation. All rights reser
ved.
     [java] --------------------------------------------------------------------
----
     [java]
     [java]
     [java] ^                                    docs/
     [java] ^                                    docs/user/useCases/
     [java] ^                                    docs/developer/useCases/
     [java] * [1/23]    [23/26]   4.985s 8.7Kb   linkmap.html
     [java] X [0]                                     index.html        BROKEN:
D:\Projects\forrest\main\webapp\.\D:\Projects\forrest\plugins\org.apache.forrest
.plugin.input.projectInfo\build\tmp\D:\Projects\forrest\build\plugins\svnHelper.
xmap (The filename, directory name, or volume label syntax is incorrect)
     [java] * [4/20]    [0/0]     0.141s 4.0Kb   skin/profile.css
     [java] * [5/32]    [13/13]   0.266s 13.4Kb  skin/screen.css
     [java] * [7/30]    [0/0]     4.468s 16.1Kb  images/project.png
     [java] X [0]                                     docs/user/useCases/all.htm
l       BROKEN: D:\Projects\forrest\main\webapp\.\D:\Projects\forrest\plugins\or
g.apache.forrest.plugin.input.projectInfo\build\tmp\D:\Projects\forrest\build\pl
ugins\org.apache.forrest.plugin.input.projectInfo (The filename, directory name,
 or volume label syntax is incorrect)
     [java] * [9/28]    [0/0]     0.109s 214b    skin/images/rc-t-r-5-1header-2t
ab-unselected-3tab-unselected.png
     [java] * [10/27]   [0/0]     0.047s 1.3Kb   skin/print.css
     [java] * [11/26]   [0/0]     0.031s 316b    skin/images/rc-b-r-15-1body-2me
nu-3menu.png
     [java] X [0]                                     docs/user/useCases/changeL
ogFeatures.html BROKEN: D:\Projects\forrest\main\webapp\.\D:\Projects\forrest\pl
ugins\org.apache.forrest.plugin.input.projectInfo\build\tmp\D:\Projects\forrest\
build\plugins\org.apache.forrest.plugin.input.projectInfo (The filename, directo
ry name, or volume label syntax is incorrect)
     [java] X [0]                                     docs/user/useCases/useCase
Features.html   BROKEN: D:\Projects\forrest\main\webapp\.\D:\Projects\forrest\pl
ugins\org.apache.forrest.plugin.input.projectInfo\build\tmp\D:\Projects\forrest\
build\plugins\org.apache.forrest.plugin.input.projectInfo (The filename, directo
ry name, or volume label syntax is incorrect)
     [java] X [0]                                     docs/developer/useCases/ch
angeLogFeatures.html    BROKEN: D:\Projects\forrest\main\webapp\.\D:\Projects\fo
rrest\plugins\org.apache.forrest.plugin.input.projectInfo\build\tmp\D:\Projects\
forrest\build\plugins\org.apache.forrest.plugin.input.projectInfo (The filename,
 directory name, or volume label syntax is incorrect)
     [java] * [15/22]   [0/0]     0.016s 202b    skin/images/rc-t-l-5-1header-2s
earchbox-3searchbox.png
     [java] * [16/21]   [0/0]     0.015s 213b    skin/images/rc-t-r-5-1header-2s
earchbox-3searchbox.png
     [java] * [17/20]   [0/0]     0.031s 202b    skin/images/rc-t-l-5-1header-2t
ab-selected-3tab-selected.png
     [java] * [20/17]   [0/0]     0.031s 213b    skin/images/rc-t-r-5-1header-2t
ab-selected-3tab-selected.png
     [java] X [0]                                     docs/developer/useCases/al
l.html  BROKEN: D:\Projects\forrest\main\webapp\.\D:\Projects\forrest\plugins\or
g.apache.forrest.plugin.input.projectInfo\build\tmp\D:\Projects\forrest\build\pl
ugins\org.apache.forrest.plugin.input.projectInfo (The filename, directory name,
 or volume label syntax is incorrect)
     [java] * [23/14]   [0/0]     0.047s 3.2Kb   skin/basic.css
     [java] * [24/13]   [0/0]     0.031s 347b    skin/images/rc-b-l-15-1body-2me
nu-3menu.png
     [java] * [26/11]   [0/0]     0.031s 385b    skin/images/rc-t-r-15-1body-2me
nu-3menu.png
     [java] X [0]                                     releaseNotes_0.2-dev.html
BROKEN: D:\Projects\forrest\main\webapp\.\D:\Projects\forrest\plugins\org.apache
.forrest.plugin.input.projectInfo\build\tmp\D:\Projects\forrest\build\plugins\or
g.apache.forrest.plugin.input.projectInfo (The filename, directory name, or volu
me label syntax is incorrect)
     [java] * [29/8]    [0/0]     0.031s 207b    skin/images/rc-t-l-5-1header-2t
ab-unselected-3tab-unselected.png
     [java] X [0]                                     releaseNotes_0.1.html
BROKEN: D:\Projects\forrest\main\webapp\.\D:\Projects\forrest\plugins\org.apache
.forrest.plugin.input.projectInfo\build\tmp\D:\Projects\forrest\build\plugins\or
g.apache.forrest.plugin.input.projectInfo (The filename, directory name, or volu
me label syntax is incorrect)
     [java] X [0]                                     changes.html      BROKEN:
D:\Projects\forrest\main\webapp\.\D:\Projects\forrest\plugins\org.apache.forrest
.plugin.input.projectInfo\build\tmp\D:\Projects\forrest\build\plugins\org.apache
.forrest.plugin.input.projectInfo (The filename, directory name, or volume label
 syntax is incorrect)
     [java] X [0]                                     todo.html BROKEN: D:\Proje
cts\forrest\main\webapp\.\D:\Projects\forrest\plugins\org.apache.forrest.plugin.
input.projectInfo\build\tmp\D:\Projects\forrest\build\plugins\org.apache.forrest
.plugin.input.projectInfo (The filename, directory name, or volume label syntax
is incorrect)
     [java] * [34/3]    [0/0]     0.031s 199b    skin/images/rc-b-r-5-1header-2t
ab-selected-3tab-selected.png
     [java] X [0]                                     docs/developer/useCases/us
eCaseFeatures.html      BROKEN: D:\Projects\forrest\main\webapp\.\D:\Projects\fo
rrest\plugins\org.apache.forrest.plugin.input.projectInfo\build\tmp\D:\Projects\
forrest\build\plugins\org.apache.forrest.plugin.input.projectInfo (The filename,
 directory name, or volume label syntax is incorrect)
     [java] Total time: 0 minutes 17 seconds,  Site size: 50,613 Site pages: 16
     [java] Java Result: 1
     [echo]
     [echo]   Copying broken links file to site root.
     [echo]
     [copy] Copying 1 file to D:\Projects\forrest\plugins\org.apache.forrest.plu
gin.input.projectInfo\build\site

BUILD FAILED
D:\Projects\forrest\plugins\build.xml:327: The following error occurred while ex
ecuting this line:
D:\Projects\forrest\main\targets\site.xml:223: Error building site.

There appears to be a problem with your site build.

Read the output above:
* Cocoon will report the status of each document:
    - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
  - See D:\Projects\forrest\plugins\org.apache.forrest.plugin.input.projectInfo\
build\site/broken-links.xml

Total time: 40 seconds

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.