forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [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
Date Mon, 28 Apr 2008 09:34:57 GMT

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


Mime
View raw message