Changes to make 'mvn clean test' succeed, add .springBean configuration where missing.

This commit is contained in:
Rossen Stoyanchev
2010-12-17 11:56:25 +00:00
parent f1357b0cf3
commit 434a9e678d
59 changed files with 363 additions and 51 deletions

View File

@@ -15,8 +15,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.springframework.ide.eclipse.core.springnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>

View File

@@ -0,0 +1,3 @@
#Fri Dec 17 11:46:24 GMT 2010
eclipse.preferences.version=1
org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false

14
basic/xml/.springBeans Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<beansProjectDescription>
<version>1</version>
<pluginVersion><![CDATA[2.5.1.201011101000-RELEASE]]></pluginVersion>
<configSuffixes>
<configSuffix><![CDATA[xml]]></configSuffix>
</configSuffixes>
<enableImports><![CDATA[true]]></enableImports>
<configs>
<config>src/main/resources/META-INF/spring/integration/orderProcessingSample.xml</config>
</configs>
<configSets>
</configSets>
</beansProjectDescription>

View File

@@ -49,12 +49,12 @@ import org.springframework.integration.message.GenericMessage;
*
* @author Jonas Partner
*/
public class BookOrderProcessingTest {
public class BookOrderProcessingTestApp {
public static void main(String[] args) throws Exception {
AbstractApplicationContext applicationContext =
new ClassPathXmlApplicationContext("/META-INF/spring/integration/orderProcessingSample.xml",
BookOrderProcessingTest.class);
BookOrderProcessingTestApp.class);
MessageChannel messageChannel = (MessageChannel) applicationContext.getBean("ordersChannel");
GenericMessage<Document> orderMessage =
createXmlMessageFromResource("META-INF/spring/integration/order.xml");