From ce64cfad34fb9327010c49fba81e60eb600d7de2 Mon Sep 17 00:00:00 2001 From: Jarred Li Date: Sat, 7 Apr 2012 19:14:16 +0800 Subject: [PATCH] change folder structure --- .../shell/samples/helloworld/HelloWorldPlugin.java | 4 +++- .../resources/{ => META-INF/spring}/spring-shell-plugin.xml | 0 2 files changed, 3 insertions(+), 1 deletion(-) rename samples/helloworld/src/main/resources/{ => META-INF/spring}/spring-shell-plugin.xml (100%) diff --git a/samples/helloworld/src/main/java/org/springframework/shell/samples/helloworld/HelloWorldPlugin.java b/samples/helloworld/src/main/java/org/springframework/shell/samples/helloworld/HelloWorldPlugin.java index 7d9b9674..07477c1a 100644 --- a/samples/helloworld/src/main/java/org/springframework/shell/samples/helloworld/HelloWorldPlugin.java +++ b/samples/helloworld/src/main/java/org/springframework/shell/samples/helloworld/HelloWorldPlugin.java @@ -4,7 +4,9 @@ import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration -@ComponentScan({"org.springframework.shell.commands", "org.springframework.shell.converters"}) +@ComponentScan({"org.springframework.shell.commands", + "org.springframework.shell.converters", + "org.springframework.shell.samples.helloworld.commands"}) public class HelloWorldPlugin { diff --git a/samples/helloworld/src/main/resources/spring-shell-plugin.xml b/samples/helloworld/src/main/resources/META-INF/spring/spring-shell-plugin.xml similarity index 100% rename from samples/helloworld/src/main/resources/spring-shell-plugin.xml rename to samples/helloworld/src/main/resources/META-INF/spring/spring-shell-plugin.xml