<?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>うえちょこ＠ぼろぐ&#187; mac入門記</title>
	<atom:link href="http://labs.uechoco.com/blog/category/apple/mac%e5%85%a5%e9%96%80%e8%a8%98/feed" rel="self" type="application/rss+xml" />
	<link>http://labs.uechoco.com/blog</link>
	<description>php * symfony * linux * mac * Processing * 周辺技術。キイロイトリ好きプログラマー。</description>
	<lastBuildDate>Sun, 05 Feb 2012 07:11:24 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>[Mac]MySQLのmy.cnfのデフォルト設定ファイル</title>
		<link>http://labs.uechoco.com/blog/2011/08/mac-homebrew-mysql-my-cnf-default-settings-file.html</link>
		<comments>http://labs.uechoco.com/blog/2011/08/mac-homebrew-mysql-my-cnf-default-settings-file.html#comments</comments>
		<pubDate>Wed, 10 Aug 2011 15:37:58 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1688</guid>
		<description><![CDATA[mysqlの設定ファルはたいてい/etc/my.cnfに既に用意されていて、それを編集しているかと思いますが、 実は動作環境のメモリ容量に応じて適切な初期値が定義されたデフォルト設定ファイルがあります。 my.cnfをな [...]]]></description>
			<content:encoded><![CDATA[<p>mysqlの設定ファルはたいてい/etc/my.cnfに既に用意されていて、それを編集しているかと思いますが、<br />
実は動作環境のメモリ容量に応じて適切な初期値が定義されたデフォルト設定ファイルがあります。<br />
my.cnfをなくしまった時や、環境に応じたいい感じの初期設定が欲しい場合は有用です。</p>
<p>例えば私のMacBook Airでは、brewコマンドでmysqlをインストールしたので、<br />
以下のディレクトリにデフォルト設定ファイルがあります。</p>
<blockquote><p>/usr/local/Cellar/mysql/5.5.14/support-files/</p></blockquote>
<p>一般的なLinuxでは、以下にあるかもしれません。</p>
<blockquote><p>/usr/local/mysql/support-files</p></blockquote>
<p>my-innodb-heavy-4G.cnf, my-huge.cnf, my-large.cnf, my-medium.cnf, my-small.cnfなどがあります。</p>
<p>以下の記事が参考になります。</p>
<ul>
<li><a href="http://d.hatena.ne.jp/liquidfunc/20100914/1284475647">my.cnfのデフォルト設定ファイル &#8211; Liquidfuncの日記</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2011/08/mac-homebrew-mysql-my-cnf-default-settings-file.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Mac]Winで文字化けしない、パスワード付きも可能なzip圧縮「MacWinZipper」</title>
		<link>http://labs.uechoco.com/blog/2010/07/macwin-garbled-safe-password-zip-macwinzipper.html</link>
		<comments>http://labs.uechoco.com/blog/2010/07/macwin-garbled-safe-password-zip-macwinzipper.html#comments</comments>
		<pubDate>Wed, 28 Jul 2010 15:06:06 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[圧縮ソフト]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1368</guid>
		<description><![CDATA[Macを使っていると、Windowsユーザの方から「zipファイル解凍したらファイル名が文字化けしてるんだけど？」って言われたこと有りませんか？仕事の取引先などから言われてしまうとちょっと焦ってしまいますよね。Macでは [...]]]></description>
			<content:encoded><![CDATA[<p>Macを使っていると、Windowsユーザの方から「<span style="color: #ff0000;"><strong>zipファイル解凍したらファイル名が文字化けしてるんだけど？</strong></span>」って言われたこと有りませんか？仕事の取引先などから言われてしまうとちょっと焦ってしまいますよね。MacではFinderの右クリックメニューから簡単に圧縮が可能なのですが、ファイル名に日本語が含まれているものを同様に圧縮してしまうと、Windowsで解凍したときに文字化けしてしまいます。（技術的な詳しい話をするならばGoogleで「UTF-8 MAC」と検索すると関連話題が出てくるかと思います。）</p>
<p>Windowsユーザに迷惑をかけずに、でも簡単に圧縮したい、そういう要望をかなえてくれるのが<span style="color: #ff0000;"><strong>MacWinZipper</strong></span>というフリーソフトです。<a href="http://www.apple.com/jp/downloads/macosx/utilities/macwinzipper.html">MacWinZipperはアップルのソフトウェアダウンロードサイトで、スタッフのお勧め印がついている</a>ソフトです。</p>
<p>使い方は簡単で、MacWinZipperのアイコンに、圧縮したいファイルをドラッグドロップするだけ。圧縮が完了するとGrowlで通知してくれる機能もあります。また、個人的にありがたかったのが、<span style="color: #ff0000;"><strong>パスワード付きzipも簡単に作れる</strong></span>ところです。</p>
<p>しかし、MacWinZipperのアイコンにドラッグドロップするよりもさらに簡単に圧縮する環境を作ることもできます。Autometerという様々な操作を自動化するツールで<span style="color: #ff0000;"><strong>右クリックメニューから圧縮できる</strong></span>ようにしてしまいます。</p>
<p><img class="aligncenter size-full wp-image-1369" title="MacWinZipper_Finder_Menu" src="http://labs.uechoco.com/blog/wp-content/uploads/MacWinZipper_Finder_Menu.png" alt="" width="427" height="405" /></p>
<p>Automaterの設定方法は<a href="http://ameblo.jp/ivy-house/entry-10442488271.html">Macでウィンドーズ対応の圧縮ファイルを作る｜IVYのおもちゃ箱</a>を参考にしました。あんまり慣れていない人だと複雑かなって思うかもしれませんが、１度設定してしまえばずっと使えるので、とっても便利です。</p>
<p>是非お試しあれー</p>
<p>紹介記事：</p>
<ul>
<li><a href="http://www.apple.com/jp/downloads/macosx/utilities/macwinzipper.html">アップル &#8211; ダウンロード &#8211; ユーティリティ &#8211; MacWinZipper</a></li>
<li><a href="http://veadardiary.blog29.fc2.com/blog-entry-2671.html">Windowsユーザに渡しても文字化けしないZIPを作成『MacWinZipper』 | Macの手書き説明書</a></li>
<li><a href="http://pc.nikkeibp.co.jp/article/column/20090828/1018171/">MacWinZipper</a></li>
</ul>
<p>Finderの右クリックメニューへの登録の仕方(Automater)</p>
<ul>
<li><a href="http://ameblo.jp/ivy-house/entry-10442488271.html">Macでウィンドーズ対応の圧縮ファイルを作る｜IVYのおもちゃ箱</a></li>
<li><a href="http://taketiman.cocolog-nifty.com/blog/2010/03/maczipwindows-a.html">Macで作ったzipファイルをWindowsユーザーへ: ペンギン村の住人</a></li>
<li><a href="https://discussionsjapan.apple.com/message/100528839">Apple Discussions &#8211; Japan: Automator：ファイルを「XXで開&#8230;</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2010/07/macwin-garbled-safe-password-zip-macwinzipper.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Eclipse]インストール済みのJREが復活した</title>
		<link>http://labs.uechoco.com/blog/2010/03/eclipse-installed-jres-are-restored.html</link>
		<comments>http://labs.uechoco.com/blog/2010/03/eclipse-installed-jres-are-restored.html#comments</comments>
		<pubDate>Sun, 28 Mar 2010 01:44:00 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OpenSocial]]></category>
		<category><![CDATA[OSDE]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1350</guid>
		<description><![CDATA[Mac OS X 10.6(Snow Leopard)にしたり、Eclipse 3.5(Galileo)にしたり、していると、いつの間にかOSDE(OpenSocial Environment Development)が [...]]]></description>
			<content:encoded><![CDATA[<p>Mac OS X 10.6(Snow Leopard)にしたり、Eclipse 3.5(Galileo)にしたり、していると、いつの間にかOSDE(OpenSocial Environment Development)が起動できなくなってた。どうやら、JREやJDKが見つからないと言って、起動してくれないらしい。ちなみに<strong>EclipseはPDTベースにPleiadesで日本語化を施したもの</strong>。</p>
<p>関連エラー：</p>
<ul>
<li>選択された JRE は現在の準拠レベル 1.4 をサポートしていません</li>
<li>指定された JRE インストールが存在しません</li>
<li>The specified JRE installation does not exist</li>
<li>標準 VM は MacOS ではサポートされていません。</li>
<li>Standard VM not supported on MacOS</li>
</ul>
<p>たしかに、設定メニューからインストール済みのJREを見てみると、何も無い。そして、追加仕様としても、追加できない。OSDEやMac のJavaやらいろいろ疑ってググったが、中々出てこない。英語のサイトを見ていたら、新規ソフトウェアのインストールでいくつかインストールしたら改善したって書き込みを見たので、<span style="color: #ff0000;">「<strong>Eclipse Java 開発ツール</strong>」とか「<strong>環境記述 JavaSE-1.6</strong>」とか、それっぽいものを同時にインストールしてみたところ、インストール済みのJREが復活しました</span>。たぶん前者が影響しているかと思います。</p>
<p>参考：</p>
<ul>
<li><a href="http://stackoverflow.com/questions/1736993/eclipse-mac-os-default-jre-missing/2270829#2270829">Eclipse &#8211; Mac Os Default JRE missing &#8211; Stack Overflow</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2010/03/eclipse-installed-jres-are-restored.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[mac]Mac版Officeを安全にアンインストールする</title>
		<link>http://labs.uechoco.com/blog/2010/02/mac-mac-office-safety-uninstall.html</link>
		<comments>http://labs.uechoco.com/blog/2010/02/mac-mac-office-safety-uninstall.html#comments</comments>
		<pubDate>Sun, 14 Feb 2010 12:40:03 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Office]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1340</guid>
		<description><![CDATA[Mac版のOfficeは今まで知人のお古を借りていたのですが、先日発売されたOffice 2008 for Mac Business Edition アカデミックが欲しくなって買いましたので、以前のバージョンのアンインス [...]]]></description>
			<content:encoded><![CDATA[<p>Mac版のOfficeは今まで知人のお古を借りていたのですが、先日発売された<a href="http://www.amazon.co.jp/gp/product/B0031Y7H94?ie=UTF8&amp;tag=uechocolabsbl-22&amp;linkCode=as2&amp;camp=247&amp;creative=7399&amp;creativeASIN=B0031Y7H94">Office 2008 for Mac Business Edition アカデミック</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.jp/e/ir?t=uechocolabsbl-22&amp;l=as2&amp;o=9&amp;a=B0031Y7H94" border="0" alt="" width="1" height="1" />が欲しくなって買いましたので、以前のバージョンのアンインストールを決行しました。</p>
<p>でアンインストール方法なのですが、Mac版のOfficeには、<strong>Remove Office.app</strong>というアプリケーションが用意されており、そのアプリケーションでMac内のアンインストール可能なOffice製品を抽出し、選択してアンインストールができるようです。</p>
<p>そして、Microsoftにもアンインストールのドキュメントがあります。<br />
<a href="http://support.microsoft.com/kb/950344/ja">Remove Office ツールを使用して Office 2008 for Mac を削除する方法</a></p>
<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?o=9&amp;p=8&amp;l=as1&amp;asins=B0031Y7H94&amp;t=uechocolabsbl-22&amp;IS2=1&amp;fc1=000000&amp;lc1=0000FF&amp;bg1=FFFFFF&amp;lt1=_blank&amp;bc1=000000&amp;nou=1&amp;f=ifr" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2010/02/mac-mac-office-safety-uninstall.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[mac]WindowsでMac用外部HDD(GPT保護パーティション)を初期化する</title>
		<link>http://labs.uechoco.com/blog/2009/12/mac-windows-extended-hdd-initialization.html</link>
		<comments>http://labs.uechoco.com/blog/2009/12/mac-windows-extended-hdd-initialization.html#comments</comments>
		<pubDate>Thu, 31 Dec 2009 07:37:36 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[diskpart]]></category>
		<category><![CDATA[HDD]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1314</guid>
		<description><![CDATA[MacのTimeMachineのバックアップに使用していたHDDを、Windows XP用のバックアップHDDに変えようと思って、Windowsにつなげて、ディスクの管理ツールでフォーマットしようとしたところ、GPT保護 [...]]]></description>
			<content:encoded><![CDATA[<p>MacのTimeMachineのバックアップに使用していたHDDを、Windows XP用のバックアップHDDに変えようと思って、Windowsにつなげて、ディスクの管理ツールでフォーマットしようとしたところ、<strong>GPT保護パーティション</strong>という表示になっていて、何も操作を受け付けないようになっていました。</p>
<p><a href="http://labs.uechoco.com/blog/wp-content/uploads/gpt_protected_partition.jpg"><img class="alignnone size-medium wp-image-1315" title="gpt_protected_partition" src="http://labs.uechoco.com/blog/wp-content/uploads/gpt_protected_partition-227x240.jpg" alt="" width="227" height="240" /></a></p>
<p>以下の2つのサイトを参考に、Windows XPのコマンドラインアプリケーションの<strong>diskpartツール</strong>を使って、Windows XPで使えるHDDとして初期化してみました。</p>
<ul>
<li><a href="http://d.hatena.ne.jp/tera-p/20071111">WindowsからのGPT保護パーティションの削除 - Procrastination Log</a></li>
<li><a href="http://support.microsoft.com/kb/300415/ja">Diskpart コマンドライン ユーティリティについて</a></li>
</ul>
<p>以下がdiskpartツールのログです。</p>
<div class="igBar"><span id="ltext-2"><a href="#" onclick="javascript:showCodeTxt('text-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-2">
<div class="text" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Microsoft Windows XP [Version 5.1.2600]</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">(C) Copyright 1985-2001 Microsoft Corp.</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">C:\Documents and Settings\hogehoge&amp;gt;diskpart</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Microsoft DiskPart version 5.1.3565</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Copyright (C) 1999-2003 Microsoft Corporation.</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">コンピュータ: hogehogepc</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DISKPART&amp;gt; list disk</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Disk ### &nbsp;Status &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Size &nbsp; &nbsp; Free &nbsp; &nbsp; Dyn &nbsp;Gpt</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">-------- &nbsp;--------------- &nbsp;------- &nbsp;------- &nbsp;--- &nbsp;---</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Disk 0 &nbsp; &nbsp;オンライン &nbsp; &nbsp; &nbsp; &nbsp;466 GB &nbsp; &nbsp; &nbsp;0 B</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Disk 1 &nbsp; &nbsp;オンライン &nbsp; &nbsp; &nbsp; &nbsp;298 GB &nbsp; &nbsp; &nbsp;0 B</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Disk 2 &nbsp; &nbsp;オンライン &nbsp; &nbsp; &nbsp; &nbsp;298 GB &nbsp; &nbsp; &nbsp;0 B</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DISKPART&amp;gt; select disk=1</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">ディスク 1 が現在選択されているディスクです。</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DISKPART&amp;gt; detail disk</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Hitachi HDT725032VLA360</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">ディスク ID: 02AB02AB</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">種類 &nbsp; &nbsp; &nbsp; : IDE</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">バス &nbsp; &nbsp; &nbsp; : 3</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">ターゲット : 0</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">LUN ID &nbsp; &nbsp; : 0</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Volume ### &nbsp;Ltr Label &nbsp; &nbsp; &nbsp; &nbsp;Fs &nbsp; &nbsp;Type &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp; &nbsp; Status &nbsp; &nbsp; Info</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">---------- &nbsp;--- ----------- &nbsp;---- &nbsp;---------- &nbsp;------- &nbsp;--------- &nbsp;--------</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Volume 7 &nbsp; &nbsp;H &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NTFS &nbsp;Partition &nbsp; &nbsp;146 GB &nbsp;正常</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Volume 8 &nbsp; &nbsp;I &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NTFS &nbsp;Partition &nbsp; &nbsp; 83 GB &nbsp;正常</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Volume 9 &nbsp; &nbsp;J &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NTFS &nbsp;Partition &nbsp; &nbsp; 69 GB &nbsp;正常</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DISKPART&amp;gt; select disk=2</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">ディスク 2 が現在選択されているディスクです。</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DISKPART&amp;gt; detail disk</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Hitachi HDT725032VLA360 USB Device</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">ディスク ID: B07D94E2</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">種類 &nbsp; &nbsp; &nbsp; : USB</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">バス &nbsp; &nbsp; &nbsp; : 0</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">ターゲット : 0</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">LUN ID &nbsp; &nbsp; : 0</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">ボリュームがありません。</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DISKPART&amp;gt; clean</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DiskPart はディスクを正常にクリーンな状態にしました。</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DISKPART&amp;gt; exit</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">DiskPart を終了しています...</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>実行後、初期化が可能なディスクになっていました。</p>
<p><a href="http://labs.uechoco.com/blog/wp-content/uploads/gtp_unprotected_partition.jpg"><img class="alignnone size-medium wp-image-1316" title="gtp_unprotected_partition" src="http://labs.uechoco.com/blog/wp-content/uploads/gtp_unprotected_partition-228x239.jpg" alt="" width="228" height="239" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2009/12/mac-windows-extended-hdd-initialization.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Mac]MindManager 8 for Macは2010年1月末リリース予定</title>
		<link>http://labs.uechoco.com/blog/2009/12/mac-mindmanager-8-for-mac-will-release-at-january-2010.html</link>
		<comments>http://labs.uechoco.com/blog/2009/12/mac-mindmanager-8-for-mac-will-release-at-january-2010.html#comments</comments>
		<pubDate>Mon, 07 Dec 2009 04:55:17 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[MindManager]]></category>
		<category><![CDATA[MindMap]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1208</guid>
		<description><![CDATA[Windowsを使っていた頃からMindManager 7を使っていたのですが、Windowsの方は既にMindManager 8がでています。Macに移行してからもMindManager 7 for Macを購入して使 [...]]]></description>
			<content:encoded><![CDATA[<p>Windowsを使っていた頃からMindManager 7を使っていたのですが、Windowsの方は既にMindManager 8がでています。Macに移行してからもMindManager 7 for Macを購入して使っていたのですが、いよいよMac版のver 8もリリースされるようです。</p>
<p>リリース計画に遅れが出ていて、2009/11/19のMindjet Blogでは、「<span style="color: #ff0000;"><strong>2010年1月末にリリース予定</strong></span>」と発表しています。そして、現在<span style="color: #ff0000;"><strong>ベータ版の無料ダウンロード</strong></span>が行われています。</p>
<p><a href="http://blog.mindjet.com/2009/12/mindmanager-8-for-mac-beta-program">MindManager 8 for Mac Beta Program « The Mindjet Blog</a></p>
<p>早速ダウンロードしてみました。最初から多言語対応しているようで、日本語のインストール、日本語の画面で出迎えてくれます。早速起動してみました。Snow Leopardで動きますね。<br />
<a href="http://labs.uechoco.com/blog/wp-content/uploads/MindManager8ForMacBeta.png"><img class="alignnone size-medium wp-image-1209" title="MindManager8ForMacBeta" src="http://labs.uechoco.com/blog/wp-content/uploads/MindManager8ForMacBeta-360x206.png" alt="MindManager8ForMacBeta" width="360" height="206" /></a></p>
<p><strong>β版で確認できる新機能:</strong></p>
<ul>
<li>Mindjet共有機能なら、メールやFacebookやTwitterなどのソーシャルネットワークで、友人や同僚とマップをアップロード＆共有できます。</li>
<li>AppleのiCal, iChat, Address Book, MobileMe, iPhotoなどとの統合</li>
<li>MicrosoftのEntourage, SharePoint, and Office Liveなどとの統合</li>
<li>トピック内ハイパーリンク</li>
<li>ジェスチャーとMagic Mouseのサポート</li>
</ul>
<p><strong>近々登場:</strong></p>
<ul>
<li>Apple iWork Pages 08 and Microsoft Word 2008 for Macのインポート</li>
<li>Apple iWork Pages 08 and Microsoft Word 2008 for Macへのエクスポート</li>
<li>Apple iWork Keynote 08 and Microsoft PowerPoint 2008 for Macへのエクスポート</li>
</ul>
<p>MindManager 8 for Macの情報は、<a href="http://blog.mindjet.com/">Mindjet Blog</a>で随時更新されています。要チェックです。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2009/12/mac-mindmanager-8-for-mac-will-release-at-january-2010.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Mac][Eclipse]Pleiades入り本体のアップデートすると起動に失敗する時の対処法</title>
		<link>http://labs.uechoco.com/blog/2009/11/mac-eclipse-pleiades-update-then-failed-to-start.html</link>
		<comments>http://labs.uechoco.com/blog/2009/11/mac-eclipse-pleiades-update-then-failed-to-start.html#comments</comments>
		<pubDate>Sat, 07 Nov 2009 22:58:54 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[pleiades]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1181</guid>
		<description><![CDATA[[mac]eclipseインストールとpleiadesで日本語化というMacのEclipseにPleiadesを導入する記事を書いてるくらいなので、現在使用中のEclipse 3.5にもPleiadesが適用されています [...]]]></description>
			<content:encoded><![CDATA[<p><a href="../2009/04/mac-eclipse-install-pleiades-japanese.html">[mac]eclipseインストールとpleiadesで日本語化</a>というMacのEclipseにPleiadesを導入する記事を書いてるくらいなので、現在使用中のEclipse 3.5にもPleiadesが適用されていますが、たまにトラブルが起きたりします。今回のトラブルは、何らかの、特にElipseコア系のソフトウェアアップデートをした後に、Eclipseが起動しなくなってしまうという現象です。案の定、Pleiadesがトラブルを起こしているのですが、私の場合の現象と解決策を残しておきます。</p>
<p>まず、Eclipseソフトウェアアップデートした後、再起動を促されますので再起動をします。そうすると、スプラッシュ画像の直後にダイアログが出て、「起動失敗したから、logファイルにエラー状況書き込んどいたよ」的な英語が書かれています。Pleiadesの説明書にも書いてありますが、<strong>Eclipseソフトウェアアップデートの直後は、必ず１回だけEclipseを-cleanオプションで起動させなければいけません</strong>。ターミナルなどで/Application/Eclipseに移動し、<strong>eclipse -clean</strong>とコマンドを打つことでPleiadesがクリーン起動します。</p>
<p>通常なら、次回以降の起動はEclipse.appのダブルクリックで済むのですが、<strong>たまに前述の起動エラーが続くときがあります</strong>。その場合、クリーン起動なら正常起動できるのに、-cleanを付けない通常起動だとどうしても起動エラーになってしまいました。困っていたときに、Pleiadesのreadmeをくまなく読んでいると、<span style="color: #ff0000;"><strong>強制終了が続く場合、-clean起動の後、configuration/jp.sourceforge.mergedoc.pleiades/ ディレクトリを削除すると直るかも</strong></span>しれないと書いてありました。試しにやってみたら、本当に直りました。</p>
<p>というわけで、Pleiadesでトラブルが起きたら、readmeをくまなく見て、解決策を探してみるのがいいでしょう。起動エラーが続く場合は今回の記事のような対応が書かれています。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2009/11/mac-eclipse-pleiades-update-then-failed-to-start.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[mac]MacPortsでmysqlとphpmyadminをインストール</title>
		<link>http://labs.uechoco.com/blog/2009/10/mac-macports-mysql-phpmyadmin-instal.html</link>
		<comments>http://labs.uechoco.com/blog/2009/10/mac-macports-mysql-phpmyadmin-instal.html#comments</comments>
		<pubDate>Sun, 25 Oct 2009 11:23:15 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1170</guid>
		<description><![CDATA[MacPorts(port)でmysqlやらphpmyadminをインストールする備忘録 mysqlをportでインストール mysql_install_db5でmysqlの初期化 sudo /opt/local/sha [...]]]></description>
			<content:encoded><![CDATA[<p>MacPorts(port)でmysqlやらphpmyadminをインストールする備忘録</p>
<ul>
<li>mysqlをportでインストール</li>
<li>mysql_install_db5でmysqlの初期化</li>
<li>sudo /opt/local/share/mysql5/mysql/mysql.server start</li>
<li>mysqladminでrootパスワードを設定</li>
<li>mysqlを自動起動に登録</li>
<li>phpmyadminもportでインストール</li>
<li>VirtualHostなどでapacheにパスを通す</li>
<li>#2002エラーでログインできない場合はphpのmysqlのdefault_socketを確認</li>
</ul>
<p>参考：</p>
<ul>
<li><a href="http://d.hatena.ne.jp/akio0911/20080318/1205838594">MacPortsを使ってMacにMySQLをインストール - 拡張現実ライフ - モバイルデジタルサイネージ編</a></li>
<li><a href="http://www.alabulka.com/diary_002.php?sn=388">phpMyAdminにて #2002 - サーバーが反応しません</a></li>
<li><a href="http://www.syuhari.jp/blog/archives/562">MacPorts で phpMyAdmin をインストール | Sun Limited Mt.</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2009/10/mac-macports-mysql-phpmyadmin-instal.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[mac][php]MacPortsでphpをインストールする備忘録</title>
		<link>http://labs.uechoco.com/blog/2009/10/mac-php-macports-php5-3-0-install.html</link>
		<comments>http://labs.uechoco.com/blog/2009/10/mac-php-macports-php5-3-0-install.html#comments</comments>
		<pubDate>Sun, 25 Oct 2009 08:44:15 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1166</guid>
		<description><![CDATA[MacPortsでphp 5.3.0をインストールする備忘録 MacPortsのインストール ~/.bashrc(~/.bash_profile)でPATHとMANPATHにMacPorts(port)のパスを通す ph [...]]]></description>
			<content:encoded><![CDATA[<p>MacPortsでphp 5.3.0をインストールする備忘録</p>
<ul>
<li>MacPortsのインストール</li>
<li>~/.bashrc(~/.bash_profile)でPATHとMANPATHにMacPorts(port)のパスを通す</li>
<li>php5をインストール(+apache2) (variablesで確認する)</li>
<li>apache拡張ツール(apxs)でphp5を認識させる</li>
<li>httpd.confにInclude conf/extra/mod_php.confを追記</li>
<li>適当に拡張入れたり
<ul>
<li>sudo port install php5-exif php5-gd php5-http php5-iconv php5-imagick php5-mbstring php5-mcrypt php5-mysql php5-openssl php5-syck php5-xdebug</li>
</ul>
</li>
</ul>
<p>参考：</p>
<ul>
<li><a href="http://javaflavor.cocolog-nifty.com/blog/2007/07/macportsapache2_43a4.html">JavaFlavor Weblog: MacPortsでApache2+PHP5</a></li>
<li><a href="http://code.google.com/p/bear-project/wiki/setup_osx">setup_osx - bear-project - Project Hosting on Google Code</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2009/10/mac-php-macports-php5-3-0-install.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Mac]netatalkの.AppleDoubleでsymfonyコマンドがつまずく時がある</title>
		<link>http://labs.uechoco.com/blog/2009/09/macnetatalk%e3%81%ae-appledouble%e3%81%a7symfony%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%8c%e3%81%a4%e3%81%be%e3%81%9a%e3%81%8f%e6%99%82%e3%81%8c%e3%81%82%e3%82%8b.html</link>
		<comments>http://labs.uechoco.com/blog/2009/09/macnetatalk%e3%81%ae-appledouble%e3%81%a7symfony%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%8c%e3%81%a4%e3%81%be%e3%81%9a%e3%81%8f%e6%99%82%e3%81%8c%e3%81%82%e3%82%8b.html#comments</comments>
		<pubDate>Sat, 12 Sep 2009 17:03:07 +0000</pubDate>
		<dc:creator>uechoco</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac入門記]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[neta]]></category>
		<category><![CDATA[netatalk]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://labs.uechoco.com/blog/?p=1152</guid>
		<description><![CDATA[タイトルでもわかるとおり、非常に限定的な環境でsymfonyを使ったときにハマってしまったので、今後、私と同じようなマニアックな環境でハマってしまった人がググってくれることを期待して備忘録を残します。 さて、私はMac  [...]]]></description>
			<content:encoded><![CDATA[<p>タイトルでもわかるとおり、非常に限定的な環境でsymfonyを使ったときにハマってしまったので、今後、私と同じようなマニアックな環境でハマってしまった人がググってくれることを期待して備忘録を残します。</p>
<p>さて、私はMac OS X上にVMware Fusion 2を導入していて、会社での開発をVM上のCentOS 5で行っています。開発ではMacのCocoaに対応したEclipse 3.5を主にしようしています。EclipseでVM上のファイルを直接読み書きするため、netatalkというMac版sambaとも言えるソフトウェアをCentOSに導入して、MacとLinux間の共有を行っています。ここら辺のお話は、以前3回に渡って書いたnetatalk導入のブログの記事を参照してもらえればと思います。</p>
<p>Mac OS Xでで外部ストレージ(NFS)などを用いるとき、ファイルのメタ情報を保存するために、<strong>netatalkでは.AppleDoubleというフォルダを各フォルダごとに生成</strong>し、そのフォルダの中に元ファイル名と同名のファイル名でメタ情報を格納します。※<a href="http://ja.wikipedia.org/wiki/AppleSingle">WikipediaのAppleSingle</a>にAppleDoubleについて記載があります。netatalkでは<strong>noadouble</strong>というオプションがあり、「必要なければ.AppleDoubleを作らない」という設定にすることができるのですが、必要ある場合は当然作成されてしまいます。例えば、Eclipseからアクセスして保存とかをすると、.AppleDoubleが作られてしまうような気がします。</p>
<p>CentOS上にsymfonyを展開してMacからターミナルで操ろうとしたとき、基本的にはsymfonyのあの深いフォルダ階層のすべてに.AppleDoubleが生成されてしまうということです。そこでこまったのがsymfonyコマンド。propel:build-xxxとかやろうとすると、どうも.AppleDoubleのせいでうまくいかないことがあります。</p>
<p>例えばpropel:build-model</p>
<div class="igBar"><span id="lbash-7"><a href="#" onclick="javascript:showCodeTxt('bash-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Bash:</span>
<div id="bash-7">
<div class="bash" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>ueno<span style="color: #000000; font-weight: bold;">@</span>localhost project<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ .<span style="color: #000000; font-weight: bold;">/</span>symfony propel:build-model</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; Unable to parse <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #ff0000;">&quot;/path/to/project/config/.AppleDouble/schema.yml&quot;</span>: Unable to parse line <span style="color: #000000;color:#800000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
なぜか.AppleDoubleフォルダ内のshema.ymlがパースできないと言われてしまいます。前述の通り、.AppleDoubleフォルダの中に元ファイル名と同名のメタファイルを生成しますので、もしかしたらschema.ymlという名前に反応してしまったのかもしれません。一応propel:build-modelのヘルプを見てみましょう。</p>
<div class="igBar"><span id="lbash-8"><a href="#" onclick="javascript:showCodeTxt('bash-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Bash:</span>
<div id="bash-8">
<div class="bash" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>ueno<span style="color: #000000; font-weight: bold;">@</span>localhost project<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ .<span style="color: #000000; font-weight: bold;">/</span>symfony <span style="color: #7a0874; font-weight: bold;">help</span> propel:build-model</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Usage:</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;symfony propel:build-model <span style="color: #7a0874; font-weight: bold;">&#91;</span>--phing-arg=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> </div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Aliases: propel-build-model</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Options:</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;<span style="color: #660033;">--phing-arg</span> &nbsp;Arbitrary phing argument <span style="color: #7a0874; font-weight: bold;">&#40;</span>multiple values allowed<span style="color: #7a0874; font-weight: bold;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Description:</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;The propel:build-model task creates model classes from the schema:</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp;.<span style="color: #000000; font-weight: bold;">/</span>symfony propel:build-model</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;The task <span style="color: #c20cb9; font-weight: bold;">read</span> the schema information <span style="color: #000000; font-weight: bold;">in</span> config<span style="color: #000000; font-weight: bold;">/*</span>schema.xml and<span style="color: #000000; font-weight: bold;">/</span>or</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;config<span style="color: #000000; font-weight: bold;">/*</span>schema.yml from the project and all installed plugins.</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;You mix and match YML and XML schema files. The task will convert</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;YML ones to XML before calling the Propel task.</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;The model classes files are created <span style="color: #000000; font-weight: bold;">in</span> lib<span style="color: #000000; font-weight: bold;">/</span>model.</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;This task never overrides custom classes <span style="color: #000000; font-weight: bold;">in</span> lib<span style="color: #000000; font-weight: bold;">/</span>model.</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;It only replaces files <span style="color: #000000; font-weight: bold;">in</span> lib<span style="color: #000000; font-weight: bold;">/</span>model<span style="color: #000000; font-weight: bold;">/</span>om and lib<span style="color: #000000; font-weight: bold;">/</span>model<span style="color: #000000; font-weight: bold;">/</span>map.</div>
</li>
</ol>
</div>
</div>
</div>
<p>
検索条件はconfig/*schema.ymlと書いてありますので、フォルダも引っかかってしまうようです。</p>
<p>で解決策はどうするのか？propel:build-xxx系のコマンドなどでは、symfonyライブラリの中に含まれるsfFinder.class.phpというユーティリティを利用しています。この中に、指定されたルールに基づいて、ファイルやディレクトリを検索するというin()メソッドがあるのですが、この中で、バージョン管理ソフトのディレクトリを無視するようなプログラムの掛かれば部分があります。symfony 1.2.8のlib/symfony/util/sfFinder.class.phpの341行目付近です。</p>
<div class="igBar"><span id="lphp-9"><a href="#" onclick="javascript:showCodeTxt('php-9'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">php:</span>
<div id="php-9">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009933; font-style: italic;">/**</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009933; font-style: italic;">&nbsp; &nbsp;* Searches files and directories which match defined rules.</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009933; font-style: italic;">&nbsp; &nbsp;*</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009933; font-style: italic;">&nbsp; &nbsp;* @return array list of files and directories</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009933; font-style: italic;">&nbsp; &nbsp;*/</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> in<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #000088;">$files</span> &nbsp; &nbsp;<span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #000088;">$here_dir</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/getcwd"><span style="color: #990000;">getcwd</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #000088;">$finder</span> <span style="color: #339933;">=</span> clone <span style="color: #000088;">$this</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ignore_version_control</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$ignores</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'.svn'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_svn'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'CVS'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_darcs'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.arch-params'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.monotone'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.bzr'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.git'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.hg'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$finder</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">discard</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ignores</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prune</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ignores</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
svnやらcvsやらgitやらのメタ情報を保存するフォルダの除外指定が列挙されています。ならばここにAppleDoubleをいれればいいんでないか？ということで、修正多野がこちら</p>
<div class="igBar"><span id="lphp-10"><a href="#" onclick="javascript:showCodeTxt('php-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">php:</span>
<div id="php-10">
<div class="php" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ignore_version_control</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$ignores</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'.svn'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_svn'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'CVS'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_darcs'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.arch-params'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.monotone'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.bzr'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.git'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.hg'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.AppleDouble'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$finder</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">discard</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ignores</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">prune</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ignores</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
symfonyのコアを書き換えるのはどうかと思ったのですが、この設定を付け加えるだけでnetatalk環境でのsymfonyコマンドが問題なく使えるようになったので開発が進みそうです。</p>
<p>まぁ、こんな環境でsymfony使う人はなかなか居ないと思いますが。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.uechoco.com/blog/2009/09/macnetatalk%e3%81%ae-appledouble%e3%81%a7symfony%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%8c%e3%81%a4%e3%81%be%e3%81%9a%e3%81%8f%e6%99%82%e3%81%8c%e3%81%82%e3%82%8b.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

