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

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
主站蜘蛛池模板: 黎城县| 固安县| 德昌县| 冕宁县| 永胜县| 武鸣县| 彭泽县| 萨迦县| 瑞丽市| 永春县| 紫金县| 邢台市| 报价| 沙田区| 大石桥市| 科技| 阳新县| 会泽县| 漠河县| 三亚市| 东宁县| 蛟河市| 普洱| 图木舒克市| 北京市| 叶城县| 综艺| 隆尧县| 常山县| 内乡县| 海原县| 博乐市| 白沙| 射阳县| 泌阳县| 华容县| 湄潭县| 武威市| 东城区| 马尔康县| 临颍县|