Coming Up for Air

Ceylon: a First, Quick Take

Last week at Devoxx, Red Hat announced the release of Ceylon 1.0, "a modern, modular, statically typed programming language for the Java and JavaScript virtual machines." A fan of learning languages, I started taking the tour . In no particular order, and without any lengthy rumination, here are my initial thoughts on the language.

Awestruct NetBeans Plugin

Jason lee 2013-09-30

Several weeks ago, I posted blurb about a JavaFX project I had cobbled together, DoctorFX . It is an effort to build a semi-graphical editor for Asciidoc , but it is, currently, very basic. I had some spare time last week, so I decided to add some features to it. As I thought about what needed to be added and what that would require, I thought that, perhaps, an architectural change was warranted. With some time and an itch, I pulled out the sledge hammer and out came a NetBeans plugin. This plugin though, does more than Asciidoc: it offers full(-ish) support for the Awestruct framework.

There are a lot of features I'd like to add still, but, currently it supports only basic project loading and editing. It technically has code to preview Asciidoc files, though I'm having issues getting the rendered page from displaying. (In case you want to take a crack at it, that code is here .) I'd also like to add preview support for Slim and Haml, but that may have to wait a bit.

If you'd like to lend a hand to the effort, you can find the current source on Bitbucket .

This is, of course, a bit heavier than DoctorFX, but most of my work with Asciidoc is, currently, in the context of Awestruct, so this fits my needs better, and it was fun dipping my toes into the NetBeans Platform API. :)

Gradle Tip: Better Test Debugging

In a recent post , I showed how to attach a debugger to tests run from the command line via Gradle. While it worked, it turns out that it's a bit over kill. Try this instead:

$ gradle -Dtest.debug test
:compileJava
:processResources UP-TO-DATE
:classes
:compileTestJava
:processTestResources
:testClasses
:test
Listening for transport dt_socket at address: 5005

Attach your debugger to port 5005, and off you go. No need to modify your build. Kudos to the NetBeans debugger output for helping me find that. ;)

Search

Quotes

Sample quote

Quote source

About

My name is Jason Lee. I am a software developer living in the middle of Oklahoma. I’ve been a professional developer since 1997, using a variety of languages, including Java, Javascript, PHP, Python, Delphi, and even a bit of C#. I currently work for Red Hat on the WildFly/EAP team, where, among other things, I maintain integrations for some MicroProfile specs, OpenTelemetry, Micrometer, Jakarta Faces, and Bean Validation. (Full resume here. LinkedIn profile)

I am the president of the Oklahoma City JUG, and an occasional speaker at the JUG and a variety of technical conferences.

On the personal side, I’m active in my church, and enjoy bass guitar, running, fishing, and a variety of martial arts. I’m also married to a beautiful woman, and have two boys, who, thankfully, look like their mother.

My Links

Publications