If that doesn't seem to work, try replacing -classpath pathTo/lombok.jar with -Xbootclasspath/p:pathTo/lombok.jar - but I don't think that's necessary.
I tried using Lombok in a GWT Eclipse project (with maven also).When annotating a field at server side with @Getter the getter is generated, doing so at client side seems to work also, but..
when starting the application with the Eclipse Google Plugin I cannot open it in the browser:
Eclipse says:
Error opening zip file or JAR manifest missing : lombok.jar
Error occurred during initialization of VM
agent library failed to init: instrument
I have added -classpath <pathTo>/lombok.jar -javaagent:lombok.jar=ECJ as VM arguments in the run configuration of Eclipse Web Application.
Without it, I got the message : The method getHello() is undefined for the type MyClientData
source for MyClientData
package de.krm.client;
public class MyClientData {
@Getter
private String hello = "Hi";
}
A solution with maven will please me at most, since I am planning to use delombok as well before starting the GWT compiler.