0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AptanaStudio3の設定手順の覚書

Last updated at Posted at 2017-04-17

AptanaStudio3の設定手順の覚書

環境構築時にやったことを記しておく。環境はWindows10 構築したのは2017/4 

ダウンロード

Aptana公式ページのPRODUCTSからAptanaStudio3のインストーラを落とす
今回はWindows10に単体でインストールするのでWindowsを選択しStandalone Versionにチェックを入れメールアドレスを入力しダウンロードする

インストール

落としたインストーラを起動すると
Failed to correctly acquire installer_nodejs_windows.msi file:CRC error.
というエラーが発生しインストールすることができなかった
そのためコマンドラインからオプションをつけてインストールを行った
手順
1.コマンドプロンプトを立ち上げインストーラのある場所に移動する
2.Aptana_Studio_3_Setup_3.6.1 /passive /norestartを入力しエンターを押す
(Aptana_Studio_3_Setup_3.6.1はインストーラのファイル名)

日本語化

Aptanaはそのままでは全て英語なので日本語化する
手順
1.Pleiades 本体ダウンロードページより最新版のPleiadesプラグイン を落としてくる
2.落としたZIPファイルを解凍し中にある「features」と「plugins」フォルダと「eclipse.exe-clean」をコピーし「Aptana Studio 3」のフォルダにペーストする
3.「Aptana Studio 3」のフォルダ内にある「AptanaStudio3.ini」ファイルをテキストエディタで開き最後の行に
「-javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar」
を追記する
3.1ついでにコンソールの文字化け対策に文字コードをUTF-8に変更する
「AptanaStudio3.ini」ファイルの最後の行にさらに「-Dfile.encoding=utf-8」を追記する
4.「eclipse.exe-clean」内の
「start /d ”start /d "%~dp0" .\eclipse.exe -clean %*」を
「%~dp0" .\AptanaStudio3.exe -clean %*」に書き換える
5.「eclipse.exe-clean」を実行する
以上で日本語化ができているはずである
日本語化を行うとインストール時にデスクトップに作成されるAptanaStudio3が実行できなくなることがある
その時はインストール先のexeファイルへのショートカットと置き換えるといいだろう

デバッグ

デバッグの設定で「php.ini」を変更する必要があると調べたら出てきたが書き換えるべき[XDebug]の項目がファイル内に存在しなかった。
「php.ini」内の末尾に下記のものを追加したところデバッグが可能になった


[XDebug]
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey="netbeans-xdebug"


0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?