This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
//refarence http://d.hatena.ne.jp/viver/20101025/p1 | |
// | |
@GrabResolver(name="msgpack-repo", root="http://msgpack.org/maven2/") | |
@Grab("org.msgpack:msgpack:0.5.1-devel") | |
import java.util.ArrayList | |
import java.util.List | |
import org.msgpack.MessagePack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaultTasks 'msgpacktest2' | |
buildscript{ | |
repositories { | |
mavenRepo(urls:'http://msgpack.org/maven2/') { | |
dependencies { | |
classpath("org.msgpack:msgpack:0.5.1-devel") | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test using: 1)Groovy Console Java Web Start | |
// http://dl.getdropbox.com/u/653108/groovy/console.jnlp | |
// | |
// 2)IntelliJ 10.0.1 CE | |
// Grape Plugin : http://plugins.intellij.net/plugin/?idea&id=4702 | |
// | |
// reference site: bluepapa32’s site | |
// http://d.hatena.ne.jp/bluepapa32/20101228/1293466511 | |
@Grab(group = 'org.twitter4j', module='twitter4j-core', version='[2.1,)') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by IntelliJ IDEA. | |
* User: kyon | |
* Date: 11/03/15 | |
* Time: 0:54 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// reference | |
// http://www.atmarkit.co.jp/fjava/special/jna/jna_3.html | |
// http://www.javainthebox.net/laboratory/JDK1.4/NewIO/Buffer/Buffer.html | |
// http://www.techscore.com/tech/J2SE/NIO/answer/2-2.html | |
@Grab('net.java.dev.jna:jna:3.2.2') | |
import com.sun.jna.* | |
import com.sun.jna.ptr.* | |
import com.sun.jna.win32.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// reference | |
// http://d.hatena.ne.jp/tan_go238/searchdiary?word=%2A%5Bgroovy%5D | |
// http://d.hatena.ne.jp/Yamashiro0217/20090309/1236602172 | |
// http://www7b.biglobe.ne.jp/~archer/tryjunit4/tryjunit4.html | |
// | |
// using Groovy Console(alerdy embedded JUnit4) | |
// | |
@Grab(group='org.codehaus.mojo', module='selenium-maven-plugin', version='1.0') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// http://www.ibm.com/developerworks/jp/java/library/j-jodatime.html | |
// http://program.g.hatena.ne.jp/halflite/20101120/seventeen | |
// http://d.hatena.ne.jp/ikeike443/20100406/1270572212 | |
// | |
@Grab(group='joda-time', module='joda-time', version='1.6.2') | |
import org.joda.time.DateTime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://groovy.codehaus.org/api/groovy/lang/GroovyClassLoader.html | |
// http://groovy.codehaus.org/api/org/codehaus/groovy/ast/ModuleNode.html | |
// http://svn.codehaus.org/groovy/branches/GROOVY_1_7_X/src/examples/groovyShell/ | |
import java.security.CodeSource | |
import org.codehaus.groovy.ast.* | |
import org.codehaus.groovy.ast.expr.* | |
import org.codehaus.groovy.ast.stmt.* | |
import static org.codehaus.groovy.syntax.Types.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cron4j_test.groovy | |
// | |
// reference | |
// http://www.sauronsoftware.it/projects/cron4j/manual.php | |
// http://blog.zaq.ne.jp/oboe2uran/article/243/ | |
@GrabResolver (name='gridgainsystems', root='http://www.gridgainsystems.com/maven2') | |
@Grab(group = 'net.sf.cron4j', module='cron4j', version='*') | |
import it.sauronsoftware.cron4j.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AutoCompletablleComboBox Test | |
// | |
// refarence http://itpro.nikkeibp.co.jp/article/COLUMN/20110329/358840/?ST=develop&P=1 | |
// http://griffon.codehaus.org/SwingxBuilder | |
// | |
@Grab(group='org.swinglabs', module='swingx', version='1.6.1') | |
@Grab(group='org.codehaus.griffon', module='swingxbuilder', version='0.1.7') | |
import java.awt.FlowLayout; | |
import java.awt.event.ActionEvent; |