Links

Groovy PowerPoint DSL

Groovy PowerPoint DSL supports the following features:

* Slides with titles
* Bullets, which can be added to the slides
* Textboxes, which are large text area's
* Imageslides, which are slides consisting of only images. This is to support all the 'Beyond Bullet Points' lovers ;-)

Example:

builder.slideshow(filename:'Test.ppt') {
slide(title: 'Introduction') {
bullet(text: 'Bullet 1')
bullet(text: 'Bullet 2')
}
slide(title: 'Slide 2') {
bullet(text: 'Bullet 3')
bullet(text: 'Bullet 4')
}
slide(title: 'Example') {
textbox("""This is a slide
With a lot of extra lines
Which make no sense
At all""")
}
imageslide(src:'background.png')
}

http://dontmindthelanguage.wordpress.com/2009/02/27/groovy-powerpoint-dsl/

Filed under  //   dsl   groovy   powerpoint   presentation  
Posted December 9, 2009 by email 
// 0 Comments

YouDebug: Java program that lets you script a debug session through Groovy

Here is the problem; your program fails at a customer's site with an exception, but you can't (or don't want to) reproduce the problem on your computer, because it's too time consuming. If only you could attach the debugger and collect a few information, you can rapidly proceed on fixing the problem. But running a debugger at a customer's site is practically impossible; if the user isn't a techie, it's out of question. Even if he is, you'd still need the source code loaded up in the IDE, then you have to explain to him where he needs to set breakpoints and what to report back to you. It's just too much work.

That's where YouDebug comes into play. YouDebug is a Java program that lets you script a debug session through Groovy. You can think of it as a programmable, non-interactive debugger --- you can create a breakpoint, evaluate expressions, have it dump threads, and a lot more, without requiring any source code. Your customer can just run the tool with the script you supplied, without any knowledge about Java.

YouDebug uses the same Java Debug Interface that IDEs use, so from the point of view of your program, YouDebug behaves as a debugger. Therefore you need not do anything special with your program.

In this way, the troubleshooting of your program gets a lot easier.

http://youdebug.kenai.com/

Filed under  //   debugging   DSL   groovy   java   JDI  
Posted November 10, 2009 by email 
// 0 Comments

Gaelyk tutorial

http://gaelyk.appspot.com/tutorial/

Filed under  //   appengine   cloud   gaelyk   groovy  
Posted September 15, 2009 by email 
// 0 Comments

Groovy Testing

Filed under  //   ci   groovy   tdd   test  
Posted September 15, 2009 by email 
// 0 Comments

GroovyChart

https://groovychart.dev.java.net/images/first_groovychart.png
 
 
Groovy Builder that simplifies creating charts from the Groovy language. GroovyChart is based on the Groovy builder paradigm, and applies it to the well known JFreeChart library.
 
https://groovychart.dev.java.net/
 
Example code:

import com.thecoderscorner.groovychart.chart.ChartBuilder
import groovy.swing.SwingBuilder
import java.awt.BorderLayout as BL
import javax.swing.JFrame
import java.awt.Color
import java.awt.Dimension
import org.jfree.chart.ChartPanel
 
ChartBuilder cb = new ChartBuilder();
def pieChart = cb.piechart3d(title: "Simple Pie Chart") {
  defaultPieDataset {
  Series1(40.0f)
  Series2(30.0f)
  Series3(30.0f)
  }
  antiAlias = true
  backgroundPaint(Color.WHITE)
}
 
def sb = new SwingBuilder()
def fr = sb.frame( title : 'Simple Pie Chart', size:[600, 400],
  defaultCloseOperation: JFrame.EXIT_ON_CLOSE) {
  widget(new ChartPanel(pieChart.chart), constraints: BL.CENTER)
}
fr.pack();
fr.show();

Filed under  //   charts   groovy  
Posted September 7, 2009 by email 
// 0 Comments

Creating a natural language DSL in Groovy

http://blogs.citytechinc.com/sanderson/?p=92

Filed under  //   dsl   groovy  
Posted September 4, 2009 by email 
// 0 Comments

Groovy Testing Aug2009

 

Filed under  //   groovy   test  
Posted September 3, 2009 by email 
// 0 Comments

Tropo: cloud-based communications, Voice applications

Tropo is an application platform that enables web developers to write communication applications in the languages they already use: Groovy, Ruby, PHP, Python and JavaScript. Tropo is in the cloud, so we manage the headaches of dealing with infrastructure and keeping applications up and running at enterprise-grade. Tropo is simple to deploy, requires no contracts and no up-front setup costs. With Tropo developers can build and deploy voice and telephony applications, or add voice to existing applications.

Previously developers had to write voice applications in VoiceXML. This has left out developers who either did not want to learn VoiceXML, wanted the flexibility of working in other development languages or have been working in VoiceXML for 10 years and are ready for a change.



http://tropo.com/

Filed under  //   groovy   java   sip   tropo   voice  
Posted August 27, 2009 by email 
// 0 Comments

Testing OSGi Bundles with Pax Exam, Groovy and Gradle

What is Pax Exam? This framework allows you to write JUnit or TestNG tests and then executes them in the OSGi container of your choosing.

 http://hamletdarcy.blogspot.com/2009/08/testing-osgi-bundles-with-pax-exam.html

Filed under  //   groovy   junit   osgi   pax  
Posted August 16, 2009 by jetztgradnet 
// 0 Comments

Java.next Overview

http://blog.thinkrelevance.com/2008/9/24/java-next-overview

Filed under  //   blog   clojure   groovy   java   jruby   jvm   scala  
Posted August 4, 2009 by email 
// 0 Comments