Hi Cedric,
In xsl/webhelp/Makefile I just call ant and have it build the indexer:
build-indexer:
$(ANT) build-indexer
That's the same way xsl-saxon does it (I just copied it). The build-indexer ant
target just compiles the indexer and jars it up. But to break out the indexer
correctly, we'll need the lucene jars like you said. I should really also split
out some documentation for it as well and licensing information.
For the VERSION file and other release-related activities, I don't know how all
that works. I can see that xsl-saxon has a VERSION file that's an xslt which
seems to generate announcement(s) for freshmeat and sourceforge.
Sorry I haven't had time to look into all this yet.
Thanks,
David
From: Mimil Mimil [mailto:[email protected]]
Sent: Tuesday, September 21, 2010 7:47 AM
To: Cramer, David W (David); Keith Fahlgren; Docbook Apps; docbook-developers
Subject: Re: [docbook-dev] DocBook-XSL 1.76.0-RC1 for preliminary testing
Hello,
I am giving a try to make the xsl-webhelpindexer extension and I have some
questions:
- can someone tell me how the VERSION file is created? (like in xsl-xalan or
xsl-saxon)
- is there any external actions to do? (like in the scm, the bug tracker, ...)
- in Makefile, is "webhelpindexer.jar: $(wildcard src/)" correct? (I am not
familiar with makefiles)
Regards,
Cedric,
On Mon, Sep 20, 2010 at 3:06 PM, Mimil Mimil
<[email protected]<mailto:[email protected]>> wrote:
I didn't yet made the webhelp docbkx plugin but the plugin will mimic what your
are doing in your ant file.
I am not sure it is a long task, I think about 3 steps:
- you guess you just need to split your ant file in 2 by extracting the
compilation part into a top directory (like xsl-webhelpindexer?)
- I guess the Makefile in xsl/extensions have to be modified too to copy the
jar you built + the lucen dependencies
- modify the your ant to take care of this new classpath
As I do not have the docbook building toolchain, I cannot make the test.
Regards,
Cedric,
On Fri, Sep 17, 2010 at 10:38 PM, Cramer, David W (David)
<[email protected]<mailto:[email protected]>> wrote:
> I also have some comments on the webhelp/indexer content, I wonder if it can
> be refactored:
> - isn't the indexer should be seen as a separate module as the xsl-saxon and
> xsl-xalan are?
> - and then the binaries located in extensions/ directory?
Yes, that make sense. Not sure how soon I'll get around to breaking it out
though.
I'd also like to understand how to build webhelp using the docbkx maven plugin,
but I'm new to maven.
David