BATCH-2229 & BATCH-2218: Removed OSGi related metadata and Maven POMs

This commit is contained in:
Michael Minella
2014-05-08 14:37:27 -05:00
parent 76af420116
commit e7a4e348a5
147 changed files with 499 additions and 5044 deletions

View File

@@ -30,7 +30,7 @@ public class OutputFileListener {
private String inputKeyName = "fileName";
private String path = "file:./target/output/";
private String path = "file:./build/output/";
public void setPath(String path) {
this.path = path;

View File

@@ -30,7 +30,7 @@ import org.springframework.batch.item.ItemReader;
* {@link ItemReader} that can identify the record boundaries. The custom reader
* should mark the beginning and end of records by returning an
* {@link AggregateItem} which responds true to its query methods
* <code>is*()</code>.<br/><br/>
* <code>is*()</code>.<br><br>
*
* This class is thread-safe (it can be used concurrently by multiple threads)
* as long as the {@link ItemReader} is also thread-safe.

View File

@@ -1,7 +1,7 @@
# Placeholders batch.*
# for H2:
batch.jdbc.driver=org.h2.Driver
batch.jdbc.url=jdbc:h2:file:target/data/h2
batch.jdbc.url=jdbc:h2:file:build/data/h2
batch.jdbc.user=sa
batch.jdbc.password=
batch.jdbc.testWhileIdle=false

View File

@@ -74,7 +74,7 @@
<bean id="fileItemWriter1" class="org.springframework.batch.item.file.FlatFileItemWriter">
<property name="name" value="fw1" />
<property name="resource" value="file:target/test-outputs/CustomerReport1.txt" />
<property name="resource" value="file:build/test-outputs/CustomerReport1.txt" />
<property name="lineAggregator">
<bean class="org.springframework.batch.item.file.transform.PassThroughLineAggregator" />
</property>
@@ -82,7 +82,7 @@
<bean id="fileItemWriter2" class="org.springframework.batch.item.file.FlatFileItemWriter">
<property name="name" value="fw2" />
<property name="resource" value="file:target/test-outputs/CustomerReport2.txt" />
<property name="resource" value="file:build/test-outputs/CustomerReport2.txt" />
<property name="lineAggregator">
<bean class="org.springframework.batch.item.file.transform.PassThroughLineAggregator" />
</property>

View File

@@ -35,7 +35,7 @@
void execute() {
def ant = new AntBuilder()
ant.unzip(src:"src/main/resources/data/groovyJob/input/files.zip",
dest:"target/groovyJob/staging")
dest:"build/groovyJob/staging")
}
}
</lang:inline-script>
@@ -46,9 +46,9 @@
class ZipTasklet {
void execute() {
def ant = new AntBuilder()
ant.mkdir(dir:"target/groovyJob/output")
ant.zip(destfile:"target/groovyJob/output/files.zip",
basedir:"target/groovyJob/staging", includes:"**")
ant.mkdir(dir:"build/groovyJob/output")
ant.zip(destfile:"build/groovyJob/output/files.zip",
basedir:"build/groovyJob/staging", includes:"**")
}
}
</lang:inline-script>

View File

@@ -61,6 +61,6 @@
</bean>
<bean id="outputResource" class="org.springframework.core.io.FileSystemResource">
<constructor-arg type="java.lang.String"
value="target/test-outputs/headerFooterOutput.txt" />
value="build/test-outputs/headerFooterOutput.txt" />
</bean>
</beans>

View File

@@ -35,7 +35,7 @@
<bean id="itemWriter" class="org.springframework.batch.sample.iosample.internal.MultiLineTradeItemWriter">
<property name="delegate">
<bean class="org.springframework.batch.item.file.FlatFileItemWriter">
<property name="resource" value="file:target/test-outputs/multiLineOutput.txt" />
<property name="resource" value="file:build/test-outputs/multiLineOutput.txt" />
<property name="lineAggregator">
<bean class="org.springframework.batch.item.file.transform.PassThroughLineAggregator" />
</property>

View File

@@ -55,7 +55,7 @@
<bean id="itemWriter" class="org.springframework.batch.item.file.FlatFileItemWriter">
<property name="resource" value="file:target/test-outputs/multiRecordTypeOutput.txt" />
<property name="resource" value="file:build/test-outputs/multiRecordTypeOutput.txt" />
<property name="lineAggregator">
<bean class="org.springframework.batch.sample.iosample.internal.DelegatingTradeLineAggregator">
<property name="tradeLineAggregator" ref="tradeLineAggregator" />

View File

@@ -31,6 +31,6 @@
</bean>
<bean id="outputResource" class="org.springframework.core.io.FileSystemResource">
<constructor-arg value="target/test-outputs/output.xml" />
<constructor-arg value="build/test-outputs/output.xml" />
</bean>
</beans>

View File

@@ -23,7 +23,7 @@
<bean id="writer" class="org.springframework.batch.item.file.FlatFileItemWriter">
<property name="resource"
value="file:target/test-outputs/20070122.testStream.multilineStep.txt" />
value="file:build/test-outputs/20070122.testStream.multilineStep.txt" />
<property name="lineAggregator">
<bean
class="org.springframework.batch.item.file.transform.PassThroughLineAggregator" />

View File

@@ -58,7 +58,7 @@
</bean>
<bean id="fileItemWriter" class="org.springframework.batch.item.file.FlatFileItemWriter">
<property name="resource" value="file:target/test-outputs/multilineOrderOutput.txt" />
<property name="resource" value="file:build/test-outputs/multilineOrderOutput.txt" />
<property name="lineAggregator">
<bean class="org.springframework.batch.sample.domain.order.internal.OrderLineAggregator">
<property name="aggregators" ref="outputAggregators"/>

View File

@@ -28,7 +28,7 @@
</step>
<bean id="fileNameListener" class="org.springframework.batch.sample.common.OutputFileListener" scope="step">
<property name="path" value="file:./target/output/file/" />
<property name="path" value="file:./build/output/file/" />
</bean>
@@ -42,7 +42,7 @@
</bean>
<bean id="outputTestReader" class="org.springframework.batch.item.file.MultiResourceItemReader" scope="prototype">
<property name="resources" value="file:target/output/file/delimited*.csv" />
<property name="resources" value="file:build/output/file/delimited*.csv" />
<property name="delegate" ref="testItemReader" />
</bean>

View File

@@ -30,7 +30,7 @@
</step>
<bean id="fileNameListener" class="org.springframework.batch.sample.common.OutputFileListener" scope="step">
<property name="path" value="file:./target/output/jdbc/" />
<property name="path" value="file:./build/output/jdbc/" />
</bean>
<bean id="itemReader" scope="step" autowire-candidate="false" class="org.springframework.batch.item.database.JdbcPagingItemReader">
@@ -60,7 +60,7 @@
</bean>
<bean id="outputTestReader" class="org.springframework.batch.item.file.MultiResourceItemReader" scope="prototype">
<property name="resources" value="file:target/output/jdbc/*.csv" />
<property name="resources" value="file:build/output/jdbc/*.csv" />
<property name="delegate" ref="testItemReader" />
</bean>

View File

@@ -61,6 +61,6 @@
</bean>
<bean id="outputResource" class="org.springframework.core.io.FileSystemResource">
<constructor-arg value="target/test-outputs/restartFileOutput.csv" />
<constructor-arg value="build/test-outputs/restartFileOutput.csv" />
</bean>
</beans>

View File

@@ -80,7 +80,7 @@
<bean id="customerReportItemWriter" class="org.springframework.batch.sample.domain.trade.internal.FlatFileCustomerCreditDao">
<property name="itemWriter">
<bean class="org.springframework.batch.item.file.FlatFileItemWriter">
<property name="resource" value="file:target/test-outputs/20070122.testStream.CustomerReportStep.TEMP.txt" />
<property name="resource" value="file:build/test-outputs/20070122.testStream.CustomerReportStep.TEMP.txt" />
<property name="lineAggregator">
<bean class="org.springframework.batch.item.file.transform.PassThroughLineAggregator" />
</property>