tag:blogger.com,1999:blog-5427069094580312550.post4376079800878803991..comments2023-12-23T21:48:09.231-08:00Comments on Code To Joy: Simply Groovy (How to gain Competitive Advantage on Weiqi Gao's Friday Java Quiz)Michael Easterhttp://www.blogger.com/profile/14799771593145201161noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5427069094580312550.post-88468208580686774762008-10-14T10:00:00.000-07:002008-10-14T10:00:00.000-07:00@ Danno. Nice! My bet is that it is 'startGroovy....@ Danno. Nice! My bet is that it is 'startGroovy.bat' in the bin directory. It has some new stuff starting in 1.5.xMichael Easterhttps://www.blogger.com/profile/14799771593145201161noreply@blogger.comtag:blogger.com,1999:blog-5427069094580312550.post-78643754439444992502008-10-14T08:28:00.000-07:002008-10-14T08:28:00.000-07:00It's the space after the semi-colin.groovy -e " pr...It's the space after the semi-colin.<BR/><BR/>groovy -e " println 'hi'; println 'there' "<BR/><BR/>Not sure if this is a windows or groovy issue.Danno Ferrinhttps://www.blogger.com/profile/15451940216253962666noreply@blogger.comtag:blogger.com,1999:blog-5427069094580312550.post-30353051822875012832008-10-14T03:53:00.000-07:002008-10-14T03:53:00.000-07:00@ Adam. Yep, that was a typo: "accepts". The hi/t...@ Adam. Yep, that was a typo: "accepts". The hi/there example works with Groovy 1.1 on my PC. It works with all Groovy version on my Mac.Michael Easterhttps://www.blogger.com/profile/14799771593145201161noreply@blogger.comtag:blogger.com,1999:blog-5427069094580312550.post-18556627745071276292008-10-13T21:00:00.000-07:002008-10-13T21:00:00.000-07:00"Groovy excepts most Java" or "Groo..."Groovy excepts most Java" or "Groovy accepts most Java"? Seriously, I need to know.<BR/>I don't have groovy installed, by this works with Perl on Win32:<BR/>C:\Users\Adam>perl -e " print 'hi ' ; print 'there' "<BR/>hi there<BR/>So it could work...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5427069094580312550.post-6009361038637551352008-10-13T18:50:00.000-07:002008-10-13T18:50:00.000-07:00ps. The Java could be a bit simpler with a static ...ps. The Java could be a bit simpler with a static initialization block, but I think Weiqi meant that <I>the puzzle</I> couldn't get much simpler.Michael Easterhttps://www.blogger.com/profile/14799771593145201161noreply@blogger.com