Grails Version 2.0.0 Grails 2.0ãããã¢ããã¼ã·ã§ã³ã使ã£ã¦ã¦ããããã¹ããæ¸ããã¨ã«ãªã£ã¦ãã®ã§ããã ãã®ã¢ããã¼ã·ã§ã³ã®ä½¿ãæ¹ãå°ããããããã£ãã®ã§æ´çãã¦ã¿ã¾ãããããã¾ãèªä¿¡ãªãã§ãã Grailsã®ãã¹ãã§ä½¿ãã¢ããã¼ã·ã§ã³ã¯ä»¥ä¸ã®ã¨ããã grails.test.mixin.TestMixin grails.test.mixin.Mock grails.test.mixin.TestFor @TestMixin 使ç¨ä¾ @TestMixin(GrailsUnitTestMixin) ãã¹ãã¯ã©ã¹ã«ä»¥ä¸ã®ãããªããã¯ã¹ã¤ã³ãé©ç¨ãã¦ããã¹ãç¨ãã¢ãã¯ä½æç¨ã®ã¡ã½ãããããããã£ã追å ãè¨å®ããã®ã«ä½¿ç¨ããã ãªã¹ãã渡ãã°è¤æ°ã®ããã¯ã¹ã¤ã³ãé©ç¨ã§ããã grails.test.mixin.support.GrailsUnitTestMixin
ã¦ã¼ã¶ããªãã£ãã¯ã©ã¹ãªãã¼ãã£ã³ã°ãã¯ã¨ãªDSLãæ¹åãããGrails 2.0ããªãªã¼ã¹ ãã¡ãã¯æ¬æ¥åºãè¨äºã§ããããå®éã® Grails 2.0 ã®ãªãªã¼ã¹ã¯æ¨å¹´12æ15æ¥ã§ãâ¦ãã¿ã¾ãããããå°ãæ©ãåºããäºå®ã ã£ãã®ã§ããããã®è¨äºã®è±èªããããããªããããã¨ãªãã°çºçããªãã翻訳ããã®ã§ãå¹´ãè¶ããã¨ã«ãªã£ã¦ãã¾ãã¾ããã ã¾ããåã«è±èªåããªãã¨è¨ããããã§ããããªãªã¼ã¹ã®ã¢ãã¦ã³ã¹ããããããªãã¥ã¼ã¹ã¯æ¯è¼çç°¡åãªãã®ãå¤ããã¤ã³ã¿ãã¥ã¼ãå«ã¾ããã¨ã¯ãããããã¾ã§é£ããã¨ã¯æã£ã¦ãã¿ã¾ããã§ãããè±èªã®åããã«ãã以å¤ã«ããGrails ã®æ¦å¿µï¼Detached Criteria ã¨ãï¼ãæ¥æ¬èªã«ãã¹ããã©ãããæ©ã¿ã¾ãããGrails ãã®ãã®ãæ¥æ¬ã§ããã»ã©æµ¸éãã¦ããªãã®ããæ¥æ¬èªã®ããã°ãªã©ã§ã¯ãã¾ãæ±ããã¦ããªããã§ãããâ¦ã ããè¨ãåã Grails ã
åæ(æ稿æ¥ï¼2011/12/16)ã¸ã®ãªã³ã¯ VMwareã®ä¸é¨éSpringSourceã®Grailséçºãã¼ã ã¯å é Grails 2.0ã®ãªãªã¼ã¹ãçºè¡¨ããããã®ãªãªã¼ã¹ã¯Grailsã®ã¦ã¼ã¶ããªãã£ãRooã³ã³ã½ã¼ã«ã«ä¼¼ãå½¢ã«æ¹åãããã¯ã©ã¹ãªãã¼ãã£ã³ã°ã¯é²æ©ããGroovyã¨Javaã«å¯¾å¿ãã¦ãããGrailsã®æ°¸ç¶ã¬ã¤ã¤ã§ããGORMã¯Groovy 1.8ã§ã®ASTå¤æã«ãã£ã¦æ大éDSLããµãã¼ããã¦ããã Grailsã®ä¸»è¦éçºè ã§èæ¡è ã§ããGraeme Rocheræ°ã¯æ¨æ¥ï¼2011å¹´12æ15æ¥ï¼å ¬å¼ã®ã¢ãã¦ã³ã¹ãçºè¡¨ããã ãã®ã¢ãã¦ã³ã¹ã®ä¸ã§æ°ã¯ããã®ãªãªã¼ã¹ãä¸å¹´ã®æ´»åã®æé«å³°ã§ãããã¨è¨ã£ã¦ããããã®ãªãªã¼ã¹ã§ã¯ãããã¯ãªã¼ã³ãªãããã°ã®ãµãã¼ãã¨Rooãæããããããªã³ã¼ãè£å®æ©è½ã¤ãã³ã³ã½ã¼ã«ã¢ããªã±ã¼ã·ã§ã³ã«ãããã¦ã¼ã¶ã¨ã¯ã¹ããªã¨ã³ã¹ãå¼·åããã¦ãã
å æ¥ãã¥ã¼ãã£ã¹ãæ§ã§è¡ãããåå¤å±Grails(大)å¿å¹´ä¼2011ã«åå ãã¦ãã¾ããã å 容ã¨ãã¦ã¯ãGrailsã«ãã£ã¨ãé©ããã¯ã©ã¦ãç°å¢ã¯ã©ããï¼ããã¼ãã«ã¢ãã¬ã¼ã¿ã®æ¹ãããããã¨èª¬æãã¦ãã ãã£ãå 容ã§ãããæ¤è¨¼ããã¯ã©ã¦ãç°å¢ã¯ãdotcloudãHerokuãcloudbeesãcloudfoundryã®ï¼ã¤ã§ãã Grailsããããã¤ã§ããã¯ã©ã¦ãç°å¢ã¨ãããã¨ã§ã§ãã®ã§ãè¦ããã«JavaWebã¢ããªã±ã¼ã·ã§ã³ãç½®ããã¨ãã§ããã¯ã©ã¦ãç°å¢ã¨ãããã¨ã§ããç§èªèº«ã¯ãããã£ãã¯ã©ã¦ãç°å¢ã«ã¤ãã¦ã¯Amazon EC2ããããã詳ããç¥ããªãã£ããã®ã§ã大å¤ããã«ãªãä¼ã§ãããç§ãGrailsã®çµé¨ãæµ ãGrailsããã¨ãã観ç¹ããã¯æ¸ãã¾ããããä»åç´¹ä»ã®ãã£ãï¼ã¤ã®ã¯ã©ã¦ãç°å¢ã«ã¤ãã¦ãåã ã®ã¯ã©ã¦ãç°å¢ã¨ãã¦ã®ç¹å¾´ãç°¡åã«ã¾ã¨ãã¦ã¿ããã¨æãã¾ãã dotcloud
Grails 2.0.0 ãªãªã¼ã¹ï¼ ãã³ãã³ã§çºè¡¨ããã£ãéãä»é±ãªãªã¼ã¹ããã¾ããã ãã³ãã³ã§ã¯ãããããBurtã«ä¼ããããPeterã¨ç¿»è¨³ããã¥ã¡ã³ãã®è©±ããããã2007å¹´é ã«Acegiãã©ã°ã¤ã³ãæä¼ã£ã¦ãããHaotianã¨å¶ç¶åã£ãããJeffã¨ãGuillaumeã¨ããããã話ããã¦ãã¾ããã ãããªGã¢ã¹ã¿ãªäººã ã¨è©±ãã§ãããGroovy & Grails eXchangeãã¯ãæ¥å¹´ã®æ¥ç¨ã決ã¾ã£ã¦ãã¾ãã http://skillsmatter.com/event/groovy-grails/groovy-grails-exchange-2012 æåã®50件ã¾ã§ã¯ãªãã¨ï¼Â£95ã§ãï¼ ã¨ããã§æ¬é¡ããç¥ï¼Grails 2 ãªãªã¼ã¹ï¼ã 2011/5/24ã«1.4.0.M1ããªãªã¼ã¹ããã6/28ã«ã¯ããã2.0ã«ãªãã¨çºè¡¨ããã 7/29 Grails 2.0.0
ç±³SpringSourceï¼ç±³VMwareåä¸ï¼ã®Grailsããã¸ã§ã¯ãã¯12æ15æ¥ãJava/Groovyåãã®Webã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ãGrails 2.0ããä¸è¬å ¬éããã1.3以æ¥ã®ã¡ã¸ã£ã¼ã¢ãããã¼ãã¨ãªããå¤æ°ã®æ°æ©è½ãå°å ¥ããã¦ããã Grailsã¯Javaã¨ããã³Javaä»®æ³ãã·ã³ä¸ã§åä½ããåçè¨èªGroovyãå©ç¨ããWebã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ãSpring FrameworkãHibernateãSiteMeshãªã©ãã¾ãã¾ãªæè¡ãæ´»ç¨ãã¦ã¢ããªã±ã¼ã·ã§ã³ãéçºã§ãããã©ã¤ã»ã³ã¹ã¯Apache License 2.0ã Grails 2.0ã¯ã2010å¹´5æã«ãªãªã¼ã¹ããããã¼ã¸ã§ã³1.3以æ¥ã®ã¡ã¸ã£ã¼ã¢ãããã¼ãã¨ãªãããã«ããã¼ã«ã«ãGradleããå©ç¨ãã¬ãã¸ããªããã¸ã¡ã³ããArtifactoryãããã¹ããã¼ã«ãSpockããªã©ãæ°
ãã¿ãå ã«æã£ã¦è¡ãããããã§ã G* Advent Calendar ã®é çªã¯å®¹èµ¦ãªãå»»ã£ã¦ããã15æ¥ç®æ å½ã® @tyama ã§ãã ãªã®ã§ããã¾ã«ã¯ãã¿ããªãç¥ã£ã¦ããã§ãæ¸ãã¾ã§ãç¡ããä¸éå端ãª!? å 容ãæ¸ãã¦ã¿ãã Grails 2.0 ã§æ´æ°ããã(å¤§å¹ ä¿®æ£)ã¤ã³ã¿ã©ã¯ãã£ãã¢ã¼ãã®ã話ã ããã¥ã¡ã³ãã«ããã¨ãªãè¼ã£ã¦ããå 容ã§ããããããã¾ããããããã(便å©ã)ãä¼ãã£ã¦ããªãï¼ ã¤ã³ã¿ã©ã¯ãã£ãã¢ã¼ãã®äºã¯ããGroovy & Grails eXchange 2011ãã§ãã£ãGrails 2.0 ã®ã»ãã·ã§ã³ããPeterã«ããããã°ã ã£ããã§ãç´¹ä»ããã¦ãã¾ãã å ãã¯ã«ã©ãã«ãªè¡¨ç¤º è£å®ï¼ã³ãã³ãã¯ãã¡ããã®äºããã¡ã¤ã³ã¯ã©ã¹ãè£å®ãã¾ãï¼ ãã¹ããªãã¼ãã¯ãopen test-reportã³ãã³ãã§ï¼ãã©ã¦ã¶ãéãã¾ãã ä¾åé¢é£ãªãã¼ãããopenã³ãã³ã
G* Advent Calendarã6æ¥ç®ãã£ã¦ã¿ã¾ãã ä»æ¥ãå¢ã«ãå ¬éGrailsãã©ã°ã¤ã³ã®æ°ãççºçã«å¢ããâ¦â¦ã¨ãããªã¼ã¨ããæã㧠Grails version2.0.0.RC1 Grailsãã©ã°ã¤ã³ã®ãªãã¸ããªã«ã¯ãMavenå½¢å¼ã®ãªãã¸ããªã使ç¨ã§ãã¾ãã ã¤ã¾ããMavenã®ãªã¢ã¼ããªãã¸ããªãGithubä¸ã«æ§ç¯ãã以ä¸ã®ææ³ã使ãã°ãGraisãã©ã°ã¤ã³ã®ãªãã¸ããªãGithubä¸ã«æã¦ãããã§ããã Github ã Maven å ¬éãªãã¸ããªã«ãã GitHub ã Maven å ¬éãªãã¸ããªã«ãã (Gradle ç·¨) ä½ãã§ããã®ï¼ ä¾ãã°ãç§ã¯Grailsã®AWSãã©ã°ã¤ã³ã«ããããå½ã¦ããã®ãGithubä¸ã«å ¬éãã¦ãã¾ãã1 ãã®ãã©ã°ã¤ã³ã¯ã次ã®ããã«ãã¦ã©ãããã§ã使ç¨ã§ãã¾ãã // grails-app/conf/BuildConfig.gr
ãªãã¨ã¾ã¼ãGrails 2.0.0.RC3ãªãªã¼ã¹ ãã¾ãããï¼ Grails 2.0.0.RC2 ã®å 容ãããããã¦åç §ãã¦ãã ããã Grails 2.0.0.RC2ãªãªã¼ã¹ã ããSpringã®é ãã«ã - leftovers... JIRAãã¿ãã¨ã以ä¸ã®ãããªå 容ã http://jira.grails.org/secure/ReleaseNote.jspa?projectId=10020&version=13019 [GRAILS-8365] - totalCount creates additional order by statement [GRAILS-8381] - Integration tests failing with strange hibernate exception [GRAILS-8382] - Error with unit testing exte
1 ã¤ã³ãããã¯ã·ã§ã³ ç¾å¨ã®Javaã§ã®Webéçºã¯å¿ è¦ä»¥ä¸ã«è¤éã§ããJavaã®ã»ã¨ãã©ã®Webãã¬ã¼ã ã¯ã¼ã¯ã¯è¤éã§Don't Repeat Yourself (DRY)ã§ã¯ããã¾ããã Rails,Django,TurboGearsã¨ãã£ããã¤ãããã¯ãã¬ã¼ã ã¯ã¼ã¯ã¯Webã¢ããªã±ã¼ã·ã§ã³ã®èãæ¹ãããã¢ãã³ãªæ¹ã¸å°ãã¦ããã¾ãããGrailsã¯ãSpringãHibernateã¨ãã£ãæ¢ã«ç¢ºç«ããJavaãã¯ããã¸ã¼ã§ããããã®ãã¤ãããã¯ãã¬ã¼ã ã¯ã¼ã¯æ¦å¿µã«åºã¥ãã¦Javaç°å¢ã§ã®Webã¢ããªã±ã¼ã·ã§ã³éçºã®è¤éãã軽æ¸ããã¾ãã Grailsã¯ãå¤ãã®ã³ã¢ã»ãã¯ããã¸ã¼ã«ããWebéçºã§ã®ããºã«ãããªæçããã©ã°ã¤ã³ã§é£æºããããã¨ã§è§£æ±ºã試ã¿ããã«ã¹ã¿ãã¯ãã¬ã¼ã ã¯ã¼ã¯ã§ãã以ä¸ã®å 容ãããã«å©ç¨ã§ãã¾ã: Hibernateä¸ã«æ§ç¯ããããç°¡åã«å©ç¨ã§ãããªãã¸ã§ã¯ãã»ãª
Grails 2.0 RC1 ãªãªã¼ã¹ï¼ å ¬å¼MLã®æ å ±ã«ããã¨ã Grails 2.0ã®ãªãªã¼ã¹ã¯11ææ«ã¾ã§å»¶æãçç±ã¯ Spring 3.1ã®é ãã10æåæ¬äºå®ã®Spring 3.1 RC1ããªãªã¼ã¹ããããã Grails 2.0 RC1ããªãªã¼ã¹ãããäºå®ã ã¯ãï¼äºå®éãRC1ã§ã¾ããã ããã¦æçµçã«ã¯ããã³ãã³ã§éå¬ãããGroovy & Grails eXchange 2011ç´åã«æçµçããªãªã¼ã¹ã¨ã skillsmatter.com/event/groovy-grails/groovy-grails-exchange-2011 ãã®åã«ãã¾ããªãã·ã«ã´ã§Spring one 2gxéå¬ã§ãã http://www.springone2gx.com/conference/chicago/2011/10/home ä»åãã·ã«ã´ã«ã¯è¡ããªãã®ã§ãçãä¸ããã§ãããTLãè¦
Grails 2.0.0.M2ãªãªã¼ã¹ï¼ ãã¤ã«ã¹ãã¼ã³ã¯ããã§æçµã§ãï¼ 10æã®RC,GAã«åãã¦ãæ´ãªããã©ãã·ã¥ã¢ããã¨ããã°ãã£ãã¯ã¹ãè¡ããã¦ãã¾ãã Groovyã¯ãå æ¥ãªãªã¼ã¹ããããGroovy 1.8.2ãã«ã¢ãããã¼ãããã¦ãã¾ãã ä»åãæ¥æ¬èª i18nã®ææ°ãåãè¾¼ãã§ãããã¾ããã https://github.com/grails/grails-core/compare/941851cd0b...142935d0e3 (ä½ã§ãã£ã¨æ©ããããªãã£ããã ï¼ã¨ãæããããã§ããã) å ¬å¼ãªãªã¼ã¹ãã¼ãã¯ãã¡ãï¼ http://grails.org/2.0.0.M2+Release+Notes jira http://jira.grails.org/secure/ReleaseNote.jspa?projectId=10020&version=12805 ãã¦ã³ãã¼ã
ãã¼ã«ã¨ãããã³ã¼ã³ã¨æ ç» ã©ã¹ããã¤ã«ãè¦ããè¯ãæ ç»ã ã£ãã æ ç»é¤¨ã§ã¹ãã¹ãæ³£ãã¦ãé¼»ãåããªããè»ã§å¸°ã£ããææ³ã¯ãã®ããã°ã§ã¯æ¸ããªããã¿ããªæ ç»é¤¨ã«è¡ã£ã¦æãã¦ã¿ã¦ã»ããã 帰ã£ã¦ãããã¤ãã¿ã¼ã§ææ³ãæ¼ããããããããããããããããã ãããã¨ã¾ãæ ç»ãæãåºãã¦â¦
Grailsã§Amazon Web Services Simple Storage Service (S3)ã使ã£ã¦ã¿ãã ãã©ã°ã¤ã³ãããã®ã§ãå©ç¨ã¯ç°¡åã http://www.grails.org/plugin/amazon-s3 ã¾ãã¯ãã¤ã³ã¹ãã¼ã«ãããããã¥ã¡ã³ãã¨ãã¦ã¯ãinstall-pluginã³ãã³ãã使ã£ã¦ãããã©ãã BuildConfig.groovyã«ä»¥ä¸ã®ããã«è¨è¿°ãã¦ã¤ã³ã¹ãã¼ã«ã plugins { runtime ':quartz:0.4.2' runtime ':amazon-s3:0.8.2' } Config.groovy aws { domain="s3.amazonaws.com" accessKey="ãaccesskeyã" secretKey="ãsecretKeyã" bucketName="grails" } ãã¼ã¿ãã¢ãããã¼ããã
webabook ã grails 㧠gbook ã¨ãã¦æ¸ããªããã¦ã¿ã cardme-v0.2.6.jar ããã¦ã³ãã¼ããã¦ãããã¸ã§ã¯ãã®libãã©ã«ãã®ä¸ã«å ¥ãããªãã㤠ãã«ããã¹ã«å¤é¨JARã¨ãã¦ç»é²ã ãã¨ã¯ä½¿ãåãã¤ã³ãã¼ããã AbookController.groovyã«è¿½å import info.ineighborhood.cardme.engine.VCardEngine import info.ineighborhood.cardme.io.VCardWriter import info.ineighborhood.cardme.vcard.VCard import info.ineighborhood.cardme.vcard.VCardImpl import info.ineighborhood.cardme.vcard.VCardVersion impo
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}