You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Trasca Virgil <vi...@yahoo.com> on 2010/04/15 11:39:13 UTC

validate error when I run the forrest command

Hi,

     I tried forrest seed and I generated the initial project.

When I run forrest I get a BUILD FAILED - validate.xml:158: Validation failed, messages should have been provided. 

What is this?

 Thank you,
Doru

Re: validate error when I run the forrest command

Posted by David Crossley <cr...@apache.org>.
David Crossley wrote:
> Trasca Virgil wrote:
> > 
> > I just remembered it is because I have java1.6 and forrest has a problem with it. On java 1.5 is working.
> 
> See https://issues.apache.org/jira/browse/FOR-984
>  "validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes"

So trying to say that the issue is fixed in Forrest trunk SVN.

For released versions, you have two options:

1) Follow the workaround described in that issue to switch
off that sitemap validation task.

2) Follow the "Subversion Commits" tab of that JIRA to see how
to upgrade Jing.

This "validate sitemap" task doesn't really do much anyway.
Its main purpose is to demonstrate the power of using Jing
to do xml validation during the build phase. There are other
better demonstrations of that.

-David

Re: validate error when I run the forrest command

Posted by David Crossley <cr...@apache.org>.
Trasca Virgil wrote:
> 
>        I did nothing. On an empty folder I run forrest seed to generate the sample and after that I run forrest and I get the error. I use forrest 0.8 - you can check the attached log file.
> 
> I just remembered it is because I have java1.6 and forrest has a problem with it. On java 1.5 is working.

See https://issues.apache.org/jira/browse/FOR-984
 "validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes"

-David

Re: validate error when I run the forrest command

Posted by Trasca Virgil <vi...@yahoo.com>.
Hi ,

       I did nothing. On an empty folder I run forrest seed to generate the sample and after that I run forrest and I get the error. I use forrest 0.8 - you can check the attached log file.

I just remembered it is because I have java1.6 and forrest has a problem with it. On java 1.5 is working.


Thank you,
Virgil
DocumentBurster ,
http://java-hobby.blogspot.com/




________________________________
From: Tim Williams <wi...@gmail.com>
To: user@forrest.apache.org
Sent: Thu, April 15, 2010 1:45:13 PM
Subject: Re: validate error when I run the forrest command

On Thu, Apr 15, 2010 at 5:39 AM, Trasca Virgil <vi...@yahoo.com> wrote:
> Hi,
>
>      I tried forrest seed and I generated the initial project.
>
> When I run forrest I get a BUILD FAILED - validate.xml:158: Validation
> failed, messages should have been provided.
>
> What is this?

It's the task that checks the validity of your source content, maybe
you made some invalid changes to an xdoc or something?  Can you give
some more of the output?
Thanks,
--tim

Re: validate error when I run the forrest command

Posted by Tim Williams <wi...@gmail.com>.
On Thu, Apr 15, 2010 at 5:39 AM, Trasca Virgil <vi...@yahoo.com> wrote:
> Hi,
>
>      I tried forrest seed and I generated the initial project.
>
> When I run forrest I get a BUILD FAILED - validate.xml:158: Validation
> failed, messages should have been provided.
>
> What is this?

It's the task that checks the validity of your source content, maybe
you made some invalid changes to an xdoc or something?  Can you give
some more of the output?
Thanks,
--tim