On Thu, 26 May 2005 [EMAIL PROTECTED] wrote:
You could create a maven.xml task that uses ant copy using filtering
to copy the xdocs/ dir to target/generated-docs (or something)
and possibly setting the xdoc document location to the new location.
If you use ant filtering you should use @token@ style variables in the
document, or create a jelly script that reads the xml document as a script
while filling in the ${variables} and write it somewhere (i've done it so
it's possible)..
-- Kenney
> Hi all,
>
> I having issues using maven properties/variables in my xdocs. I've created
> an xdocs/index.xml that I want to customise based on property values, eg.
>
> <document>
> <properties>
> <title>About ${myProperty}</title>
> </properties>
>
> <body>
> <section name="About ${myProperty}">
> </section>
> </body>
> </document>
>
>
> I would like ${myProperty} to be replaced with the property value, but
> instead I see ${myProperty} on the generated html page. Is there a way I
> can acheive this?
>
> cheers,
> Justin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]