fluflu icon indicating copy to clipboard operation
fluflu copied to clipboard

How to use this tool ?

Open monmouth opened this issue 10 years ago • 1 comments

Hi , I am very interested in this tool, but I don't know how to use it in my maven project for the code generation part.

I write a small class like:

@Fluentize(className = "CoreClass", startState = "new", startMethod = "create") public class CriticalPathMethod implements Cloneable {

.....

}

And in the command line, I try:

apt -cp ./:./fluflu-2.0.0.jar monmouth/schedule/logic/CriticalPathMethod.java

But nothing happens. Will you please give some use case samples? Really appreciate.

Ken

monmouth avatar Jul 02 '15 05:07 monmouth

Use java 7 or 8.

Have fluflu as compile dependency.

Do not run apt, it is part of javac and is executed automatically.

Have a look at the scriapt and scriapt samples project.

On Thu, Jul 2, 2015 at 7:00 AM, Monmouth [email protected] wrote:

Hi , I am very interested in this tool, but I don't know how to use it in my maven project for the code generation part. I write a small class like: @Fluentize(className = "CoreClass", startState = "new", startMethod = "create") public class CriticalPathMethod implements Cloneable { ..... } And in the command line, I try: apt -cp ./:./fluflu-2.0.0.jar monmouth/schedule/logic/CriticalPathMethod.java But nothing happens. Will you please give some use case samples? Really appreciate.

Ken

Reply to this email directly or view it on GitHub: https://github.com/verhas/fluflu/issues/16

verhas avatar Jul 02 '15 07:07 verhas