Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: User

validate error when I run the forrest command

 

 

Forrest user RSS feed   Index | Next | Previous | View Threaded


virgil_trasca at yahoo

Apr 15, 2010, 1:39 AM

Post #1 of 5 (1025 views)
Permalink
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


williamstw at gmail

Apr 15, 2010, 2:45 AM

Post #2 of 5 (1003 views)
Permalink
Re: validate error when I run the forrest command [In reply to]

On Thu, Apr 15, 2010 at 5:39 AM, Trasca Virgil <virgil_trasca [at] yahoo> 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


virgil_trasca at yahoo

Apr 15, 2010, 9:43 AM

Post #3 of 5 (1003 views)
Permalink
Re: validate error when I run the forrest command [In reply to]

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 <williamstw [at] gmail>
To: user [at] forrest
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 <virgil_trasca [at] yahoo> 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
Attachments: log.log (9.32 KB)


crossley at apache

Apr 15, 2010, 9:20 PM

Post #4 of 5 (998 views)
Permalink
Re: validate error when I run the forrest command [In reply to]

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


crossley at apache

May 15, 2010, 4:59 PM

Post #5 of 5 (1004 views)
Permalink
Re: validate error when I run the forrest command [In reply to]

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

Forrest user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.