If you're running on Windows, try define maven.gen.docs and maven.docs.src
to have capital letter drive letter, "C:/".

Charles


-----Original Message-----
From: Willie Vu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 4:59 AM
To: [EMAIL PROTECTED]
Subject: CVS HEAD "site" goal failed


I'm using CVS HEAD of Maven.   When I run the goal site, I get the following
error:

...

xdoc:jelly-transform:

BUILD FAILED
This tag must have either the 'name' or the 'var' variables defined
Total time:  3 seconds

After a bit of digging into xdoc's plugin.jelly, I found that the outFile is
not set properly in the performJSL tag:

<!-- generate output file name -->
        <util:replace var="outFileForward" oldChar="\" newChar="/"
value="${file.toString()}"/>
        <j:set var="outFiles"
value="${mapper.mapFileName(outFileForward)}"/>
        <j:set var="outFile" value="${outFiles[0]}"/>



--
Willie Vu
Center for Enhanced Learning and Training
Hong Kong University of Science and Technology
mailto:[EMAIL PROTECTED]
 


> -----Original Message-----
> From: Willie Vu [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, January 14, 2003 3:34
> To: '[EMAIL PROTECTED]'
> Subject: Enhance java:jar to support multiple filesets
> 
> 
> Currently, build/resources/includes only allow include's and 
> exclude's to be specified.  These include's/exclude's will 
> become part of a patternset that applies to one and only one 
> fileset, whose directory is based on the 
> maven.jarResources.basedir property.
> 
> This is inflexible.  E.g., I put image files in src/images 
> directory while properties files in src/properties.  I want 
> them to be included in the jar without the images/ and 
> properties/ directory prefix.  To achieve what I want now, I 
> have to move all files under src/images and src/properties 
> into a separate directory, say src/resources.  Then, I have 
> to change maven.jarResources.basedir to src/resources.
> 
> It would be great if build/resources in project.xml allows 
> multiple filesets.
> 
> --
> Willie Vu
> 


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to