Seam-gen and groovy

I recently added a groovy action class to my seam-gen project. After a while eclipse’s auto-build kept giving me these misleading ant errors in the groovy.compilemodel task:

groovyc doesn't support the "srcdir" attribute

It took me a while to fix this issue. When i ran the compile target manually there was no problem, so eventually i figured it had to do with the explode launcher that was generated by seam-gen. You need to let it run in a separate JVM.
First, right-click on the project and select “Properties”.

Properties for open18

Next, select “Builders” and Edit the explode builder.

Edit Configuration
Edit configuration

Finally, click the “JRE” tab en select “Separate JRE” as the runtime JRE.

After this the auto-build error should be gone.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s