When using the two compile steps the package-info.class are getting corrupted. For this reason I am switching back to a single compile, but without the -s option to avoid the problem on Mac. As a result the meta model classes are generated in target/classes/test. On the other hand the build script is simpler, because it relies on more defaults.
Tokens use now the @property@ syntax instead of ${property}, because underneath
ant filtering is used. Also remove hibernate.connection.isolation property which
is irrelevant for these tests.
Update gradle build script to use filtering when copying the bundle resources.
The script also adds a new compilation task for just compiling the metamodel.
Seems to be needed for Mac.