2015-03-01ãã1ã¶æéã®è¨äºä¸è¦§
3/25ã« Spring Framework 4.1.6 ããªãªã¼ã¹ããããããã®ã§ã以ä¸ã®ãã¼ã¸ãè¦ã¦ããã®ã§ããã Spring Framework 4.1.6 released https://spring.io/blog/2015/03/25/spring-framework-4-1-6-released ãSpring Framework 4.1.6 is also the first releaseâ¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( logback.xmlã®è¨å® ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã ç»é²ç»é¢ã® Continent ã®ãããããã¦ã³ãªã¹ãã«è¡¨ç¤ºãããªã¹ããè¨å®ãâ¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( æ°ã«ãªã£ãç¹ãä¿®æ£ï¼ ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã logback-develop.xml, logback-product.xml, logback-unittest.xml â¦
14.1 ããªãªã¼ã¹ãããããã§ãã®ã§ãã¤ã³ã¹ãã¼ã©ã¼ããã¦ã³ãã¼ããã¦ãã¼ã¸ã§ã³ã¢ãããã¾ããã What's New in IntelliJ IDEA 14 and 14.1? https://www.jetbrains.com/idea/whatsnew/ ãï¼ ãRun 'Tests in 'ksbysample...' with Coverageããå®è¡ããâ¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( æ¤ç´¢ç»é¢ ( Spring Data JPA ç ) ä½æ ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã ç»é²ç»é¢ã§æ¢ã« code ã«å ¥åãããæååããã¼ã«æâ¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( ç»é²ç»é¢ä½æï¼ ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã æ¤ç´¢/ä¸è¦§ç»é¢ ( Spring Data JPA ç ) ã®ä½æ Spring Data JPA ã® Specifiâ¦
Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( ç»é²ç»é¢ä½æï¼ ) ã§ããclean ã¿ã¹ã¯ â build ã¿ã¹ã¯å®è¡å¾ã«ãRun '.....' with Coverageããå®è¡ããã¨ã¨ã©ã¼ã«ãªãã®ã§ããããBuildã-ãMake Projectã(â¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( è¨å®ãã¡ã¤ã«ã§ãã©ã³ã¶ã¯ã·ã§ã³ãè¨å®ãã ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã ç»é²ç»é¢ ( å ¥åâ確èªâå®äº ) ã®ãã¹ãã¯ã©ã¹ãâ¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( Spring Boot Gradle plugin 㧠Spring Boot ã®ãã¼ã¸ã§ã³çªå·ãæå®ãã ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã 以å ãã©ã³ã¶ã¯ã·â¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( unittest ã¢ã¼ããä½æãã¦ã¦ããããã¹ãã®ã¹ãã¼ãã¢ãã ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã Spring Boot Gradle plugin 㧠â¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( æ¤ç´¢/ä¸è¦§ç»é¢ ( MyBatis-Springç ) ä½æï¼ ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã unittest ã¢ã¼ããä½æãã¦ã¦ããããã¹ãã®ã¹â¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( ç»é²ç»é¢ä½æï¼ ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã æ¤ç´¢/ä¸è¦§ç»é¢ ( MyBatis-Springç ) ã®ãã¹ãã¯ã©ã¹ãæ¸ãã¾ãã ä»åã¯æâ¦
ä¼ç¤¾ã® PC 㧠JDK 8u40 + IntelliJ IDEA 14.0.3 + Spring Boot 1.2.2 ã§ãªããã¨ã©ã¼ãããã ä¼ç¤¾ã® PC ( Windows7 32bit ) ã« JDK 8u40 + IntelliJ IDEA 14.0.3 ãã¤ã³ã¹ãã¼ã«ãã¦ãSpring Boot 1.2.2 㧠Application ã¯ã©ã¹ã¨ç°¡å㪠Controller ã¯ã©ã¹ãâ¦
Git ã³ãã³ãã®ã¡ã¢æ¸ãã§ãã æè¿æ¤è¨¼ã ãè¡ããã³ãããã¯ããªãã§å ã«æ»ãããå ´åãããããã®ã§ããã®æ¹æ³ã調ã¹ã¾ãããæ¤è¨¼ä½æ¥å®äºå¾ã«ä»¥ä¸ã®ã³ãã³ããå®è¡ããã°å ã«æ»ãã¾ãã > git reset --hard > git clean -df â»ã³ãã³ããå®è¡ããæ¹ãæ©ãâ¦
æ¦è¦ Spring Boot ã§ãã°ã¤ã³ç»é¢ + ä¸è¦§ç»é¢ + ç»é²ç»é¢ã® Webã¢ããªã±ã¼ã·ã§ã³ãä½ã ( ãã®ï¼ï¼ )( æ°ã«ãªã£ãç¹ãä¿®æ£ ) ã®ç¶ãã§ãã ä»åã®æé ã§ç¢ºèªã§ããã®ã¯ä»¥ä¸ã®å 容ã§ãã ç»é²ç»é¢ ( å ¥åâ確èªâå®äº ) ã®ãã¹ãã¯ã©ã¹ãæ¸ãã¾ãã ã½ããã¦ã§â¦
æ¦è¦ Spring Boot ã 1.2.2 ã«ãã¼ã¸ã§ã³ã¢ãããã¦ããã®ã§ããã¼ã¸ã§ã³ã¢ãããã¾ãã ã½ããã¦ã§ã¢ä¸è¦§ åèã«ãããµã¤ã èå¡ - ã¡ã¢: JUnitã®expectedãã£ã¼ã«ãã¨Ruleã¢ããã¼ã·ã§ã³ã§ä¾å¤ã®ãã¹ã http://d.hatena.ne.jp/torazuka/20121002/junit @Teâ¦
æ¦è¦ ç»é²ç»é¢ ( å ¥åâ確èªâå®äº ) ã®ãã¹ãã¯ã©ã¹ãä½æããåã«ãå®è£ ããç»é²å¦çã§ä¾å¤çºçæã«æ£å¸¸ã«ãã¼ã«ããã¯ããã®ãçã確èªãããã¨æã£ãã®ã§ãæ¤è¨¼ãã¾ãã 以ä¸ã®å 容ã確èªã»æ¤è¨¼ãã¦ãã¾ãã å®è£ ããç»é²å¦çã¯ã©ã®ãããªå¦çããã¦ããã®â¦