スキップしてメイン コンテンツに移動

投稿

ActionScript 3.0のVector.unshiftメソッドのバグ(Flex 3.2)

以下のBugはFlex SDK 3.2の時に発生しました。 Flex 3.5では既に直っています。 古い環境を使っている人は要注意! ArrayクラスよりもVectorクラスを使った方が大抵は高速なので、ArrayクラスをVectorクラスに置き換えていました。その作業中に、Vector.unshiftメソッドで先頭に挿入されるはずの要素が挿入されないバグに遭遇しました。 環境:Flash Player 10.0 r12, Flex SDK 3.2 var v:Vector. = new Vector. (); v.push("A"); v.push("B"); v.push("C"); v.unshift("D"); trace(v); // result will be somehow ["A", "B", "C"] !! 他のブログでも既にバグとして報告されていました。 Vector.unshift () bug Vector bug in FP10

How to convert java-project to web-project in Eclipse

I faced the problem that I could not convert simple java project to wtp project in eclipse. I asked Dr.Google, then he gave me an answer :). Please see the below article. This is exactly what I wanted to know!! How to convert Java Project to Web Project in Eclipse Quick Tips You should check .project file if your project is not what you expect. eclipse determine the project style by the natures section in the file. You should use Navigator window, if you would like to see the files which starts ".".

Sandcastle

I tried using Sandcastle which is the documentation build tool for generating MSDN-style documentation from .NET assemblies and their associated XML comments files like NDoc . I googled information around it and found out good articles and some of related tools. Tools DocProject This tool uses the latest version of Microsoft Sandcastle to build HTML help topics. It can generate variety formats of API documents :). Sandcastle Help File Builder This tool can make building documents from Sandcastle easier. The latest version of Sandcastle Help File Builder (1.8.0 or later) does NOT include SandcastleBuilderConsole.exe which can be used from console for generating domenet. Sandcastle project think that all the process should be done in MSBuild rather than console. If you need SandcastleBuilderConsole.exe please get and use 1.7.0 from here . Articles Generating MSDN-style Documentation with Sandcastle, NAnt and CruiseControl.NET This article is a good example of how to use sandcastle. Th

Eclipseのプラグインメニューの英語化

私は英語版のeclipseを使っているのですが、インストールしたSubverionやFindBugsのプラグインのメニューやメッセージがデフォルトでは日本語になってしまいました。Google先生で調べたところ、 国際化プログラミングの常識 で答えが見つかりました。 eclipse.ini に以下の2行を追加してlocaleを変更すればよいようです。 -Duser.language=en -Duser.country=US 私の場合はこれでメニューを英語に統一できました。