--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Lombok works just fine in GWT - I use it everyday. There are a couple of caveats that aren't explicitly documented in that page. Here are the steps...1. Add lombok to eclipse.ini so things work in eclipse workspace:-javaagent:{some.lombok.dir}/lombok.jar=ECJ-Xbootclasspath/a:{some.lombok.dir}/lombok.jar2. Add lombok to your GWT build script so your automated compiles work:<jvmarg value="-javaagent:${some.lombok.dir}/lombok.jar=ECJ" />3. Add lombok to your eclipse launch config (in the VM args section) so your GWT debugging works:-javaagent:{some.lombok.dir}/lombok.jar=ECJ3.1: There is a defect in the Google plugin when using App Engine that will overwrite all other javaagents in the VM args section with the app engine javaagents. To work around this evil bug I made the .launch read-only on the file system. If you aren't using app engine then you need not be concerned about this.Basically, lombok needs to exist everywhere there is compiling going on. Make sure that {some.lombok.dir} all points to the same version of lombok.Good luck.
--
Looks to me like someone needs to add the extra 2 locations to the documentation and figure out the 3rd location if it exists or put the caveat that designer is not supported into the documentation. Other than that, support for GWT sounds like its good.
We can't be held responsible for Google misbehaving with App Engine - but perhaps Tony could raise a bug for them? I've found the App Engine team pretty responsive in the past. Let us know the issue location so we can star it.
I wouldn't exactly call any of that a hack but to each their own. As far as GWT Designer goes I have no idea what does or doesn't work because I don't use it. Aside from the Designer what exactly isn't working for you? It doesn't really matter to me since it is working fine for all my projects but someone else might benefit from the information.
Lombok works just fine in GWT - I use it everyday. There are a couple of caveats that aren't explicitly documented in that page. Here are the steps...1. Add lombok to eclipse.ini so things work in eclipse workspace:-javaagent:{some.lombok.dir}/lombok.jar=ECJ-Xbootclasspath/a:{some.lombok.dir}/lombok.jar2. Add lombok to your GWT build script so your automated compiles work:<jvmarg value="-javaagent:${some.lombok.dir}/lombok.jar=ECJ" />3. Add lombok to your eclipse launch config (in the VM args section) so your GWT debugging works:-javaagent:{some.lombok.dir}/lombok.jar=ECJ3.1: There is a defect in the Google plugin when using App Engine that will overwrite all other javaagents in the VM args section with the app engine javaagents. To work around this evil bug I made the .launch read-only on the file system. If you aren't using app engine then you need not be concerned about this.Basically, lombok needs to exist everywhere there is compiling going on. Make sure that {some.lombok.dir} all points to the same version of lombok.Good luck.
On Wednesday, April 3, 2013 6:52:01 AM UTC-6, rjdkolb wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Project Lombok" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/project-lombok/WwiymShYBsg/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to project-lombo...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
Tony's comments are for ECJ ( = Eclipse Compiler Java )and as far as I know do not (or should not) make any difference for this particular issue.
Also, there is the 'new developer mode' introduced in GWT 2.5,Not sure how this affects things as well.
Perhaps the maintainers can take a look at supporting GWT?Just asking here ...
BIgger problem, at least for me, is that GWT designer doesn't even work at allif lombok is installed in eclipse, forcing us to use 2 versions of eclipse,one with lombok for everything, and one for GWT work, without lombok.What a pain!!!
There are 10 issues already for GWT/Lombok that have been opened, even accepted,for years now, with no progress, unfortunately. Maybe adding more is a good thing, I don't know...
Hi all,
As one of the core Lombok developers I can tell you that we would love to have good GWT support.
The problem we gave is that since we are not GWT users ourselves we totally depend on others to tell us what works and what doesn't work. Also, it is not that we haven't enough to do already.
The main problem we have is that we ourselves don't feel the pain combined with the fact that we don't even know how to set up a representative test environment and keep (it) up-to-date.
That's why we do spend quite some time one helping others to find solutions and create patches that we review and incorporate.
So please, if you care about excellent GWT support in Lombok, tell us what you need so you can create tests, patches etc. Patches for documentation are welcome as well.
In the end, Lombok is an open source project for a reason and all work is done by volunteers. And the way it works best is if those are passionate about a certain feature. The current volunteers are not that passionate about GWT. If you are, please consider becoming a contributor.
Roel
Lombok works just fine in GWT - I use it everyday. There are a couple of caveats that aren't explicitly documented in that page. Here are the steps...1. Add lombok to eclipse.ini so things work in eclipse workspace:-javaagent:{some.lombok.dir}/lombok.jar=ECJ-Xbootclasspath/a:{some.lombok.dir}/lombok.jar2. Add lombok to your GWT build script so your automated compiles work:<jvmarg value="-javaagent:${some.lombok.dir}/lombok.jar=ECJ" />3. Add lombok to your eclipse launch config (in the VM args section) so your GWT debugging works:-javaagent:{some.lombok.dir}/lombok.jar=ECJ3.1: There is a defect in the Google plugin when using App Engine that will overwrite all other javaagents in the VM args section with the app engine javaagents. To work around this evil bug I made the .launch read-only on the file system. If you aren't using app engine then you need not be concerned about this.Basically, lombok needs to exist everywhere there is compiling going on. Make sure that {some.lombok.dir} all points to the same version of lombok.Good luck.
On Wednesday, April 3, 2013 6:52:01 AM UTC-6, rjdkolb wrote:
--
--
You received this message because you are subscribed to a topic in the Google Groups "Project Lombok" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/project-lombok/WwiymShYBsg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to project-lombo...@googlegroups.com.
<executions> <execution> <configuration> <extraJvmArgs>-javaagent:${lombok.jar.loc}=ECJ -Xmx512M -Xss1024k</extraJvmArgs> </configuration> <goals>
</goals> </execution> </executions>
<plugin> <!-- We need to refer to a JAR location in gwt-maven-plugin --> <artifactId>maven-dependency-plugin</artifactId> <version>2.5.1</version>
<executions> <execution> <id>getClasspathFilenames</id>
<goals> <goal>properties</goal> </goals> </execution> </executions></plugin>
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>${gwt.version}</version>
<executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions>
<configuration> <compileSourcesArtifacts> <!-- other projects containing GWT modules; these projects need to utilize maven-source-plugin --> <artifact>net.jzaruba.xyz:Domain</artifact> <artifact>net.jzaruba:GWT</artifact> </compileSourcesArtifacts>
<!-- --> <server>com.google.appengine.tools.development.gwt.AppEngineLauncher</server> <port>8080</port> <appEngineHome>${appEngineSdk}</appEngineHome> <appEngineVersion>${appengine.target.version}</appEngineVersion> <runTarget>http://somedomain.com:8080/</runTarget> <!-- hosts file --> <extraJvmArgs>-javaagent:${org.projectlombok:lombok:jar}=ECJ -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</extraJvmArgs> </configuration></plugin>
-javaagent:C:\Development\Lombok\gwt\lombok.jar=ECJ
-Xbootclasspath/p:C:\Development\Lombok\gwt\lombok.jar;C:\Development\Lombok\gwt\org.eclipse.jdt.core_3.11.2-CUSTOM-GWT-2.8-20160205.jar
-javaagent:C:\Development\Lombok\gwt\lombok.jar=ECJ 

-Xbootclasspath/p:C:\Development\Lombok\gwt\lombok.jar;C:\Development\Lombok\gwt\org.eclipse.jdt.core_3.11.2-CUSTOM-GWT-2.8-20160205.jar
--
You received this message because you are subscribed to a topic in the Google Groups "Project Lombok" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/project-lombok/WwiymShYBsg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to project-lombo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/project-lombok/320ebf0a-bd7e-420f-9d55-19daf4f8928dn%40googlegroups.com.