I've been working on a fairly large system written mainly in groovy that is
made up of a number of applications.   The two biggest are a desktop system
that is used to develop a model and a web system that is used to run it and
look at the data.   Developing a model usually requires specifying hundreds
of formulas, and each formula is a tiny groovy script.   A few scripts are
bigger, a few are hundreds of lines, but most are small.

The system was developed with Eclipse, but eventually we moved over to
Gradle as our main build environment.    I still use Eclipse for
development, it is pretty helpful in debugging.   For a while I tried an
Eclipse plugin for Groovy and Gradle, but eventually decided it was too
much trouble and now just keep the Gradle scripts and the Eclipse build
system in synch by hand.

I've got one power user who keeps Eclipse installed on his machine so that
I can run the debugger.   He is outstanding at finding bugs.   Recently he
had a problem on his computer that wrecked his Eclipse workspace, though
not the Eclipse installation.   So, I just built a new workspace by
checking out all the packages that he used.    I discovered that I was
missing a few files that Eclipse used, but not Gradle.   It probably had
been more than a year since I had checked out packages into a new Eclipse
workspace, but I check out sources and build with Gradle nearly every day.

There is still a problem with running on his machine.    Some scripts have
a problem with transformations.   When I evaluate the script, I get the
message

Unknown transformation for argument
groovy.lang.ExpandoMetaClass$ExpandoMetaProperty for parameter of type Class

Note that the system works fine on Eclipse on my machine and the gradle
versions work fine, it is just this one Eclipse installation that has
problems.   I assume the problem is that I didn't commit a file that I
should have committed, but I don't know what to look for.    I don't know
where transformations are stored.   I know more or less how they work, but
have never written one.

Does anybody have suggestions about what to look for?

-Ralph Johnson

Reply via email to