ラベル Eclipse の投稿を表示しています。 すべての投稿を表示
ラベル Eclipse の投稿を表示しています。 すべての投稿を表示

2007/10/23

[ANT][Eclipse][Weblogic]ANTのタスクでこける時の対処

仕事の備忘録メモ

Weblogic92を使用し、
JREJRockitを使いIDEをEclipse3.2にした場合
EclipseからANTを実行する場合のwlcompileタスクにおいて以下のエラーが起こった場合の対処

BUILD FAILEDC:\project\hogehoge\Src\foo\src\build.xml:25:
The following error occurred while executing this line:C:\project\hogehoge\Src\foo\src\fooEar\build.xml:77:
Could not create task or type of type: wlcompile.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes;
the usual solutions are to read the manual pages then download andinstall needed JAR files, or fix the build file:
- You have misspelt 'wlcompile'. Fix: check your spelling.
- The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries implementing the functionality were not found at the time you yourself built your installation of Ant from the Ant sources. Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the task and make sure it contains more than merely a META-INF/MANIFEST.MF. If all it contains is the manifest, then rebuild Ant with the needed libraries present in ${ant.home}/lib/optional/ , or alternatively, download a pre-built release version from apache.org
- The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using .
- You are attempting to use a task defined using or but have spelt wrong or not defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implementedin ANT_HOME/lib, the files must be in the same directory or on theclasspath
Please neither file bug reports on this problem, nor email theAnt mailing lists, until all of these causes have been explored,as this is not an Ant bug.

【対処】
  1. 「ウィンドウ」→「設定」→「ANT」→「ランタイム」を選択

  2. 「Antホーム」をクリック

  3. 「C:\bea\weblogic92\server」を設定
    (※デフォルトインストール設定だと上記の場所にWeblogicがインストールされているはず)

  4. 外部JRE追加よりJRockitの【tools.jar】を追加


2007/02/23

[Eclipse][Flash]フリーなFLASH FAME!

フリーなFLASH FAME!

前の記事でFAMEというフリーのFlash開発環境を見つけたと書きました。
FAMEの環境が整ったので、それについて書こうと思うます。


そもそもFAMEとは何か。

これはFlashout+ASDT+MTASC+Eclipseの頭文字をとったものです。

Flashout : ActionScript、ログ吐き
ASDT : ActionScript Development Tool
MTASC : ActionScriptのコンパイラ
Eclipse :
java系PGには欠かせないフリー開発環境ツール


Eclipseをコアとし、
残り3つのツールを組み合わせることで
フリーのFlash作成ツールFAMEとなります。

実際の環境構築において参考にしたサイト


上記二記事を参考にやると、得に躓くことなく環境構築できました。


FAMEを触ってみる
実際動かしてみた感想として、
javaやEclipseでの開発に慣れた人なら使いやすいが、
今までMacromedia Flash で
Flash作成してきた人は正直きついんじゃないか?と思います。
(一部のActionScriptでガリガリ書いてる人は除く、そういう人にはむしろFAMEお勧め)

ピュアActionScriptというのか・・・
FAMEで全て作ろうとすると全部スクリプトでflashを作成しなければなりません。
(これはこれで最軽量なFlashが作れるので魅力的なのですが・・・)
図形描画など、かなり肩が凝る作業になってしまいます

やはりグラフィカルな作業はMacromedia Flashのほうが楽楽です。
FAMEは使えるか?
物理モデルを映像化したり(惑星の動き、自由落下など)
数式ありきな自然現象をFlashで表現したい場合は超お勧め。
(後はフラクタルなども)

それ以外としては、
グラフィカルな編集をMacromedia Flashで
ロジカルな編集をFAMEで、
といったツールを使い分けるのもいいかも。

そうなると今までの、
デザイナーはscriptが苦手、 プログラマはグラフィックが苦手、 でも編集するのは同じflaファイル

な状況から脱却し、
それぞれをその道に特化した人が担当する事により
素晴らしい作品が出来るかもしれません。


蛇足?
今回紹介したFAMEですが、
これだけだとswfに画像を埋め込む事は出来ません。
(外部読み込みで表示する事になる)

swfに画像やFontを埋め込むには、
swfmill が必要です。(FAMESというらしい)

swfmillはxml(swfmlとか言うらしい)
からコンパイルするデータを取得しコンパイルするコンパイラです。

あれ?どこかで聞いたようなツールだな。
そうjavaやってる人なら欠かせないAntです。
なので、さらにAntをかませる事によって。
FAMES + Ant で完全なGUI環境を整えれるよーです。
・・・ここまではまだ手が出ないな。

2006/10/13

Eclipse3.1.1 memo

Eclipse3.1.1 memo

現在使用JSPプラグイン

EclipseHtmlEditor Ver2.0.2

インストール方法

  1. 必要ファイルのDL

    AmaterasProjecより

    tk.eclipse.plugin.htmleditor_2.0.2.zip
    AmaterasUML_1.2.1.zip

    GEFより

    GEF-runtime-3.1.1.zip

    をDL(上記バージョンでの動作は保障するが、バージョンが高ければいいといものではないことに注意。)

  2. ファイルの解凍とセット
    出てきたファイルの下層フォルダにあるものの中で
    plugins → 中身をeclipseのpluginsフォルダの下にコピー
    futures → 中身をeclipseのfuturesフォルダの下にコピー

以上でインストール完了。

関連付けは各々ですること。

後、個人的感想だが、初期の色合いはちょっと派手すぎてEclipseに会わないと思う。
自分で設定を変えたほうがいいと思う。