Skip to content
This repository has been archived by the owner on Feb 17, 2018. It is now read-only.

jle/poppy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Poppy generates Java source files from Ant properties.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published