Differences between revisions 4 and 5
Revision 4 as of 2006-05-29 12:49:27
Size: 1442
Editor: lalinekw2
Comment:
Revision 5 as of 2006-05-29 13:34:00
Size: 1625
Editor: lalinekw2
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:

 * checkout the doc-files from the herschel.pacs
 * make you changes in the *.xml files in doc-files/help/um/xml
 * cd vs-pcss-src>/pacs/develop/pcss/
 * checkout the doc-files from the herschel.pacs.doc-files
 * cd to <cvs-pcss-src>/pacs/develop/pcss/herschel/pacs/doc-file
s
 * make you changes in the *.xml files in help/um/xml
Line 11: Line 12:
 * make a file jake.root
   {{{
      hcss.jake.outdir = $PCSS_OUT
   }}}

PACS - PCSS

Generate User Manual from XML as PDF

  • cd vs-pcss-src>/pacs/develop/pcss/

  • checkout the doc-files from the herschel.pacs.doc-files
  • cd to <cvs-pcss-src>/pacs/develop/pcss/herschel/pacs/doc-files

  • make you changes in the *.xml files in help/um/xml
  • make sure the following env variables are set:
    • $HCSS_DIR pointing to your hcss distribution
    • $PCSS_OUT pointing to your development out directory (in this example $HOME/out)
  • make a file jake.root
    •       hcss.jake.outdir = $PCSS_OUT
  • run the make_um.local from the doc-files directory
    •          help/bin/make_um.local pdf 
  • In the moment you might get an error : xception in thread "main" java.lang.OutOfMemoryError: Java heap space

  • If you get no error
    • check the result in your web browser pointing to $HOME/out/pcss/doc/help/um/html/um.html
  • if you get an error : exception in thread "main" java.lang.OutOfMemoryError: Java heap space

    • you find the $HOME/out/doc/help/um/pdf/um.fo file which will need to be converted (with the help of FOP http://xmlgraphics.apache.org/fop/download.html#binary) to PDF

    •            java -Xmx3g herschel.ia.document.tools.Fo \
                    -fo ${LOCATION_PDF}/${DOC_NAME}.fo ${LOCATION_PDF}/${DOC_NAME}.pdf 
    • check the result in your web browser pointing to $HOME/out/pcss/doc/help/um/html/um.html

Usage of TestExecutionBrowser just to get an overview

In JIDE :

from herschel.access.util import *
t=TestExecutionBrowser()
t.main(["apid=1152"])

Herschel: PACS/Pcss (last edited 2009-07-15 14:32:37 by localhost)