Closed GoogleCodeExporter closed 9 years ago
Are you using the lastest snapshot available ?
I commited something to fix this yesterday on github
(https://github.com/gwt-test-utils/gwt-test-utils/commit/62669b36ef398332a5d52fb
e303ab0cbcbe4ed30)
But maybe I forgot to deploy a new snapshot. I've just uploaded one just in
case.
The modification I made was just to add this line in the
META-INF/gwt-test-utils.properties used internally :
target/generated-sources/gwt = src-directory
Could you please give it another try after an update to the lastest
0.40-SNAPSHOT ?
Original comment by gael.laz...@gmail.com
on 27 Aug 2012 at 12:18
Sorry, I didn't notice that today I wasn't getting errors for generated service
stubs.
Lombok, though, puts its generated sources in generated-sources/delombok by
default.
I configured lombok to put generated files in the gwt folder, but I still get
errors for:
* java.lang.Thread
* com.googlecode.gwt.test.GwtTestWithEasyMock
* com.googlecode.gwt.test.GwtCreateHandler
* org.apache.commons.collections.CollectionUtils
* org.easymock.EasyMock
* org.easymock.Capture<T>
* org.easymock.CaptureType
* org.junit.Assert
* some of my modules server-side only
This might make sense, since they wouldn't be available in client-side code,
but I don't think that's the expected behavior.
Original comment by djjeck
on 27 Aug 2012 at 2:19
Instead of moving your generated-sources package to "generated-sources/gwt"
(which is the default location used when generating a GWT project with the
gwt-maven-archetype), you could have add this line in your
META-INF/gwt-test-utils.properties file :
generated-sources/delombok = src-directory
I apology it's not (yet) documented anywhere.
By the way, the GwtTreeLogger errors you've steel got are not relevant :
gwt-test-utils does not required java source file for classes which are not
actually used on client side. I just don't find a smart way (yet) to filter
those error not to be logged..
Your unit tests are expected to pass anyway. Aren't they ?
Original comment by gael.laz...@gmail.com
on 27 Aug 2012 at 4:09
I confirm that's a valid workaround for delomboked files, and that the rest of
errors don't affect the execution of the tests.
(Sorry for the late reply)
Original comment by djjeck
on 15 Sep 2012 at 5:55
Original comment by gael.laz...@gmail.com
on 15 Sep 2012 at 6:00
You should update to the 0.41 release. The irrelevant error message should not
be logged by GwtTreeLogger anymore ;)
Anyway, thank you very much for your feedback !
Original comment by gael.laz...@gmail.com
on 15 Sep 2012 at 6:01
Original issue reported on code.google.com by
djjeck
on 27 Aug 2012 at 11:07