jduranmaster / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

"Offline mode" with sourceforge down #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is there any support for an offline mode? Whenever sourceforge is down and I 
try to run the doc generation steps, the build fails because it can't retrieve 
the xsl files it needs.

A current example right now is:

Failure reading 
http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl: Server 
returned HTTP response code: 503 for URL: 
http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl

Is there a way to store these files offline and tell the plugin to look in a 
certain place for them? Is there a way to host them in our own Nexus repo and 
tell the plugin to get them from there as opposed to the sourceforge page?

Original issue reported on code.google.com by sh...@tarves.net on 20 Jul 2015 at 2:49

GoogleCodeExporter commented 8 years ago
Hello, I replied 7 days ago but the comment is not there (sorry), here was my 
reply:

---------------

Hello,

do you have docbook as dependency? you could have a look et 
https://code.google.com/p/docbkx-tools/wiki/FAQ (generation is slow)

Regards,
Cedric

Original comment by MimilO...@gmail.com on 27 Jul 2015 at 11:54

GoogleCodeExporter commented 8 years ago
Hi Cedric -

We have a custom xsl file for the pdf generation that was explicitly importing 
the docboox.xsl file from Sourceforge using <xsl:import 
href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" />

When I remove that and just try with <xsl:import href="urn:docbkx:stylesheet" 
/>, generation doesn't work as expected. We're on DB 5.0 if that makes any 
difference.

We ended up just downloading the latest xsl, staging it somewhere internally 
and changing the import to use that local address. Are we doing something wrong 
here?

Original comment by sh...@tarves.net on 27 Jul 2015 at 1:45

GoogleCodeExporter commented 8 years ago
Hello,

what are the version of docbook stylesheet you are using (in the pom, or the 
latest)?
The latest I distributed in maven was 1.78.1 
(http://mvnrepository.com/artifact/net.sf.docbook/docbook-xsl), it seems that 
it is still the current official release version.

I am not sure it  makes big difference to be in docbook 5, the stylesheets 
should handle this.

Maybe you could provide us some more information of what is expected / not 
expected.

Regards,
Cedric,

Original comment by MimilO...@gmail.com on 29 Jul 2015 at 12:32