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


-- 
View this message in context: 
http://www.nabble.com/servicemix-script-example---%40Property-annotation-tp17322067p17336450.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to