SharenGo Wiki
About Sharengo
- SharenGo
- Members
- Join us
- Contact

Methodology
- Methodology

Tools
- PragMaTic
- ABS
- JsRIA

Projects
- MarcoPolo

Components Directory

Infrastructure
- HAPlatForm

Legal

Community
- Tracker
- MailingLists

Wiki
- WikiHelp
- RecentChanges
- RSS
- WikiSearch

How-To run a demo

  • Unpack binary archive
  • java must be in your PATH
  • Add Ant in your system PATH :
    • On windows : set PATH=.\tools\apache-ant-1.6.5\bin;.\tools\xsltprocwin32;
    • On linux :
      • export PATH=tools/apache-ant-1.6.5/bin:$PATH
      • and add execution attribute : chmod +x tools/apache-ant-1.6.5/bin/ant


Model to documentation demo

  • Run uml2pdf demo :
ant demo:uml2pdf
This demo produce a single PDF : Pragmatic.pdf

Note : this demo is defined in conf/pipeline-modeltodocbook.xml

<property key="use.xsltproc" value="true"/>
If use.xsltproc value is false, a model2svg profile use java XSLT processor but it's very slow ...

Note : If you use ant standard version, an error occured : /build.xml:41: java.lang.ClassNotFoundException: org.apache.xalan.processor.TransformerFactoryImpl Add xalan-2.4.1.jar in ANT_HOME/lib to solve this problem with xslt task.


Model to code demo


*Run uml2code demo :

ant demo:uml2code
This demo produce 2 java classes : org.sharengo.Class1 and org.sharengo.Class2.

This demo is defined in conf/pipeline-modeltodocbook.xml

How-To run a demo is mentioned on: PragMaTic | PragMaTicFr | Building PragMaTic from Source


VeryQuickWiki Version 2.7.1 | Admin
Contact -