Apache > Gump
Apache Gump
 

Gump

はじめに

Note
Python Gump は 古典的な(Javaベースの)Gump と初めの数ステップが同じです。ですから、ここから始めて下さい。

インタフェースを選択

Python Gump には2つの主要なインタフェースがあります:

  • グラフィック ユーザ インタフェース
    wxPython の wxWindows を活用
  • コマンドライン
    既存のGumpの基本的な機能(gen/update/build)の提供

グラフィック ユーザ インタフェース

  • こちらに従って Apache Gump をインストール
  • Python 2.3 のインストール(あるいは有効にしておく) -- 例:ActiveState Python
  • wxwindows のインストール(あるいは有効にしておく)
  • シェル(shell)のオープンあるいはそれと同等のことをしておく:
SET PYTHONPATH=C:\gump\python
CD /d C:\gump\python
python gump\gui\view.py -w ..\myworkspace.xml
		
cd /gump/python
export PYTHONPATH=`pwd`
python gump/gui/view.py -w ../myworspace.xml
		

GUI の 使用法

If you select a project, you can walk the project dependencies in both directions, see what prereqs aren't installed, see the actual classpath and properties used in the ant builds, and see what jars a project produces. One pane initially shows the fully expanded XML project definition (implicit dependencies added, properties resolved, etc). You actually can run a build from this tool. A typical scenario is to select the project that you are interested in, check the prereqs and dependencies tabs. If a dependency failed, you can click on it to go to that project. Press the 'run' icon to build it. If it succeeds, press the 'back' button to return to the project you started with and repeat. More detailed information on what is being done can be found in the console window which you can access by pressing the console icon.

コマンドライン ツール:

  • こちらに従って Apache Gump をインストール
  • Python 2.3 のインストール(あるいは有効にしておく) -- 例:ActiveState Python
  • wxwindows のインストール(あるいは有効にしておく)
  • シェル(shell)のオープンあるいはそれと同等のことをしておく:
SET PYTHONPATH=C:\gump\python
CD /d C:\gump\python
python gump\build.py -w ..\myworkspace.xml all
		
cd /gump/python
export PYTHONPATH=`pwd`
python gump/build.py -w ../myworkspace.xml all
		
Note
There are some similar tools w/ similar command line arguments:
update.py -- ソース管理(例:CVS/SVN)からのプロジェクトのアップデート
build.py -- プロジェクトのビルド
integrate.py -- check/update/build/statistics/document/nag の実行
Note
The command line arguments accept a regular expression that resolves over project names NOT module names. "all" is converted to the regular expression "*". This is a new feature in Python Gump, and a mild divergence from traditional gump usage. When (say) updating a "list of modules" the utilities calculate the modules containing the requests projects, and hence translates for the user.

by Sam Ruby