You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2006/08/01 22:53:17 UTC

[jira] Created: (FOR-912) Validation is failing for glossary documents

Validation is failing for glossary documents
--------------------------------------------

                 Key: FOR-912
                 URL: http://issues.apache.org/jira/browse/FOR-912
             Project: Forrest
          Issue Type: Bug
          Components: Dispatcher (aka views), Plugin: input.glossary
            Reporter: Thorsten Scherler


Trying to deploy the docs for the dispatcher, I get
BUILD FAILED
/home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
/home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Commented: (FOR-912) Validation is failing for glossary documents

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler (JIRA) wrote:
>             
> Thorsten Scherler commented on FOR-912:
> ---------------------------------------
> 
> cd org.apache.forrest.plugin.input.glossary
> ant deploy-docs
> ...
> validate-xdocs:
> Warning: catalogpath listing external catalogs will be ignored

That warning means that it is using a system Ant
that does not include the catalog entity resolver.

Instead use ...
$FORREST_HOME/tools/ant/bin/ant deploy-docs
as declared in 
http://forrest.apache.org/docs/dev/howto/howto-buildPlugin.html#ant

-David

> BUILD FAILED
> /home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
> /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml
> 
> 
> Doing the validation with
> forrest validate-xdocs
> gives BUILD SUCCESSFUL
> 
> It seems that the invokation of ant deploy-docs is loosing something. Now turning to /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146
> 
> > Validation is failing for glossary documents
> > --------------------------------------------
> >
> >                 Key: FOR-912
> >                 URL: http://issues.apache.org/jira/browse/FOR-912
> >             Project: Forrest
> >          Issue Type: Bug
> >          Components: Dispatcher (aka views), Plugin: input.glossary
> >            Reporter: Thorsten Scherler
> >
> > Trying to deploy the docs for the dispatcher, I get
> > BUILD FAILED
> > /home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
> > /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml

[jira] Commented: (FOR-912) Validation is failing for glossary documents

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-912?page=comments#action_12425023 ] 
            
Thorsten Scherler commented on FOR-912:
---------------------------------------

cd org.apache.forrest.plugin.input.glossary
ant deploy-docs
...
validate-xdocs:
Warning: catalogpath listing external catalogs will be ignored

BUILD FAILED
/home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
/home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.glossary/src/documentation/content/xdocs/glossary.xml


Doing the validation with
forrest validate-xdocs
gives BUILD SUCCESSFUL

It seems that the invokation of ant deploy-docs is loosing something. Now turning to /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146

> Validation is failing for glossary documents
> --------------------------------------------
>
>                 Key: FOR-912
>                 URL: http://issues.apache.org/jira/browse/FOR-912
>             Project: Forrest
>          Issue Type: Bug
>          Components: Dispatcher (aka views), Plugin: input.glossary
>            Reporter: Thorsten Scherler
>
> Trying to deploy the docs for the dispatcher, I get
> BUILD FAILED
> /home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
> /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FOR-912) Validation is failing for glossary documents

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-912?page=all ]

Thorsten Scherler updated FOR-912:
----------------------------------

    Component/s:     (was: Dispatcher (aka views))
    Description: 
Using ant deploy-docs is failing
validate-xdocs:
BUILD FAILED
/home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
/home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml

but forrest validate-xdocs is working fine.

  was:
Trying to deploy the docs for the dispatcher, I get
BUILD FAILED
/home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
/home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml


The issue is not dispatcher related and updating the description with the current findings.

> Validation is failing for glossary documents
> --------------------------------------------
>
>                 Key: FOR-912
>                 URL: http://issues.apache.org/jira/browse/FOR-912
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.glossary
>            Reporter: Thorsten Scherler
>
> Using ant deploy-docs is failing
> validate-xdocs:
> BUILD FAILED
> /home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
> /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml
> but forrest validate-xdocs is working fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FOR-912) Validation is failing for glossary documents

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-912?page=comments#action_12425012 ] 
            
Thorsten Scherler commented on FOR-912:
---------------------------------------

...but $ forrest validate-xdocs
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: /home/thorsten/src/apache/forrest/trunk/main/forrest.build.xml

init-props:

echo-settings:

examine-proj:

validation-props:

validate-xdocs:
6 file(s) have been successfully validated.
...validated xdocs

BUILD SUCCESSFUL
Total time: 2 seconds

> Validation is failing for glossary documents
> --------------------------------------------
>
>                 Key: FOR-912
>                 URL: http://issues.apache.org/jira/browse/FOR-912
>             Project: Forrest
>          Issue Type: Bug
>          Components: Dispatcher (aka views), Plugin: input.glossary
>            Reporter: Thorsten Scherler
>
> Trying to deploy the docs for the dispatcher, I get
> BUILD FAILED
> /home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
> /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (FOR-912) Validation is failing for glossary documents

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-912?page=all ]

Thorsten Scherler closed FOR-912.
---------------------------------

    Resolution: Fixed

The problem was due to an outdated ant version in the local system. Use
export ANT_HOME=$FORREST_HOME/tools/ant
instead.

> Validation is failing for glossary documents
> --------------------------------------------
>
>                 Key: FOR-912
>                 URL: http://issues.apache.org/jira/browse/FOR-912
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.glossary
>    Affects Versions: 0.8-dev
>            Reporter: Thorsten Scherler
>
> Using ant deploy-docs is failing
> validate-xdocs:
> BUILD FAILED
> /home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
> /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml
> but forrest validate-xdocs is working fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FOR-912) Validation is failing for glossary documents

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-912?page=all ]

Thorsten Scherler updated FOR-912:
----------------------------------

    Affects Version/s: 0.8-dev

> Validation is failing for glossary documents
> --------------------------------------------
>
>                 Key: FOR-912
>                 URL: http://issues.apache.org/jira/browse/FOR-912
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.glossary
>    Affects Versions: 0.8-dev
>            Reporter: Thorsten Scherler
>
> Using ant deploy-docs is failing
> validate-xdocs:
> BUILD FAILED
> /home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
> /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml
> but forrest validate-xdocs is working fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FOR-912) Validation is failing for glossary documents

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-912?page=comments#action_12425028 ] 
            
Thorsten Scherler commented on FOR-912:
---------------------------------------

I found the following workaround
Index: forrest.properties
===================================================================
--- forrest.properties  (revisiĆ³n: 427470)
+++ forrest.properties  (copia de trabajo)
@@ -22,5 +22,7 @@

 # FIXME: FOR-785
 forrest.validate.skinconf=false
+# FIXME: FOR-912
+forrest.validate.xdocs.excludes=dispatcher-glossary.xml

where you need to exclude any glossary file you have (sample taken from the dispatcher plugin).

> Validation is failing for glossary documents
> --------------------------------------------
>
>                 Key: FOR-912
>                 URL: http://issues.apache.org/jira/browse/FOR-912
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.glossary
>    Affects Versions: 0.8-dev
>            Reporter: Thorsten Scherler
>
> Using ant deploy-docs is failing
> validate-xdocs:
> BUILD FAILED
> /home/thorsten/src/apache/forrest/trunk/plugins/build.xml:356: Following error occured while executing this line
> /home/thorsten/src/apache/forrest/trunk/main/targets/validate.xml:146: Could not validate document /home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml
> but forrest validate-xdocs is working fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira