Poppy generates Java source files from Ant properties.
Java Shell Groovy
Switch branches/tags
Nothing to show
Latest commit 4804841 May 16, 2013 @jle Update .travis.yml
Uses install instead of before_install.
Permalink
Failed to load latest commit information.
config
gradle/wrapper
src
.gitignore
.travis.yml
LICENSE
README.md
build.gradle
build.xml
gradlew
gradlew.bat

README.md

Poppy

Generates Java source code from Ant properties. Developed by Jonathan Le.

Build Status

What does it do?

It converts this:

my.property=My Property

Or this:

<property name="debug" value="true"/>

Into this:

public static final String MY_PROPERTY = "My Property";
public static final boolean DEBUG = true;

Why would I need that?

There are many uses. For example, you might want to conditionally compile some code based on a property set at build time.

if (DEBUG) {
    ...
}

But I'm sure you'll be able to come up with more interesting uses than that.

More Info

Please see the wiki for instructions on how to use poppy.