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

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
主站蜘蛛池模板: 横峰县| 伊金霍洛旗| 弥勒县| 麟游县| 德江县| 安吉县| 韶关市| 温泉县| 磐安县| 陇西县| 蛟河市| 孝感市| 西乡县| 永寿县| 新宾| 航空| 布尔津县| 蒲城县| 三原县| 连平县| 佛山市| 崇文区| 盐津县| 红安县| 青浦区| 涿鹿县| 久治县| 平南县| 桐庐县| 科尔| 兰州市| 高唐县| 江华| 上饶市| 盘锦市| 保山市| 永胜县| 庆元县| 尼木县| 徐汇区| 中牟县|