Hey,

On 6/5/07, Steve Ebersole <[EMAIL PROTECTED]> wrote:
On Tue, 2007-06-05 at 09:18 +0200, Stephane Nicoll wrote:
> I am currently migration our doc on docbook+M2 and I ran in the same
> issues. Is your plugin freely available?
Sure, as of now it is in Hibernate SVN and published to the JBoss Maven repo.

Cool, will try.


> Regarding styles, we also use them as dependencies and images are
> located alongside the docbook file.
Images alongside the DocBook source is fine for images referenced from
those sources; that makes sense.  But I am talking about images packaged
with the styles.  Remember, the whole point is to have reusable xslt
bundles.

Sure. What we do is we package the styles in a zip file using a
standard maven project and the build-helper-mojo from codehaus. The
zip file contains not only the CSS, the XSLT parameters but also the
images linked to the style.

Next, in a "doc" project, we depend on the zip above and we use the
dependency plugin to inject the data (dependency:unpack) in the
target/${artifactId} directory where the docb sources are copied.

Now, we have a hard dependency on xmlto for the actual generation. If
we can use a more elegant solution, I'll be glad to test :)

Thanks,
Stéphane




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



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

Reply via email to