Albert,

It looks like it was a built-in annotation in Groovy some time in the past that was removed in later versions. (http://fisheye.codehaus.org/browse/groovy/trunk/groovy/groovy-core/src/main/org/codehaus/groovy/ast/AnnotationNode.java?r1=3104&r2=4294)

We should probably upgrade the version of Groovy we are using inside ServiceMix, so you can use modern IDEs and recent version of the Groovy compiler as you are trying to do. Feel free to open a JIRA issue for that (and optionally provide a patch for it).

Gert

Albert.Deinbeck wrote:
Perhaps I didn't make myself clear enough. My Groovy Compiler wants to have
an import statement for "Property". Like
import some.package.path.Property;
I would like my groovy files to compile standalone for testing.
There exist thousands of implementations of @Property annotations and I
don't know which one you are using.

Albert,

This @Property is defined in this file (http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/serviceengines/servicemix-script/src/test/resources/spring.xml). Note that this file is for starting ServiceMix with a static configuration for testing purposes (that's what all the <sm:xyz/> elements are for), but it should give you an idea how you use the @Property to add the ScriptHelpers in your xbean.xml for JBI deployment as well.

Regards,

Gert



Reply via email to