[ 
https://issues.apache.org/jira/browse/OFBIZ-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473010#comment-13473010
 ] 

Jacques Le Roux commented on OFBIZ-4941:
----------------------------------------

Tom,

PS: look at then end of this comment, I kept above for the fun...

----
Mmm... I think I really need some vacation. I did not add these files in svn, 
so there were on my disk at the right places but not in the working copy, hence 
not in the export :(

I added all but
template/docbook/webhelp/test-output
webapp/ofbizhelp and its content
since those are generated and I guess should not be committed right?

Anyway when I add them the zipped file is too large to be imported here.

The help files are already in the data directory 
applications/content/data/helpdata/docbookhelp/...
This is obvious when you look at the result of the build I tried and pasted in 
comments above, here is my last try, same than before 
{code}
D:\workspace\ofbizClean\applications\content\template\docbook\webhelp>ant 
webhelp.accounting
Buildfile: 
D:\workspace\ofbizClean\applications\content\template\docbook\webhelp\build.xml

clean.accounting:
   [delete] Deleting directory 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en

chunk.accounting:
    [mkdir] Created dir: 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en
     [xslt] Processing 
D:\workspace\ofbizClean\applications\content\data\helpdata\docbookhelp\accounting_en\accounting.xml
 to 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\null12
9158762
     [xslt] Loading stylesheet 
D:\workspace\ofbizClean\applications\content\template\docbook\profiling\profile.xsl
     [xslt] Processing 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\null129158762
 to 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\null1442042200
     [xslt] Loading stylesheet 
D:\workspace\ofbizClean\applications\content\template\docbook\webhelp\xsl\webhelp.xsl
     [xslt] Failed to process 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\null129158762

BUILD FAILED
D:\workspace\ofbizClean\applications\content\template\docbook\webhelp\build.xml:143:
 javax.xml.transform.TransformerException: [start prefix mapping event]: uri is 
an empty string.
{code}

You already asked me about the saxon file:
{quote}
Do you have the saxon.jar in applications/content/template/docbook/webhelp ?
Tom
{quote}
And I replied [in the comment 
above|https://issues.apache.org/jira/browse/OFBIZ-4941?focusedCommentId=13471429&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13471429]

----

Arg and you know what: it seems to work from Eclipse when running an ant target 
in Debug mode!!! I don't know why, but at least a track...

Ha looking at the trace, it could maybe be what I feared from start. You see 
the line 
*[xslt] language: en*
Mine would be French (fr) from command line. Not sure it's that, but a track in 
the track...
{code}
Buildfile: 
D:\workspace\ofbizClean\applications\content\template\docbook\webhelp\build.xml
clean.accounting:
   [delete] Deleting directory 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en
chunk.accounting:
    [mkdir] Created dir: 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en
     [xslt] Processing 
D:\workspace\ofbizClean\applications\content\data\helpdata\docbookhelp\accounting_en\accounting.xml
 to 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\null2088187697
     [xslt] Loading stylesheet 
D:\workspace\ofbizClean\applications\content\template\docbook\profiling\profile.xsl
     [xslt] Processing 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\null2088187697
 to 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\null949819810
     [xslt] Loading stylesheet 
D:\workspace\ofbizClean\applications\content\template\docbook\webhelp\xsl\webhelp.xsl
     [xslt] language: en
     [xslt] Note: namesp. cut : stripped namespace before processing           
OFBiz Documentation
     [xslt] Note: namesp. cut : processing stripped document                   
OFBiz Documentation
     [xslt] language: en
     [xslt] Writing ../../../webapp/ofbizhelp/accounting_en/content/ch01.html 
for chapter
     [xslt] Writing 
../../../webapp/ofbizhelp/accounting_en/content/ACCOUNTING_main.html for 
chapter(ACCOUNTING_main)
     
[...]

[copy] Copying 93 files to 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en
index.accounting:
     [copy] Copying 1 file to 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en
     [copy] Copied 1 empty directory to 1 empty directory under 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en
     [copy] Copying 4 files to 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en
     [echo] Indexing html files in 
../../../webapp/ofbizhelp/accounting_en/content
     [java] Stemming enabled
     [java] The created index files are located in 
..\..\..\webapp\ofbizhelp\accounting_en\content\search\.js
     [java] Indexed the contents in 6 seconds
web-images-accounting:
    [mkdir] Created dir: 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\images_accounting_en
     [copy] Copying 1 file to 
D:\workspace\ofbizClean\applications\content\webapp\ofbizhelp\accounting_en\images_accounting_en
webhelp.accounting:
BUILD SUCCESSFUL
Total time: 1 minute 37 seconds
{code}

Also, I see the help when running 
applications\content\webapp\ofbizhelp\accounting_en\index.html but I don't see 
it from accounting application using the help button, is another step missing?
                
> Proposal for a new help system
> ------------------------------
>
>                 Key: OFBIZ-4941
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4941
>             Project: OFBiz
>          Issue Type: Wish
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: content.7z, docbook diff.patch, docbook-xsl-1.77.1.zip, 
> HelpAccounting.jpg, help_content.jpg, help_ofbizhelp.jpg, helppdf.zip, 
> HelpPerformanceReview1.jpg, HelpPerformanceReview2.jpg, HelpRoadmap.jpg, 
> help_webhlep.jpg, jh.jar, LICENSE.html, OFBIZ-4941 POC HR Help.patch, 
> WebhelpFiles.zip, WebhelpHRAppDocbook.zip, webhelp.jpg
>
>
> Quoting Tom Burns at OFBIZ-4869
> {quote}
> This is a status update just to let anyone who is interested know that this 
> item is being worked on.
> I started out using the OFBiz structure for help docs but after a while I 
> needed/wanted something more expressive.
> Here is what I wound up using for development:
>     Java Help System http://java.net/projects/javahelp/content
>     DocBook 5: The Definitive Guide
>     http://www.docbook.org/tdg5/en/html/docbook.html
>     http://www.docbook.org/xml/5.0/
>     DocBook XSL: The Complete Guide
>     http://www.sagehill.net/docbookxsl/index.html
>     
> http://sourceforge.net/projects/docbook/files/docbook-xsl/1.77.1/docbook-xsl-1.77.1.zip
>     Help Master - FE for managing java help files. Best feature drag and drop 
> TOC creates TOC matching file folder structure. Convenient launcher for 
> viewing & testing. http://www.halogenware.com/software/helpmaster.html
>     XML Mind XML Editor - Free Personal Edition is far better then editing in 
> Eclipse. download from http://www.xmlmind.com/xmleditor/download.shtml
>     Tutorial - DocBook editing with XML Mind XML Editor. Worth going through 
> http://www.xmlmind.com/xmleditor/tutorial.html
>     Read Me First style guide from Sun (cost from Amazon 1 cent + shipping)
> Attached are some screen shots of the results.
> Every screen is/will be documented in a similar structure. This is as much 
> for defining requirements and testing as for help. More work but worth it.
> The screenshots show a Java Help format generated using DocBook XSL. This 
> will likely not be the final presentation format.
> Note the Performance Review screen shots do not match the trunk. There is a 
> bug in update screen and I did some clean up of labels and drop-down list. 
> There are issues like this all through the application so I did not want to 
> get bogged down with patches at this time.
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to