You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Colin Kilburn <co...@accesstec.ca> on 2003/06/04 18:36:02 UTC

xdoc:jelly-transform: Premature end of file error

Hi All,

I'm new to maven (which I just built from the cvs tree: 
1.0-beta-10-SNAPSHOT) and I've created my project.xml.   When run the 
site:generate goal as suggested in the "Use" section of the maven 
documentation, maven (or a maven plugin, perhaps) chokes as follows:

xdoc:jelly-transform:
    [echo] Generating 
/home/ckilburn/eclipse/workspace/nams/target/docs/changelog-report.html 
from 
/home/ckilburn/eclipse/workspace/nams/target/generated-xdocs/changelog-report.xml
 
BUILD FAILED
null:517:46: <attainGoal> null:301:49: <x:parse> Error on line -1 of 
document  : Premature end of file. Nested exception: Premature end of file.
T

It doesn't seem to matter what file in /generated-xdocs it is, i.e. I 
get the same error if I delete changelog-report.xml and run:

maven xdoc:jelly-transform

it chokes on the next file in that directory in the same way.   I can't 
seem to find any posts of this problem in the archives, and I'm not sure 
where to look from here.  Could anyone shed some light on this?  or at 
least point me to where I might find the problem?

Many thanks in advance,
Colin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: xdoc:jelly-transform: Premature end of file error

Posted by Colin Kilburn <co...@accesstec.ca>.
Thanks Gabe for the quick response!

I did have a navigation.xml, but it was empty.  Once I put some bogus 
items in it, everything worked fine.  Removing it also worked.

Thanks again!
Colin

Gabriel Bauman wrote:

> Hi, Colin, welcome aboard :D
>
>> BUILD FAILED
>> null:517:46: <attainGoal> null:301:49: <x:parse> Error on line -1 of 
>> document  : Premature end of file. Nested exception: Premature end of 
>> file.
>> T
>
>
> Do you have an xdocs/navigation.xml file? I had the same problem with 
> the xdoc plugin. It seems that creating this file, even if it's empty, 
> makes things work.
>
> Gabe
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: xdoc:jelly-transform: Premature end of file error

Posted by Gabriel Bauman <ga...@bravenet.com>.
Hi, Colin, welcome aboard :D

> BUILD FAILED
> null:517:46: <attainGoal> null:301:49: <x:parse> Error on line -1 of 
> document  : Premature end of file. Nested exception: Premature end of file.
> T

Do you have an xdocs/navigation.xml file? I had the same problem with 
the xdoc plugin. It seems that creating this file, even if it's empty, 
makes things work.

Gabe


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: xdoc:jelly-transform: Premature end of file error

Posted by di...@multitask.com.au.
What's the output of 
maven pom:validate
?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Work:      http://www.multitask.com.au


Colin Kilburn <co...@accesstec.ca> wrote on 04/06/2003 01:36:02 PM:

> Hi All,
> 
> I'm new to maven (which I just built from the cvs tree: 
> 1.0-beta-10-SNAPSHOT) and I've created my project.xml.   When run the 
> site:generate goal as suggested in the "Use" section of the maven 
> documentation, maven (or a maven plugin, perhaps) chokes as follows:
> 
> xdoc:jelly-transform:
>     [echo] Generating 
> /home/ckilburn/eclipse/workspace/nams/target/docs/changelog-report.html 
> from 
> /home/ckilburn/eclipse/workspace/nams/target/generated-
> xdocs/changelog-report.xml
> 
> BUILD FAILED
> null:517:46: <attainGoal> null:301:49: <x:parse> Error on line -1 of 
> document  : Premature end of file. Nested exception: Premature end of 
file.
> T
> 
> It doesn't seem to matter what file in /generated-xdocs it is, i.e. I 
> get the same error if I delete changelog-report.xml and run:
> 
> maven xdoc:jelly-transform
> 
> it chokes on the next file in that directory in the same way.   I can't 
> seem to find any posts of this problem in the archives, and I'm not sure 

> where to look from here.  Could anyone shed some light on this?  or at 
> least point me to where I might find the problem?
> 
> Many thanks in advance,
> Colin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org