Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this tool ? #16

Open
monmouth opened this issue Jul 2, 2015 · 1 comment
Open

How to use this tool ? #16

monmouth opened this issue Jul 2, 2015 · 1 comment

Comments

@monmouth
Copy link

monmouth commented Jul 2, 2015

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

@verhas
Copy link
Owner

verhas commented Jul 2, 2015

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 notifications@github.com 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:
#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants