[
https://issues.apache.org/jira/browse/FOR-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592607#action_12592607
]
David Crossley commented on FOR-1079:
-------------------------------------
Thanks. So that is showing that you have a problem. This is what it should be
like ...
-----------
...
validate-xdocs:
Using these catalog descriptors:
forrest.core.webapp=/svn/asf/forrest/main/webapp/resources/schema/catalog.xcat
forrest.plugins-dir=/svn/asf/forrest/build/plugins/catalog.xcat
catalog=/Users/.../raw-sample/src/documentation/resources/schema/catalog.xcat
dropping /lib/endorsed/*.jar from path as it doesn't exist
dropping ....Versions/1.5.0/lib/tools.jar from path as it doesn't exist
Using SAX2 reader org.apache.xerces.parsers.SAXParser
Validating index.xml...
Apache resolver library found, xml-commons resolver will be used
Validating index.xml...
...
-----------
Try using a fresh seed site.
Is this running forrest direct from the command-line or are you calling the Ant
task from elsewhere?
It seems that it is not finding the resolver jar from
$FORREST_HOME/tools/ant/lib/
> validate-xdocs fails if no DNS server is configured on the underlying OS
> ------------------------------------------------------------------------
>
> Key: FOR-1079
> URL: https://issues.apache.org/jira/browse/FOR-1079
> Project: Forrest
> Issue Type: Bug
> Components: XML grammars & validation
> Affects Versions: 0.9-dev
> Reporter: Thorsten Scherler
> Attachments: 1079.exception.txt
>
>
> If you remove the DNS server entries from your OS forrest cannot validate
> anymore.
> sudo vi /etc/resolv.conf
> -> comment all DNS
> try "forrest" as usual on your project, it will fail like:
> ...
> forrest/trunk/main/targets/validate.xml:136: Could not validate document
> /home/thorsten/src/sadesi/boja2/trunk/exporter/src/documentation/content/xdocs/index.xml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.