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 2008/04/28 11:34:57 UTC

[jira] Resolved: (FOR-1079) validate-xdocs fails if no DNS server is configured on the underlying OS and forrest site is invoked by a custom ant

     [ https://issues.apache.org/jira/browse/FOR-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler resolved FOR-1079.
------------------------------------

    Resolution: Invalid

The problem is not forrest like David pointed out.

It is a problem of a custom version of ant and the invocation of forrest site via custom ant tasks.

If you use your own version of ant then make sure you have  xml-commons-resolver-1.1.jar in your ant lib dir:

cp $FORREST_HOME/tools/ant/lib/xml-commons-resolver-1.1.jar $ANT_HOME/lib

> 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.