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

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
主站蜘蛛池模板: 乐平市| 南安市| 綦江县| 佳木斯市| 禹城市| 青神县| 库尔勒市| 伊吾县| 丰台区| 行唐县| 平顺县| 太谷县| 互助| 靖江市| 和顺县| 得荣县| 康马县| 兴安县| 玉山县| 嘉祥县| 钟山县| 新建县| 嘉峪关市| 洞口县| 平顺县| 宾阳县| 昔阳县| 松溪县| 昌宁县| 巴林右旗| 瑞丽市| 乌拉特后旗| 龙陵县| 马公市| 肇源县| 海城市| 汶上县| 上杭县| 宁乡县| 迭部县| 华坪县|