2009-01-01ãã1ã¶æéã®è¨äºä¸è¦§
æ¨æ¥ã«å¼ãç¶ãAndroidã§ã²ã¼ã ãä½ããã¿ã¼ã³ãç´¹ä»ãã¾ãã ã²ã¼ã ãä½æããå ´åããªãããã®ã¿ã¤ãã³ã°ã§ç»é¢ãåæç»ãã¦ããã¾ãããã¤ãã³ãé§åã§åæç»ãããã¿ã¼ã³ã¨ä¸å®å¨æã§åæç»ãããã¿ã¼ã³ã®ï¼ã¤ãããã¾ããå ã«ç´¹ä»ãããã¿ã¼ã³ã¯ã¤ãã³â¦
Androidã使ã£ã¦ã²ã¼ã ã§ãä½ããããªãã¨ããäºã§APIã¨ã調ã¹ãªãã試ãã¦ã¿ã¾ãããAndroidã§ã¯Swingã¯ä½¿ããªãã®ã§ãããæ¯è¼çã«ä¼¼ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã®APIãç¨æããã¦ãããããSwingã§ç°¡åãªã²ã¼ã ãä½ã£ããã¨ãããã°ããã«ãªããã®ã§ã¯ãªãã§ããâ¦
Reflection APIã使ã£ã¦Classã®Methodãåå¾ãããã®ã¡ã½ããã®ä¿®é£¾åããã§ãã¯ããå ´åã次ã®ããã«è¨è¿°ãã¾ãã if ((method.getModifiers() & Method.PUBLIC) != 0) { // Publicã®å ´åã®å¦ç } ãã®ããã«æ¸ãã¦ã¯ããã¾ããã if (method.getModifiers(â¦
ããããå°å ¥ããããã¨æ¤è¨ä¸ã§ããããã¤ã³ããå¹¾ã¤ãã ä½é¨çã¯30æ¥ä½¿ç¨å¯è½ã ãã ããhttp://www.act2.comã§ã¯é å¸ãã¦ããªãã®ã§ãhttps://www.vmware.com/ãããã¦ã³ãã¼ãï¼è¦ç»é²ï¼ ãã¦ã³ãã¼ãçã¯9,980åãããã±ã¼ã¸çã¯13,800åï¼å¤å°ã¯å²ãâ¦
Macã¨æ ¼éä¸ã§ããæ¬æ¥ã®åµããã¤ã³ãã¯ãNetbeansã§JDKãæå®ãããJRubyã®gemãå©ç¨ããã®ï¼æ¬ã§ãã NetbeansãJava6ã§èµ·åãã Apple Dev CenterããJava6ã¯ãã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã«ã§ãã¦ããåæã§ãã ã¤ã³ã¹ãã¼ã«å¾ã¯ãApplication/Utility/Jaâ¦
ã¡ããã©ã¿ã¤ã ãªã¼ãªã¨ã³ããªã¼ãããã¾ããã®ã§ä¾¿ä¹ãã¿ã§ããPilikaã¯Javaã§å®è£ ãã¦ãããã³ãã¬ã¼ãã¨ã³ã¸ã³ã§ãããJSPã®å¼è¨èªã¨åãããã«ãã¦å¤æ°ãåãè¾¼ããã¨ãã§ãã¾ãã <p>${title}</p> ããã¾ã§ã¯ãããããã¿ã¼ã³ã§ãã Expressionã§éè¦ãªã®ã¯ãEâ¦
çµå±ãStAXã®ãã¼ãµãç°å¢ã«ãã£ã¦ç°ãªãä½ç½®æ å ±ãè¿ãåé¡ã¯ãå梱ããã¦ããå®è£ ã¯ã©ã¹ãç°ãªãã©ãã«ããªããªããã¨ããçµè«ã«éãã¾ãããå°ãªãã¨ãJava6ã«å梱ããã¦ããå®è£ ï¼sumå®è£ ï¼ã§ã¯ãã¾ãåããªãã®ã§ã©ãã«ããªããªãã§ãããªã®ã§æ¸ãç´ãâ¦
Pilikaã§ã¯StAXãXMLã®ãã¼ãµã«æ¡ç¨ãã¦ããããã§ãããå®è£ æããã©ããããããªæåããã¦ãã¾ããã XMLStreamReader#getLocationã¯ãããã»ããµã®ç¾å¨ã®ä½ç½®ããåå¾ããã¡ã½ãããªã®ã§ãããå®éã«ã¨ããä½ç½®ã¯ç¾å¨ã®ä½ç½®ã§ã¯ãªãã¦æ¬¡ã®è¦ç´ ãåå¾ã§ãâ¦
Macbookã«Maven2ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã Maven2ããã¦ã³ãã¼ããã http://maven.apache.org/ ããMaven2ããã¦ã³ãã¼ããã¾ããå§ç¸®ãã¡ã¤ã«ããã¦ã³ãã¼ããã¦é©å½ãªãã£ã¬ã¯ããªã§å±éãã¾ãã tar xzvf apache-maven-2.0.9-bin.tar.gz mv ./apacheâ¦
Java6ããå ãã£ãæ¨æºXMLãã¼ãµã«StAXã¨ãããã¼ãµã¼ãããã¾ããJavaã®XMLãã¼ãµã¼ã¨ããã°ãSAXã¨DOMãæåã§ãããStAXã¯ç¬¬ï¼ã®ãã¼ãµã¼ã§SAXå¯ãã®æ§è³ªãæã¡ã¾ãã DOMã¯XMLããã¼ã¹ããä¸ã§æ§é åããææ¸ã¢ãã«ï¼Document Object Model=DOMï¼ã¸å¤æâ¦
JRubyã使ã£ã¦Rubyã®ã¹ã¯ãªããããJavaã®ã¡ã½ãããå¼ã³åºãæãå¼æ°ãjava.util.Mapåã¨ãªã£ã¦ããå ´åã次ã®ããã«ãã¦Rubyã®HashãJavaã®java.util.HashMapã«å¤æã§ãã¾ãã map = java.util.HashMap.new({'key' => 'value'}) è¿½è¨ Hashããã®ã¾ã¾æ¸¡ãã¦â¦
SVNã使ç¨ãã¦ã½ã¼ã¹ã³ã¼ãã管çãã¦ããæãå ±éãã¦ä½¿ç¨ããã©ã¤ãã©ãªãªã©ãè¤æ°ã®ããã¸ã§ã¯ãã§ä½¿ç¨ãããã±ã¼ã¹ãããã©ã°ã¤ã³ã®ããã«ããããã¸ã§ã¯ãã®ä¸é¨ãç°ãªããªãã¸ããªã«é ç½®ãããã±ã¼ã¹ãããã¾ãã ãã®ãããªæãSubversionã®å¤é¨å®ç¾©â¦
Netbeans6.5ã«ãã³ãã«ããã¦ããJRubyã®gemã¯1.2ã§ããRails2.2ç³»ã«ããã¨gemãå¤ãã¨æããã¾ãï¼Railsã¯æ´æ°ã§ããã®ã«â¦ï¼ ã§ãupdateããã¨ããããããã§ãããæ示éãã«ãã£ã¦ãUpdateã§ãã¾ããã»ã»ã»ã >gem update --system Updating RubyGems Notâ¦
åæåããã»ã¹ã®ã¡ã¢ã boot.rb environments/development.rb plugins/xx/init.rb initializers/yy.rb ã¨ããããã§ãpluginã®åæåãããå ã«initializersãå®è¡ãããäºã«ãªã£ã¦ã¾ãããpluginã使ã£ã¦ä½ãåæåãããã±ã¼ã¹ãæ³å®ãã¦ãã®ã§ããããã
JRubyã®ããã±ã¼ã¸åã«é¢ãã¦åµã£ã¦ããã¨æ¨æ¥ã®ã¨ã³ããªã¼ã§æ¸ãã¾ããããå¹¾ã¤ãã®ãããã¬ãã«ããã±ã¼ã¸ã¨ãã以å¤ã®ããã±ã¼ã¸ã§ä½¿ç¨ã§ããæ¸å¼ãéãã¨ããäºãåå ã§ããããµã³ãã«ãªã©ã§ã¯ãSwingãjava.lang.Systemãªã©ãã»ã¨ãã©ãªã®ã§ãã¹ãªã¼ãâ¦
JRuby(1.1.6)ã§è²ã ã¨ãã¹ããã¦ãã¾ãããä¸æè°ãªç¾è±¡ã«æ©ã¾ããã¦ãã¾ãã
ãã¼ãå°å³ã«ãä¿®æ£OKããªãã¦åºåããã¦ãããï¼ http://www.deathmarch.jp/hudson/job/pilika/jp.deathmarch.pilika$pilika/7/testReport/jp.deathmarch.pilika/RenderTest_script/ HudsonããããããHudsonã
ã¨ããããã§è§£æ±ºãããã¾ããã ã»ã»ã»åå ã¯ãã¡ãã§ãã
ãã³ãã¬ã¼ãã¨ã³ã¸ã³pilikaã®ç¹å¾´ã¨ãã¦ãã¹ã¯ãªãããå¿ è¦ã«å¿ãã¦å¥½ããªè¨èªã§è¨è¿°ã§ãããã¨ããäºãèãã¦ããã®ã§ããããããªãæç¤ã«ã®ãããã¦ãã¾ãã¾ãããJava6ã®ã¹ã¯ãªããè¨èªãµãã¼ãã¯ãæ§ã ãªã¹ã¯ãªããè¨èªãåæã«ä½¿ããå¯è½æ§ãç§ãã¦ãâ¦
æåã¯Mavenã®ä¾åã©ã¤ãã©ãªã«Groovyã¨JRubyãå ¥ãã¦ã¿ãããæ¡ã®å®asmãã³ã³ããªã¯ããã¾ãããããã§ãClassLoaderãæå®ããScriptEngineManagerã使ããã¹ã¯ãªããé¢é£ã®ã©ã¤ãã©ãªã¯ãã¼ã«ã«ãã©ã«ãããåå¥ã®ã¯ã©ã¹ãã¼ãã§ãã¼ãããå½¢ã«ãã¾ãããâ¦
Hudsonããã§ãããé常ã«ç´æçã«ä½¿ãæãã¤ã³ã¿ã¼ãã§ã¤ã¹ã§æ¥æ¬èªåãããã¦ããçºãæåã«ä½¿ãCIãã¼ã«ã¨ãã¦ã¯æ·å± ãä½ãã®ã¯ãã¤ã³ãã§ããMaven2ã®è¨å®ãããç¨åº¦ã§ãã人ãªãã°ãããã«ä½¿ãããªããã®ã§ã¯ãªãã§ããããï¼ ã¨ããããã§è²ã è¨å®ãã¦â¦
ç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³ï¼CI: Continuous Integrationï¼ã¯ãããã¸ã§ã¯ãã®ãã«ãã¨ãã¹ããæ´ã«ã¯ãããã®ã¬ãã¼ãã®ä½æã¾ã§ãå ¨ã¦èªååããäºã§ããCIãã¼ã«ã¨ãã¦ã¯ãContinuum ãæåã§ãããSubversionãMaven2ãªã©ã¨çµã¿åããã¦ä½¿ç¨ãã¾ãã以åâ¦
æ¨å¹´ã®æ°åã®çºå£²ã«åããã¦MacBookãè³¼å ¥ããããã§ãããåMacã¨ããäºãããWindowsã®ã¢ããªã使ããã¨ãå¤ãã£ãäºãããã»ã¨ãã©Boot Campã§ä½¿ã£ã¦ãã¾ãããå¹´æ«å¹´å§ã§æéãåããã®ã§Macã«æ £ããã¹ãè²ã ã¨ãããã¨æã£ããã®ã®ãè²ã ã¨ã¯ã¾ã£ã¦ãã¾â¦