The .gitignore changes look great, that patch got some good input as well.
I upgraded/updated/rebased tools and trunk today. Most of my UiBinder
issues are gone, but I'm still seeing the Menu.css issue. It doesn't matter
if I disable GWT for gwt-user or not. It also does not matter if I go to
Project->Properties->Builders and disable "Google WebApp Project Validator"
and "Google Web Toolkit Project Validator" I can safely ignore it though.
I've opened up GPE issue 286
<https://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=286> to
track this. I may also try to fix it ;)
Now I'm having another issue (and it was happening before the rebase as
well), I can't get requestfactory-apt to build via ant:
gwt/trunk/requestfactory$ ant
Buildfile: gwt/trunk/requestfactory/build.xml
requestfactory-apt:
[java] Exception in thread "main" java.lang.ClassFormatError:
Truncated class file
[java] at java.lang.ClassLoader.defineClass1(Native Method)
...
[java] at java.lang.Class.forName(Class.java:190)
[java] at
com.google.web.bindery.requestfactory.server.RequestFactoryJarExtractor.<clinit>(RequestFactoryJarExtractor.java:824)
BUILD FAILED
gwt/trunk/requestfactory/build.xml:48: The following error occurred while
executing this line:
gwt/trunk/requestfactory/build.xml:30: Java returned: 1
I've tried doing cleans from Eclipse, ant, etc and that hasn't helped. I've
seen some SO issues that say this can be caused by corrupted jars in Maven,
but this should be doing straight ANT without Maven for requestfactory
afaik.
I've searched here, Google, and in the google-web-toolkit group and hasn't
found anything yet that solves this or appears to be the same issue.
The ANT line that is failing is this one:
<target name="requestfactory-apt" description="Build RequestFactory apt
jar">
* <requestfactory-jar target="apt"/>*
</target>
I am able to build gwt-dev, doc, codeserver, gwt-site, soyc, buildtools,
tools, samples, jni, servlet, and elemental, but gwt-user depends on
requestfactory-apt, so I am not able to build it.
...
*Actually, I was just able to fix it* *by changing
the Project->Properties->Java Compiler->AnnotationProcessor->Factory Path
to GWT_ROOT/build/lib/requestfactory-apt.jar.* It is a little bit odd that
changing the Eclipse settings fixed my ANT build... but I'm just happy that
it is finally working. If it wasn't this change that fixed it, perhaps it
was just going through and trying to build everything else (perhaps the
target ordering is slightly out of whack if that is the case). I'm now able
to build dist-dev and dist again!
Setting GWT_VERSION to 2.7.0 via .bashrc seems to have solved the issue of
generating dirs and jars named gwt-0.0.0*. Is this supposed to be picked up
somewhere in the repository or does each developer need to set it?
I'm now able to build the GWT trunk and the GPE! woo! Now I just need to
get all of the tests passing and checkstyle configured properly.
Michael Prentice
GDG Space Coast
On Wednesday, December 18, 2013 9:26:50 AM UTC-5, Jens wrote:
>
> *Adding the following to the .gitignore_global file helped quite a bit
>> with ignoring generated Elemental files:*
>> *elemental/idl/***
>>
>>
> I have create a patch some time ago which adds some more .gitignore files:
>
> https://gwt-review.googlesource.com/#/c/5358/
>
> Feel free to try it out and/or review it ;-)
>
>
> All the other errors you are seeing in Eclipse are probably GPE bugs. Most
> of the time I do not add the GWT facet to the project so that GPE doesn't
> annoy me. Maybe it is also possible to enable GPE but disable the GWT
> validators in Eclipse project settings.
>
> From my experience you actually do not have to enable GPE for
> gwt-user/gwt-dev. The only benefit I have seen so far is that you are able
> to do "right click -> run test" if GPE is enabled because it will generate
> the correct JUnit launch configuration. Without GPE you can still use ant
> or create that JUnit launch config manually (although its easy to miss some
> source/super-source folders on classpath).
>
>
> -- J.
>
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit-contributors/0b8b9e24-d035-491a-82ea-bd088a4e748a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.