<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>@blog.justoneplanet.info &#187; IDE</title>
	<atom:link href="http://blog.justoneplanet.info/category/computer/ide/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.justoneplanet.info</link>
	<description>日々勉強</description>
	<lastBuildDate>Wed, 08 Feb 2012 02:57:17 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MacのXAMPPにXdebugを入れる</title>
		<link>http://blog.justoneplanet.info/2011/02/07/mac%e3%81%aexampp%e3%81%abxdebug%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b/</link>
		<comments>http://blog.justoneplanet.info/2011/02/07/mac%e3%81%aexampp%e3%81%abxdebug%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 14:06:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3873</guid>
		<description><![CDATA[UNIXベースなので以下のコマンドでインストールしてみる。 /Applications/XAMPP/xamppfiles/bin/pear upgrade pear channel-update pear.php.net [...]]]></description>
			<content:encoded><![CDATA[<p>UNIXベースなので以下のコマンドでインストールしてみる。</p>
<pre class="brush: bash;">
/Applications/XAMPP/xamppfiles/bin/pear upgrade pear channel-update pear.php.net
/Applications/XAMPP/xamppfiles/bin/pear upgrade pear upgrade PEAR
/Applications/XAMPP/xamppfiles/bin/pecl install xdebug
</pre>
<p>コンパイルで大量のエラーが出て上手くいかないはずだ。</p>
<h3>■解決策</h3>
<p><a href="http://code.activestate.com/komodo/remotedebugging/">Komodo Remote Debugging Package Downloads</a>で、「Downloads ＞ PHP Remote Debugging Client ＞ Mac OS X (universal)」をクリックしてダウンロードし、PHPのバージョンに合ったファイルを以下のコマンドでコピーする。</p>
<pre class="brush: bash;">
cp /Users/[user]/Downloads/Komodo-PHPRemoteDebugging-6.1.0-60797-macosx/5.x/xdebug.so /Applications/XAMPP/xamppfiles/lib/php/php-5.x.x/extensions/no-debug-non-zts-20xxxxxx/xdebug.so
</pre>
<h4>設定ファイル</h4>
<p>以下のコマンドを実行する。</p>
<pre class="brush: bash;">
vi /Applications/XAMPP/xamppfiles/etc/php.ini
</pre>
<p>次に、以下の一行を加える。</p>
<pre class="brush: bash;">
[xdebug]
zend_extension =&quot;/Application/XAMPP/xamppfiles/lib/php/php-5.x.x/extensions/no-debug-non-zts-20xxxxxx/xdebug.so&quot;
xdebug.remote_enable = 1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = &quot;/Applications/XAMPP/xamppfiles/htdocs/_xdebug_profiler&quot;
xdebug.profiler_output_name = cachegrind.out.%s
</pre>
<section class="kakomi">
<h5>基本設定</h5>
<p>ついでにマルチバイト系の設定をし忘れてたのでやっておく。</p>
<pre class="brush: bash;">
mbstring.language = Japanese
mbstring.internal_encoding = UTF-8
mbstring.http_output = UTF-8
expose_php = Off
</pre>
</section>
<p>500個めの記事でしたーσ°▽°)σ </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2011/02/07/mac%e3%81%aexampp%e3%81%abxdebug%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Xcodeでコンソールを表示する</title>
		<link>http://blog.justoneplanet.info/2011/01/30/xcode%e3%81%a7%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b/</link>
		<comments>http://blog.justoneplanet.info/2011/01/30/xcode%e3%81%a7%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 13:12:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IDE]]></category>
		<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3839</guid>
		<description><![CDATA[「実行 ＞ コンソール」をクリックする。]]></description>
			<content:encoded><![CDATA[<p>「実行 ＞ コンソール」をクリックする。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2011/01/30/xcode%e3%81%a7%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eclipseでJavaScriptの単体テストをする</title>
		<link>http://blog.justoneplanet.info/2011/01/13/eclipse%e3%81%a7javascript%e3%81%ae%e5%8d%98%e4%bd%93%e3%83%86%e3%82%b9%e3%83%88%e3%82%92%e3%81%99%e3%82%8b/</link>
		<comments>http://blog.justoneplanet.info/2011/01/13/eclipse%e3%81%a7javascript%e3%81%ae%e5%8d%98%e4%bd%93%e3%83%86%e3%82%b9%e3%83%88%e3%82%92%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 17:31:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3692</guid>
		<description><![CDATA[つまずいた部分があったのでメモっておく。φ(-ω-。`)。 ■ダウンロード eclipse downloadsのJavaScript版をダウンロードした。 ■プラグイン JsTestDriverを使用する。 まず、「ヘル [...]]]></description>
			<content:encoded><![CDATA[<p>つまずいた部分があったのでメモっておく。φ(-ω-。`)。</p>
<h3>■ダウンロード</h3>
<p><a href="http://www.eclipse.org/downloads/">eclipse downloads</a>のJavaScript版をダウンロードした。</p>
<h3>■プラグイン</h3>
<p><a href="http://code.google.com/p/js-test-driver/">JsTestDriver</a>を使用する。</p>
<p>まず、「ヘルプ ＞ 新規ソフトウェアのインストール ＞ 有効なソフトウェア・サイト」を選択し、フィルタに「http://js-test-driver.googlecode.com/svn/update/」と入力する。</p>
<p>次に、一覧にパッケージが表示されるので、バージョンが新しいものを選択しインストールする。</p>
<h3>■使用方法</h3>
<p>用意するファイルは3ファイルである。以下のサンプルソースはドキュメントのコードを使用させていただいた。</p>
<h4>projectdir/src/Greeter.js</h4>
<pre class="brush: jscript;">
myapp = {};
myapp.Greeter = function(){ };
myapp.Greeter.prototype.greet = function(name){
    return &quot;Hello &quot; + name + &quot;!&quot;;
};
</pre>
<h4>projectdir/src/GreeterTest.js</h4>
<p>テストコードである。</p>
<pre class="brush: jscript;">
GreeterTest = TestCase(&quot;GreeterTest&quot;);

GreeterTest.prototype.testGreet = function(){
    var greeter = new myapp.Greeter();
    assertEquals(&quot;Hello World!&quot;, greeter.greet(&quot;World&quot;));
};
</pre>
<h4>projectdir/jsTestDriver.conf</h4>
<p>クラスのディレクトリとテストコードのディレクトリを設定している感じだ。</p>
<pre class="brush: xml;">
server: http://localhost:42442

load:
  - src/*.js
  - src-test/*.js
</pre>
<p>どうやらプロジェクトルートに置く必要があるようだ。また、ファイル内のパスは注意して正しく記述する必要がある、</p>
<h4>ビューの表示</h4>
<p>「ウィンドウ ＞ ビューの表示 ＞ その他」を選択し、JavaScriptの中からJsTestDriverを選択すると表示される。</p>
<h4>設定1</h4>
<p>「ウィンドウ ＞ 設定 ＞ Js Test Driver」を選択し、各ブラウザのexeファイルと関連付ける。要はパスを通すって感じだ。</p>
<h4>設定2</h4>
<p>プロジェクトを選択した状態で、「実行 ＞ 実行の構成」を選択したら、「実行 ＞ Js Test Driver Test ＞ 新規構成」を選択し、以下のように入力する。</p>
<dl>
<dt>project</dt>
<dd>projectdir</dd>
<dt>Conf File</dt>
<dd>jsTestDriver.conf</dd>
</dl>
<h4>実行</h4>
<p>JsTestDriverビューの「サーバーを始動」のボタンを押し、テストするブラウザのボタンを押す。するとブラウザが立ち上がるので、ビューに戻り「return last configuration」をクリックするとテストが実行される。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2011/01/13/eclipse%e3%81%a7javascript%e3%81%ae%e5%8d%98%e4%bd%93%e3%83%86%e3%82%b9%e3%83%88%e3%82%92%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eclipseでPHPの開発環境を構築する</title>
		<link>http://blog.justoneplanet.info/2011/01/01/eclipse%e3%81%a7php%e3%81%ae%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b/</link>
		<comments>http://blog.justoneplanet.info/2011/01/01/eclipse%e3%81%a7php%e3%81%ae%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 01:05:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3548</guid>
		<description><![CDATA[忘れちゃうから書いておくことにしたφ(-ω-。`)。新しいマシンにを使うたびに古いマシンを見ながらセットアップするのは意外に手間だったり省エネでもないし。。。そんな感じで本年も宜しくお願いします。 ■ダウンロード ecl [...]]]></description>
			<content:encoded><![CDATA[<p>忘れちゃうから書いておくことにしたφ(-ω-。`)。新しいマシンにを使うたびに古いマシンを見ながらセットアップするのは意外に手間だったり省エネでもないし。。。そんな感じで本年も宜しくお願いします。</p>
<h3>■ダウンロード</h3>
<p><a href="http://www.eclipse.org/downloads/">eclipseのサイト</a>から、Eclipse for PHP Developersを選んでダウンロードする。別のパッケージでもイイんだけど簡単にできるにこしたことはない。また、個人的にはPHP用のeclipseとしてJava用とは別にセットアップするのをお勧めする。</p>
<h3>■起動</h3>
<p>解凍後、eclipse.exeをクリックして起動する。workspaceはxamppのhtdocsディレクトリを指定するのが良いと思う。起動後、workbenchをクリックする。</p>
<h3>■プラグイン</h3>
<h4>日本語化</h4>
<p>まず、<a href="http://sourceforge.jp/frs/redir.php?m=keihanna&#038;f=%2Fmergedoc%2F49536%2Fpleiades_1.3.2.zip">Pleiades</a>からプラグインをダウンロードする。</p>
<p>次に、ダウンロードしたファイルを解凍し、含まれているディレクトリ（plugins、featuresの二つ）をeclipse本体の同名ディレクトリに上書きする。</p>
<p>最後に、eclipseのディレクトリにあるeclipse.iniに以下のラインを追記する。</p>
<pre class="brush: bash;">
-javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
</pre>
<h5>Macの場合</h5>
<p>eclipse/Eclipse.app/Contents/MacOS/eclipse.iniのファイルに以下を追記する。</p>
<pre class="brush: bash;">
-javaagent:../../../plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
</pre>
<section class="kakomi">
<h5>日本語化の別解1：All in oneパッケージを使う</h5>
<p><a href="http://mergedoc.sourceforge.jp/">Pleiades</a>からAll in Oneパッケージをインストールすると最初から日本語化されている。但し、現時点では32bit版のwindowsパッケージしかない。</p>
</section>
<section class="kakomi">
<h5>日本語化の別解2：Babelを使う</h5>
<p>まず、<a href="http://www.eclipse.org/babel/downloads.php">Babel</a>のBabel Update Sitesの中から、eclipseのバージョンに合ったURLをコピーする。</p>
<p>次に、Eclipseに戻り「help &gt; Install New Software」を選択し、Work withの欄に上述でコピーしたURLをペーストすると、各種言語が表示されるので「Japanese」だけ選んでインストールする。</p>
<p>但し、Windows Vista（32bit版）と7（64bit版）のPCを使用しeclipse 3.6の場合、ビューが開かなくなるという致命的な不具合が起こった。また、日本語化されていない部分がPleiadesより多い。</p>
</section>
<h4>subversive</h4>
<p>Gitブームだけど、まだまだ実際のプロジェクトでは現役なのでプラグインをインストールする。</p>
<p>まず、「ヘルプ ＞ 新規ソフトウェアのインストール ＞ 有効なソフトウェア・サイト」を選択し、フィルタに「subversive」と入力する。</p>
<p>次に、ピックアップされたURLのチェックボックスにチェックを入れOKをクリックしたら、作業対象の欄に「http://download.eclipse.org/technology/subversive/0.7/update-site/」と入力する。一覧にパッケージが表示されたら、全部選択しインストールする。</p>
<h4>egit</h4>
<p>やっぱりGit環境も必要なので以下のサイトを使用してプラグインをインストールする。</p>
<p>http://download.eclipse.org/egit/updates/</p>
<h4>拡張フォーマット</h4>
<p>より細かいフォーマット設定をPDTで行うためのプラグイン。<a href="http://sourceforge.jp/projects/pdt-tools/releases/?package_id=8764">sourceforgeからダウンロード</a>してインストールする。</p>
<h4>Quantum Database Utility</h4>
<p>データベースを操作するプラグイン。phpMyAdminがあるから必須というわけでもない。</p>
<p>まず、<a href="http://sourceforge.net/projects/quantum/files/quantum-plugin/">Quantum Database Utilityのサイト</a>からダウンロードし、解凍したファイルをeclipseのプラグインディレクトリに配置する。</p>
<p>次に、<a href="http://dev.mysql.com/downloads/connector/j/">MySQL JDBC（MySQLのJava用ドライバ）が必要なので、サイトからダウンロード</a>・解凍したファイルの中の「mysql-connector-java-5.x.xx-bin.jar」を「C:\xampp\mysql\bin」に配置する。</p>
<h4>MakeGood</h4>
<p>PHPでテスト駆動開発をしたいのでインストールする。</p>
<p>ます、作業対象の欄に「http://eclipse.piece-framework.com/」と入力する。一覧にパッケージが表示されたら、「MakeGood」を選択しインストールする。</p>
<section class="kakomi">
<h5>MakeGoodでのユニットテスト</h5>
<p>Eclipse PDT 上でユニットテストを実行するためのテストランナーで、PHPUnitにも対応している。</p>
<h5>ユニットテストのコード例</h5>
<p>PHPUnitでは、例えば以下のようなテストコードでユニットテストをすることができる。今回の開発環境の構築には直接関係しないがなんとなく掲載しておく。</p>
<pre class="brush: php;">
require_once 'PHPUnit/Framework.php';
require_once 'Shain.php';

class ShainTest extends PHPUnit_Framework_TestCase
{
    /**
     * testGetName
     * 社員の名前でインスタンス化し
     * getNameしたときに正しく名前を返すかチェックする
     */
    public function testGetName()
    {
        $shain = new Shain('yamada');
        $this-&gt;assertEquals('yamada', $shain-&gt;getName());
        $shain = new Shain('tanaka');
        $this-&gt;assertEquals('tanaka', $shain-&gt;getName());
    }
}
</pre>
<p>上述のテストコードは以下のコードに対応する。</p>
<pre class="brush: php;">
class Shain
{
    private $_name;

    /**
     * __construct
     * @param string $name
     */
    public function __construct($name)
    {
        $this-&gt;_name = $name;
    }

    /**
     * getName
     * @return string
     */
    public function getName()
    {
        return $this-&gt;_name;
    }
}
</pre>
<p>ちなみにテストコードのコメントは丁寧に細かく書くこと。</p>
</section>
<h3>■設定</h3>
<p>「ウィンドウ ＞ 設定」をクリックする。</p>
<h4>テキスト・エディター</h4>
<p>「一般 ＞ エディター ＞ テキスト・エディター」で「行番号の表示」と「空白文字の表示」にチェックを入れる。</p>
<h4>文字コード</h4>
<p>「一般 ＞ ワークスペース ＞ テキスト・ファイルのエンコード」で「その他 ＞ UTF-8」を選択する。</p>
<h4>タブ</h4>
<p>「PHP ＞ コード・スタイル ＞ フォーマッター」でタブポリシーをスペースに、サイズを4にする。</p>
<h4>PHP Executables</h4>
<p>「PHP ＞ PHP 実行可能ファイル」で「追加」をクリックし、以下のように設定する。</p>
<dl>
<dt>名前</dt>
<dd>PHP_5.3.1</dd>
<dt>実行可能ファイル・パス</dt>
<dd>C:\xampp\php\php.exe</dd>
<dd>/Applications/XAMPP/xamppfiles/bin/php</dd>
<dt>PHP ini ファイル</dt>
<dd>C:\xampp\php\php.ini</dd>
<dd>/Applications/XAMPP/etc/php.ini</dd>
<dt>SAPI Type</dt>
<dd>CLI</dd>
<dt>PHP デバッガー</dt>
<dd>XDebug</dd>
</dl>
<h4>PHP インタープリター</h4>
<p>「PHP ＞ インタープリター」でデフォルトを設定する。新しくプロジェクトを作るときにも設定できるのでプロジェクトごとにバージョンが違ったりしている場合はそちらでも設定する。</p>
<h4>PHP マニュアル</h4>
<p>「PHP ＞ PHP マニュアル」で「新規」をクリックし、以下のように日本語マニュアルを追加する。</p>
<dl>
<dt>名前</dt>
<dd>PHP.net/ja</dd>
<dt>リモートサイト</dt>
<dd>http://www.php.net/manual/ja</dd>
</dl>
<p>追加したら選択状態で「デフォルト」をクリックする。</p>
<h4>デバッグ</h4>
<p>「PHP ＞ デバッグ」で以下のように設定する。</p>
<dl>
<dt>PHP デバッガー</dt>
<dd>XDebug</dd>
<dt>サーバー</dt>
<dd>Default PHP Web Server</dd>
<dt>PHP 実行可能ファイル</dt>
<dd>PHP_5.3.1</dd>
</dl>
<h4>PHPライブラリー</h4>
<p>「PHP ＞ PHPライブラリー」で「新規」をクリックし、「PEAR」と入力し「Add to enviironment」にチェックを入れた後、「外部フォルダーの追加」をクリックし「C:\xampp\php\PEAR」を指定する。</p>
<p>但し、このままでは「MakeGood」でインクルードしてくれないので、プロジェクトで右クリックし「プロパティ ＞ PHPインクルード・パス ＞ ライブラリー ＞ ライブラリーの追加」で上述の「PEAR」を追加し、パスを通す必要がある。</p>
<h4>アウトラインビュー</h4>
<p>メソッドの戻り型を表示したいので、「PHP ＞ 外観」の「メソッド戻り型の表示」にチェックを入れる。</p>
<h3>■表示</h3>
<h4>タスク</h4>
<p>//TODOなどのコメントを一覧表示してくれるプロジェクトの味方。</p>
<p>「ウィンドウ ＞ ビュー ＞ タスク」をクリックして表示させておく。</p>
<h4>テンプレートファイル</h4>
<p>CakePHPの.ctpファイルなどPHPとして表示して欲しい場合は以下のように設定する。</p>
<ul>
<li>「一般 ＞ コンテンツタイプ」の「PHP Content Type」に*.ctpを追加する。</li>
<li>「一般 ＞ エディタ ＞ File Associations」の「PHP Content Type」に*.ctpを追加しPHP Editorをデフォルトに指定する。</li>
</ul>
<p>再起動すると.ctpファイルがPHPと同じようにカラーリングされる。</p>
<h3>■XDebug</h3>
<p>xamppに含まれているXDebugを<a href="/?p=3379">前回の記事を参考</a>にして有効にすればPHPのステップ実行も可能になる。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2011/01/01/eclipse%e3%81%a7php%e3%81%ae%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eclipseで改行の可視化をしない</title>
		<link>http://blog.justoneplanet.info/2010/09/12/eclipse%e3%81%a7%e6%94%b9%e8%a1%8c%e3%81%ae%e5%8f%af%e8%a6%96%e5%8c%96%e3%82%92%e3%81%97%e3%81%aa%e3%81%84/</link>
		<comments>http://blog.justoneplanet.info/2010/09/12/eclipse%e3%81%a7%e6%94%b9%e8%a1%8c%e3%81%ae%e5%8f%af%e8%a6%96%e5%8c%96%e3%82%92%e3%81%97%e3%81%aa%e3%81%84/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 12:57:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IDE]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3042</guid>
		<description><![CDATA[ウィンドウ＞設定＞一般＞JStyleで「改行」のチェックを外す。]]></description>
			<content:encoded><![CDATA[<p>ウィンドウ＞設定＞一般＞JStyleで「改行」のチェックを外す。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2010/09/12/eclipse%e3%81%a7%e6%94%b9%e8%a1%8c%e3%81%ae%e5%8f%af%e8%a6%96%e5%8c%96%e3%82%92%e3%81%97%e3%81%aa%e3%81%84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eclipseでコードヒントを出す</title>
		<link>http://blog.justoneplanet.info/2010/09/12/eclipse%e3%81%a7%e3%82%b3%e3%83%bc%e3%83%89%e3%83%92%e3%83%b3%e3%83%88%e3%82%92%e5%87%ba%e3%81%99/</link>
		<comments>http://blog.justoneplanet.info/2010/09/12/eclipse%e3%81%a7%e3%82%b3%e3%83%bc%e3%83%89%e3%83%92%e3%83%b3%e3%83%88%e3%82%92%e5%87%ba%e3%81%99/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 11:41:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IDE]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3040</guid>
		<description><![CDATA[ctrl + space]]></description>
			<content:encoded><![CDATA[<p>ctrl + space</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2010/09/12/eclipse%e3%81%a7%e3%82%b3%e3%83%bc%e3%83%89%e3%83%92%e3%83%b3%e3%83%88%e3%82%92%e5%87%ba%e3%81%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eclipseでJSP・Servletの開発環境を構築する</title>
		<link>http://blog.justoneplanet.info/2010/01/19/eclipse%e3%81%a7jsp%e3%83%bbservlet%e3%81%ae%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b/</link>
		<comments>http://blog.justoneplanet.info/2010/01/19/eclipse%e3%81%a7jsp%e3%83%bbservlet%e3%81%ae%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 12:16:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3700</guid>
		<description><![CDATA[■ダウンロード eclipse Eclipse DownloadsからEclipse IDE for Java EE Developersを選択しダウンロードする。 日本語化については、以前の記事を参考にセットアップする [...]]]></description>
			<content:encoded><![CDATA[<h3>■ダウンロード</h3>
<h4>eclipse</h4>
<p><a href="http://www.eclipse.org/downloads/">Eclipse Downloads</a>から<a href="http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr1">Eclipse IDE for Java EE Developers</a>を選択しダウンロードする。</p>
<p>日本語化については、<a href="/?p=3548">以前の記事を参考</a>にセットアップする。</p>
<h4>サーバー</h4>
<p>Apache+MySQLについては<a href="http://www.apachefriends.org/jp/xampp-windows.html">xampp</a>をインストールして使用する。</p>
<p>但し、MySQLにはJavaから接続することになるので、<a href="/?p=3548">以前の記事を参考</a>にしてMySQL用JDBCドライバをインストールする。</p>
<section class="kakomi">
<h5>xamppのアドオンのTomcatについて</h5>
<p>eclipseとの連携で失敗するので、<a href="http://www.apachefriends.org/jp/xampp-windows.html">xamppのアドオン</a>版のTomcatは使用しないこと。</p>
</section>
<h4>JRE</h4>
<p>eclipseの実行に必要になるので、<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">ダウンロード</a>してインストールする。</p>
<h4>JDK</h4>
<p><a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u23-oth-JPR@CDS-CDS_Developer">Java SE Development Kit 6u23</a>をダウンロードし、インストールする。</p>
<p>インストールすると環境変数の設定が必要になる。Windows 7の場合、「スタート ＞ コントロールパネル ＞ システム ＞ システムの詳細設定 ＞ 詳細設定 ＞ 環境変数」で、「システム環境変数」の変数Pathに「;C:\Program Files\Java\jdk1.6.0_23\bin」とJDKがインストールされたパスを<strong>追記</strong>する。</p>
<h3>■設定</h3>
<p>「ウィンドウ ＞ 設定」をクリックする。</p>
<h4>文字コード</h4>
<p>「一般 ＞ ワークスペース ＞ テキスト・ファイルのエンコード」で「その他 ＞ UTF-8」を選択する。</p>
<p>さらに、「Web ＞ JSPファイル ＞ エンコード」で「UTF-8」を選択する。</p>
<h4>Tomcat</h4>
<p>「サーバー ＞ ランタイム環境 ＞ 追加」で、「Tomcat6」を追加し「次に」をクリックした後、「ダウンロードしてインストール」をクリックし、「C:\tomcat6」にインストールする。インストールが終わったら、以下のように入力する。</p>
<dl>
<dt>名前</dt>
<dd>Apache Tomcat v6.0</dd>
<dt>Tomcatインストール・ディレクトリ</dt>
<dd>C:\tomcat6</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2010/01/19/eclipse%e3%81%a7jsp%e3%83%bbservlet%e3%81%ae%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse3.4でインデントにスペースを使用する</title>
		<link>http://blog.justoneplanet.info/2009/07/28/eclipse3-4%e3%81%a7%e3%82%a4%e3%83%b3%e3%83%87%e3%83%b3%e3%83%88%e3%81%ab%e3%82%b9%e3%83%9a%e3%83%bc%e3%82%b9%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b/</link>
		<comments>http://blog.justoneplanet.info/2009/07/28/eclipse3-4%e3%81%a7%e3%82%a4%e3%83%b3%e3%83%87%e3%83%b3%e3%83%88%e3%81%ab%e3%82%b9%e3%83%9a%e3%83%bc%e3%82%b9%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:13:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IDE]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=1635</guid>
		<description><![CDATA[まず、「ウィンドウ &#62; 設定」で設定パネルを開く。 ■テキスト・エディタの設定 「一般 &#62; エディター &#62; テキストエディター」の「タブでスペースを挿入」にチェックを入れる。 ■フォーマッターの設定 「 [...]]]></description>
			<content:encoded><![CDATA[<p>まず、「ウィンドウ &gt; 設定」で設定パネルを開く。</p>
<h3>■テキスト・エディタの設定</h3>
<p>「一般 &gt; エディター &gt; テキストエディター」の「<strong>タブでスペースを挿入</strong>」にチェックを入れる。</p>
<p class="ta-center"><a href="http://blog.justoneplanet.info/wp-content/uploads/2009/07/capture01.png" rel="lightbox[1635]"><img src="http://blog.justoneplanet.info/wp-content/uploads/2009/07/capture01-300x216.png" alt="テキスト・エディタの設定" title="capture01" width="300" height="216" /></a></p>
<h3>■フォーマッターの設定</h3>
<p>「Java &gt; コードスタイル &gt; フォーマッタ―」の「編集」をクリックすると、画像の様なウィンドウが出現するので「タブポリシー」を「<strong>スペースのみ</strong>」にする。この過程でデフォルトの設定は上書きできないと言われるので、適当な名前を付けて設定を保存する。</p>
<p class="ta-center"><a href="http://blog.justoneplanet.info/wp-content/uploads/2009/07/capture02.png" rel="lightbox[1635]"><img src="http://blog.justoneplanet.info/wp-content/uploads/2009/07/capture02-300x156.png" alt="フォーマッターの設定" title="capture02" width="300" height="156" /></a></p>
<p>設定箇所は多いが好みのスタイルに勝手になるように調整すると俄然やる気があがる。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2009/07/28/eclipse3-4%e3%81%a7%e3%82%a4%e3%83%b3%e3%83%87%e3%83%b3%e3%83%88%e3%81%ab%e3%82%b9%e3%83%9a%e3%83%bc%e3%82%b9%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaverのショートカットキー</title>
		<link>http://blog.justoneplanet.info/2009/03/31/dreamweaver%e3%81%ae%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%ab%e3%83%83%e3%83%88%e3%82%ad%e3%83%bc/</link>
		<comments>http://blog.justoneplanet.info/2009/03/31/dreamweaver%e3%81%ae%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%ab%e3%83%83%e3%83%88%e3%82%ad%e3%83%bc/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 06:20:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=423</guid>
		<description><![CDATA[■pタグで選択テキストを括るには ctrl + shift + [p] ■h1～h6で選択テキストを括るには ctrl + [1～6] 作業がガシガシ速くなる！ ■ショートカットキーをカスタマイズしたいときは ウィンドウ [...]]]></description>
			<content:encoded><![CDATA[<h3>■pタグで選択テキストを括るには</h3>
<p>ctrl + shift + [p]</p>
<h3>■h1～h6で選択テキストを括るには</h3>
<p>ctrl + [1～6]</p>
<p>作業がガシガシ速くなる！</p>
<h3>■ショートカットキーをカスタマイズしたいときは</h3>
<p><a href="http://blog.justoneplanet.info/wp-content/uploads/2009/03/cap1.png" rel="lightbox[423]"><img src="http://blog.justoneplanet.info/wp-content/uploads/2009/03/cap1-300x249.png" alt="スニペットの設定画面" title="スニペットの設定画面" width="300" height="249" class="alignnone size-medium wp-image-920" /></a>
<ol>
<li>ウィンドウ　＞　スニペット　＞　</li>
<li>右側に小窓が出るので、スニペットのフォルダの小窓で右クリック</li>
<li>「新規スニペット」を選択</li>
<li>上のような画面が出るので、スニペットに分かりやすい「名前」をつける</li>
<li>ラジオボタンで「選択範囲を囲む」or「ブロックの挿入」を選択する</li>
</ol>
<h4>ショートカットキーの設定</h4>
<p><a href="http://blog.justoneplanet.info/wp-content/uploads/2009/03/cap021.png" rel="lightbox[423]"><img src="http://blog.justoneplanet.info/wp-content/uploads/2009/03/cap021-300x243.png" alt="ショートカットキーの設定画面" title="ショートカットキーの設定画面" width="300" height="243" class="alignnone size-medium wp-image-923" /></a></p>
<ol>
<li>ウィンドウ　＞　スニペット　＞　</li>
<li>右側に小窓が出るので、スニペットのフォルダの小窓で右クリック</li>
<li>「キーボードショートカットの編集」を選択</li>
<li>そうすると上のような画面が表示される</li>
<li>右側のボタンの一番左に「セットの複製」をクリック（元の設定に戻せるようにするため）</li>
<li>「コマンド」欄では「スニペット」を選択</li>
<li>上述で作った「新規スニペット」を選択</li>
<li>「キー」の欄をクリックし、（希望する）任意の（ショートカット）キーをキーボードでタイプ</li>
<li>既存のショートカットキーと重複してなければ、そのまま「OK」を押す</li>
<li>設定完了</li>
</ol>
<p>※CS3オリジナルのもあるかもしれません。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2009/03/31/dreamweaver%e3%81%ae%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%ab%e3%83%83%e3%83%88%e3%82%ad%e3%83%bc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver MX（初期設定）で.htmの拡張子を.htmlに変更しよう</title>
		<link>http://blog.justoneplanet.info/2007/08/25/htm%e3%81%ae%e6%8b%a1%e5%bc%b5%e5%ad%90%ef%bc%88%e5%88%9d%e6%9c%9f%e8%a8%ad%e5%ae%9a%ef%bc%89%e3%82%92html%e3%81%ab%e5%a4%89%e6%9b%b4%e3%81%97%e3%82%88%e3%81%86/</link>
		<comments>http://blog.justoneplanet.info/2007/08/25/htm%e3%81%ae%e6%8b%a1%e5%bc%b5%e5%ad%90%ef%bc%88%e5%88%9d%e6%9c%9f%e8%a8%ad%e5%ae%9a%ef%bc%89%e3%82%92html%e3%81%ab%e5%a4%89%e6%9b%b4%e3%81%97%e3%82%88%e3%81%86/#comments</comments>
		<pubDate>Fri, 24 Aug 2007 16:15:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://justoneplanet.sakura.ne.jp/wordpress/2007/08/25/htm%e3%81%ae%e6%8b%a1%e5%bc%b5%e5%ad%90%ef%bc%88%e5%88%9d%e6%9c%9f%e8%a8%ad%e5%ae%9a%ef%bc%89%e3%82%92html%e3%81%ab%e5%a4%89%e6%9b%b4%e3%81%97%e3%82%88%e3%81%86/</guid>
		<description><![CDATA[■方法 Cドライブ＞Program Files＞Macromedia＞Dreamweaver MX＞Configuration＞DocumentTypes＞MMDocumentTypes.xmlを書き換える ただし上記の [...]]]></description>
			<content:encoded><![CDATA[<h4>■方法</h4>
<ol>
<li>Cドライブ＞Program Files＞Macromedia＞Dreamweaver MX＞Configuration＞DocumentTypes＞MMDocumentTypes.xmlを書き換える</li>
<li>ただし上記のディレクトリはWindows XPの場合であり、他のOSでは若干異なる可能性もあるのでご了承。。。</li>
</ol>
<h5>3行目を</h5>
<pre class="brush: xml;">&lt;documenttype id=&quot;HTML&quot; internaltype=&quot;HTML&quot; winfileextension=&quot;html,htm,shtml,shtm,stm,lasso,xhtml&quot; macfileextension=&quot;html,htm,shtml,shtm,lasso,xhtml&quot; file=&quot;Default.html&quot; writebyteordermark=&quot;false&quot;&gt;</pre>
<p>と書き換える。要は、「htmの前にhtmlを配置し並び替える」ということ</p>
<h4>■おまけ</h4>
<p>初期設定がhtmってどういうこと！？しかもアプリケーションの環境設定で変えられないって欠陥じゃね！？とかツッコミいれてみたり。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2007/08/25/htm%e3%81%ae%e6%8b%a1%e5%bc%b5%e5%ad%90%ef%bc%88%e5%88%9d%e6%9c%9f%e8%a8%ad%e5%ae%9a%ef%bc%89%e3%82%92html%e3%81%ab%e5%a4%89%e6%9b%b4%e3%81%97%e3%82%88%e3%81%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

