Hi,
I have a GWT project with two Maven modules and a hierarchical directory
layout (as shown in the gwt-maven-plugin documentation). When I build
from the parent directory I get a message saying "Unable to create new
cache log file" and a stack trace. The message appears just before
GwtTests are run.
The build succeeds anyway, so it's really just an annoyance, but I'd
still like to fix it. I can see that the plugin is trying to access a
sub-directory of "target" in the parent folder, however there is no
"target" in that folder.
The message doesn't appear when I build from the child module directory.
So I'm assuming it has something to do with coordinating paths between
parent and child Maven modules.
The full error message is the same as in GWT issue 6443:
http://code.google.com/p/google-web-toolkit/issues/detail?id=6443
As suggested there, I tried setting gwt.persistentunitcache from the
command line. I also tried including, in both the parent pom and the
child pom, the snippet shown there---to no avail.
In case it's relevant: my GwtTests are configured as suggested in the
gwt-maven-plugin documentation > Testing > Use GWTTestSuite padawan. (I
use a GWTTestSuite and test names follow the plugin's default naming
conventions.)
Many thanks in advance for your suggestions, greetings,
Andrew