官术网_书友最值得收藏!

Installing ArchGenXML

Although ArchGenXML documentation provides several installation options, we have chosen the recommended one, that will help us in strengthening an already introduced concept: buildout. In addition, this method will let you share the buildout configuration file with your team and help them by easing their ArchGenXML installation as well.

Getting ready

On Linux as on Windows, we must have already installed Python 2.4. Check Installing Python on Linux and Installing Plone on Windows for details on this.

We'll proceed with the ArchGenXML installation.

How to do it…

  1. Create a directory for the target ArchGenXML installation and choose the installation directory of your preference. We have chosen libexec at the home folder (denoted by ~ on Linux):
    mkdir -p ~/libexec/archgenxml
    cd ~/libexec/archgenxml
    
  2. Download (or copy from an existing location) the bootstrap.py file.
    wget http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py
    
  3. Create a buildout.cfg file for ArchGenXML like the following one:
    [buildout]
    parts =
        archgenxml
    
    [archgenxml]
    recipe = zc.recipe.egg:scripts
    eggs = archgenxml
  4. Bootstrap and build ArchGenXML. Before proceeding make sure you use a Python 2.4 interpreter. If you are using virtualenv on Linux, you can activate it first as explained in Installing Python on Linux. You can also invoke the Python interpreter directly on its installation directory.
    /location_of_python_2.4/python bootstrap.py
    ./bin/buildout
    

How it works…

We now have a correct installation of ArchGenXML. Now we just need to use it. To do so, we need an application to create UML (Unified Modeling Language) models that can export them into XMI format like ArgoUML, Poseidon, or ObjectDomain.

The following examples will be done on ArgoUML. You can get it from http://argouml.tigris.org/.

See also

  • Installing Python on Linux
  • Installing Plone on Windows
主站蜘蛛池模板: 大连市| 浦江县| 松滋市| 赤水市| 金湖县| 海门市| 吴桥县| 柳州市| 休宁县| 天津市| 恩平市| 玉龙| 常熟市| 玉龙| 凤台县| 揭东县| 土默特右旗| 苍南县| 涞源县| 大埔县| 苗栗县| 开封县| 辉南县| 阳谷县| 普洱| 富裕县| 永吉县| 高唐县| 五莲县| 海丰县| 炎陵县| 简阳市| 原平市| 星子县| 青州市| 新兴县| 册亨县| 肇州县| 屯留县| 灌云县| 吉木萨尔县|