I was following this guide to create my SwitchYard project and found that the Test is not generated at all. I get only a blank Test file. It seem to be asking a @Service annotation on the interface. Any one else getting this? I am using Eclipse 3.6.0, m2eclipse 1.0.100.xxxx
Is there anything in the Eclipse error log? I've been using this for a while now with Eclipse 3.7 and haven't seen any issues like the one you're describing. I've even been able to create a test class in a project that is not a SY project.
If you could provide more information, or some some steps to recreate, that would certainly help.
Here is what I did.
1. Upgraded my 3.6.0 Eclipse's m2eclipse to 1.0.100.xxx as per the docs.
2. Created new SwitchYard 0.3.0.Final project.
3. Created a new Java Interface called ExampleService with one method
String sayHello(String name);
4. Selecting this Interface created a new Bean Service
5. Selecting the same Interface trying to create a Service Test shows warning
com.example.switchyard.switchyard_example.ExampleService is not used as a SwitchYard service.
6. Clicking Finish generates an empty ExampleServiceTest file.
I've confirmed that this is an issue when using SY tools on top of Eclipse 3.6. (I should have tested this, as opposed to assuming it would work.) I should have a fix committed shortly. Here's the JIRA: https://issues.jboss.org/browse/SWITCHYARD-593