You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Chan, Charles" <Ch...@CIBC.ca> on 2003/01/13 17:48:25 UTC

BUG: xdoc: util:file not working properly?

Hi, I am using xdoc plugin (CVS HEAD Maven). It does not use my supplied
navigation.xml anymore (in $project_home/xdocs). I have debugged a bit of
this problem and discovered that the tag <util:file> doesn't really do
anything (at least not obvious to me). 

At about line 158 (plugin.jelly of xdoc), the plugin tries to find where the
navigation.xml file resides. It uses the util:available tag and the
util:file tag. For some reason, the navFile variable is never set by
util:file. If I replace util:file with j:set var, everything works again.

I find no documentation on util:file, so I can't really say what's wrong
there.

Thanks for looking into it.
Charles

Re: BUG: xdoc: util:file not working properly?

Posted by di...@multitask.com.au.
util:file just creates a java.io.File and puts it into the context.

Util:file was only added recently, are you sure you have a recent build of 
Jelly and Maven? If you don't, you will see the util:file's printed to the 
console.

Can you let me know if this is the case?
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"Chan, Charles" <Ch...@CIBC.ca> wrote on 14/01/2003 03:48:25 AM:

> Hi, I am using xdoc plugin (CVS HEAD Maven). It does not use my supplied
> navigation.xml anymore (in $project_home/xdocs). I have debugged a bit 
of
> this problem and discovered that the tag <util:file> doesn't really do
> anything (at least not obvious to me). 
> 
> At about line 158 (plugin.jelly of xdoc), the plugin tries to find where 
the
> navigation.xml file resides. It uses the util:available tag and the
> util:file tag. For some reason, the navFile variable is never set by
> util:file. If I replace util:file with j:set var, everything works 
again.
> 
> I find no documentation on util:file, so I can't really say what's wrong
> there.
> 
> Thanks for looking into it.
> Charles
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> help@jakarta.apache.org>
> 

> ForwardSourceID:NT000A25DA