[ 
https://issues.apache.org/jira/browse/FOR-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592943#action_12592943
 ] 

David Crossley commented on FOR-1079:
-------------------------------------

Yes, for others perhaps seeing this error in the future, refer to the docs at:
http://forrest.apache.org/docs/your-project.html#invoking_from_ant
http://forrest.apache.org/docs/howto/howto-buildPlugin.html#ant

> validate-xdocs fails if no DNS server is configured on the underlying OS and 
> forrest site is invoked by a custom ant 
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FOR-1079
>                 URL: https://issues.apache.org/jira/browse/FOR-1079
>             Project: Forrest
>          Issue Type: Bug
>          Components: Launch 'forrest', XML grammars & validation
>    Affects Versions: 0.9-dev
>            Reporter: Thorsten Scherler
>            Priority: Minor
>         Attachments: 1079.exception.txt
>
>
> If you remove the DNS server entries from your OS forrest cannot validate 
> anymore if you use it from your custom ant.
> sudo vi /etc/resolv.conf
> -> comment all DNS
> try your custom ant to invoke forrest, 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.