メニュー

プロダクト



プログラミング


  • Java
    • Web 技術
    • メール技術
      • JavaMail
      • Apache James Mailet
    • Web フレームワーク
      • Jakarta Struts
      • Jakarta Velocity
      • Jakarta Tapestry
      • WebWork2
      • Jakarta Jetspeed
      • Apache Cocoon 2
    • DB 技術
      • JDBC
      • Hibernate
      • Apache Torque
    • DI (IoC) コンテナ
      • Spring Framework
      • Seasar2
      • Apache HiveMind
      • PicoContainer
    • 属性プログラミング
    • テスティング
      • JUnit
      • Jakarta Cactus
      • DBUnit
      • djUnit
      • FitNesse
    • ロギング
      • Apache Log4j
      • Jakarta Commons logging
    • 分散コンポーネント技術
      • EJB
    • リッチ クライアント
      • Java Web Start
    • GUI
    • XML Web サービス
      • Apache Axis
      • Apache SOAP
    • アプリケーション管理
    • トランザクション
    • 開発環境
      • Apache Ant
      • Apache Maven
      • Apache Maven2
    • Eclipse
    • Tips
  • .NET Framework
  • PHP
  • XML
    • SmartDoc
  • 正規表現
  • VB, VBA, VBScript, ASP
  • C/C++

DBMS


  • MySQL
  • PostgreSQL
  • Oracle
  • Microsoft SQL Server
  • HSQLDB
  • SQLite
  • Apache Xindice

アプリケーション サーバ



OS



バージョン管理システム



未整理


最近更新したページ
このウィキの読者になる
更新情報がメールで届きます。
このウィキの読者になる

Eclipse/Custom Eclipse Builder

概要


カスタマイズされた Eclipse ディストリビューションを構築するツールです。このツールを使用して作成した、自分専用のディストリビューションを、ネットで配布するなどの利用法があります。

使ってみた


ダウンロード


ダウンロードページから ceb-0.2.tar.gz をダウンロードし、 D:\work\work-java\ceb-0.2\ に解凍しました。

設定


以下のように config/private.properties を記述しました。

eclipse.version=3.1.1
eclipse.mirror.id=187
sourceforge.mirror.id=mesh
eclipse.list=win32
plugins.list=
eclipse.download.dir=/work/work-java/ceb/eclipse
plugin.download.dir=/work/work-java/ceb/eclipse-plugins
distributions.dir=/work/work-java/ceb/eclipse-dist

プラグインは一切なし、最小構成の Eclipse ディストリビューションを構成してみようと思いました。

実行


Ant 1.6.2 でビルドしてみましたが、以下のようにエラーが発生しました。

Buildfile: build.xml

prepare-dist:

load-private-properties:

check-proxy-properties:
     [echo] checking proxy ${proxy.host}:${proxy.port}!

set-proxy-nodeps:

set-proxy:

timestamp:

check-config-uptodate:

create-build-dir:
    [mkdir] Created dir: D:\work\work-java\ceb-0.2\build

download-config-nodeps:
      [get] Getting: http://ceb.sourceforge.net/config/public/public-eclipse.properties
      [get] local file date : Sun Nov 27 04:55:47 JST 2005
      [get] .
      [get] last modified = Sun Nov 27 05:48:19 JST 2005
      [get] Getting: http://ceb.sourceforge.net/config/public/public-plugins.properties
      [get] local file date : Sun Nov 27 04:55:49 JST 2005
      [get] .
      [get] last modified = Fri Dec 02 06:26:16 JST 2005
      [get] Getting: http://ceb.sourceforge.net/config/public/public-mirrors.properties
      [get] local file date : Sun Nov 27 04:55:47 JST 2005
      [get] .
      [get] last modified = Sun Nov 27 05:48:20 JST 2005
    [touch] Creating D:\work\work-java\ceb-0.2\build\config20051204.cfg
     [echo] build.time = 2005.12.04 10:27 JST

download-config:

load-properties:

check-all-properties-set:

BUILD FAILED
D:\work\work-java\ceb-0.2\build.xml:260: Class org.apache.tools.ant.taskdefs.condition.And doesn't support the nested "l
ength" element.

build.bat を実行してみたら、以下のようにうまくいきました。かなり時間はかかりましたが、これは接続先サーバの設定のせいかな?

Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_05\lib\tools.jar
Buildfile: build.xml

prepare-dist:

load-private-properties:

check-proxy-properties:
     [echo] checking proxy ${proxy.host}:${proxy.port}!

set-proxy-nodeps:

set-proxy:

timestamp:

check-config-uptodate:

create-build-dir:

download-config-nodeps:

download-config:

load-properties:

check-all-properties-set:

load-header:

check-properties:

prepare:

check-build-uptodate:

build-nodeps:

load-private-properties:

check-proxy-properties:
     [echo] checking proxy ${proxy.host}:${proxy.port}!

set-proxy-nodeps:

set-proxy:

timestamp:

check-config-uptodate:

create-build-dir:

download-config-nodeps:

download-config:

load-properties:

check-all-properties-set:

load-header:

check-properties:

prepare:

prepare-eclipse-all-properties:
     [echo] List of Eclipse distributions win32

download-eclipse-all:

prepare-eclipse-single-properties:
     [echo] Eclipse version 3.1.1

download-eclipse-single:
     [echo] Distribution /work/work-java/ceb/eclipse/eclipse-SDK-3.1.1-win32.zip is yet not present
     [echo] Getting distribution from http://mirrors.ibiblio.org/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.1.1-200
509290840/eclipse-SDK-3.1.1-win32.zip, dest /work/work-java/ceb/eclipse/eclipse-SDK-3.1.1-win32.zip
    [mkdir] Created dir: D:\work\work-java\ceb\eclipse
      [get] Getting: http://mirrors.ibiblio.org/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse
-SDK-3.1.1-win32.zip
      [get] To: D:\work\work-java\ceb\eclipse\eclipse-SDK-3.1.1-win32.zip
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ................................

download-plugin-all:

prepare-expand-dirs:
    [mkdir] Created dir: D:\work\work-java\ceb-0.2\build\expanded\plugins
    [mkdir] Created dir: D:\work\work-java\ceb-0.2\build\expanded\features

extract-plugin-all:

build-eclipse-all:
    [mkdir] Created dir: D:\work\work-java\ceb-0.2\build\distributions

prepare-eclipse-single-properties:
     [echo] Eclipse version 3.1.1

expand-eclipse-single:
    [mkdir] Created dir: D:\work\work-java\ceb-0.2\build\expanded\eclipse\eclipse-SDK-3.1.1-win32
    [unzip] Expanding: \work\work-java\ceb\eclipse\eclipse-SDK-3.1.1-win32.zip into D:\work\work-java\ceb-0.2\build\expa
nded\eclipse\eclipse-SDK-3.1.1-win32

copy-config:
    [mkdir] Created dir: D:\work\work-java\ceb-0.2\build\tmp-eclipse\configuration
     [copy] Copying 1 file to D:\work\work-java\ceb-0.2\build\tmp-eclipse\configuration

archive-eclipse-single:
      [zip] Building zip: D:\work\work-java\ceb-0.2\build\distributions\eclipse-SDK-3.1.1-win32.zip

build-eclipse-single:

build-all-nodeps:
    [touch] Creating D:\work\work-java\ceb-0.2\build\CEB-build.last

build:

dist-nodeps:
     [copy] Copying 1 file to D:\work\work-java\ceb\eclipse-dist
       [**]
       [**] +------------------------------------------------------------+
       [**] | C O N G R A T U L A T I O N !                              |
       [**] |                                                            |
       [**] | The build of your customized Eclipse distribution(s) was   |
       [**] | successful. You will find the complete customized Eclipse  |
       [**] | distribution(s) in the                                     |
       [**] |                                                            |
       [**] |    /work/work-java/ceb/eclipse-dist
       [**] |                                                            |
       [**] | directory.                                                 |
       [**] |                                                            |
       [**] | Thanks for using of the Custom Eclipse Builder.            |
       [**] |                                                            |
       [**] |                      The Custom Eclipse Builder developers |
       [**] +------------------------------------------------------------+
       [**]

dist:

BUILD SUCCESSFUL
Total time: 28 minutes 16 seconds

結果


/work/work-java/ceb/eclipse にダウンロードされたアーカイブ eclipse-SDK-3.1.1-win32.zip (108,428,303 byte) が格納されていました。

/work/work-java/ceb/eclipse-dist にパッケージングされたディストリビューション アーカイブ eclipse-SDK-3.1.1-win32.zip (104,759,129 byte) が格納されていました。

内容は以下の通りです。…と言いたいところですが、本文が長すぎると言われてしまいました。あうち。

とりあえず、相違点は以下です。

  • ceb/version.info
    • 追加。 Custom Eclipse Builder のバージョン情報が書いてありました。
  • ceb/images/splash.bmp
    • 追加。指定したスプラッシュ画像です。
  • configuration/config.ini
    • 変更。スプラッシュ画像の設定が変更されていました。

参照


2005年12月05日(月) 23:34:22 Modified by uguuxp




スマートフォン版で見る

×

この広告は60日間更新がないwikiに表示されております。