Differences between revisions 5 and 6
Revision 5 as of 2006-05-29 13:34:00
Size: 1625
Editor: lalinekw2
Comment:
Revision 6 as of 2006-07-07 10:17:14
Size: 1602
Editor: pcwetz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 36: Line 36:
t.main(["apid=1152"])

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()

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