Search:

Type: Posts; User: psoares; Keyword(s):

Search: Search took 0.01 seconds.

  1. Nice ! It looks a lot cleaner than passing...

    Nice !
    It looks a lot cleaner than passing things to the jobContext map !
    Thanks for the tip ;-)
  2. Replies
    2
    Views
    848

    Hi Ton, Thank you very much ! I'll look into...

    Hi Ton,
    Thank you very much ! I'll look into this first thing tomorrow at work and compare it with what I did.
    I managed to solve my problem by defining a job with sequencial steps, corresponding...
  3. Replies
    2
    Views
    848

    Flow definition and partitionned steps

    Hello !
    I've created a job with partitionned steps in this way :


    <batch:job id="partitionJob">
    <batch:step id="step1" next="step2">
    ...
  4. Replies
    1
    Views
    322

    How are you trying to run these jobs ? From an...

    How are you trying to run these jobs ? From an IDE ? From the commandline ?
    Maybie you are just missing some configuration class... your missing beans (datasource, transactionmanager...) may be...
  5. Hi, My understanding is that the step scope is...

    Hi,
    My understanding is that the step scope is for beans that can participate in a step (ItemReaders, ItemWriters, Itemprocessors, etc.).
    A PropertyPlaceHolder configurator does not seem to fall in...
  6. I found out what my problem was. I was calling...

    I found out what my problem was.
    I was calling my job in a script this way :


    #!/bin/bash

    typeset inputFile=$1
    [...]
    java org.springframework.batch.core.launch.support.CommandLineJobRunner...
  7. CommandLineJobRunner and MultiResourcePartitionner

    Hi !
    I built a job to process multiple huge xml gzipped files in parallel and write each input file to a distinct tsv file. For that, I use MultiResourcePartitionner.
    Everything works well when I...
  8. Simpler solution

    I knew this couldn't be that difficult :p. I know groovy is great for building markup, so I decided to give it a try, and I managed to achieve the same results in a single step using this spring...
  9. Try this

    Hi Emilio,
    It can be achieved with some work with a 2-step flow.
    First, check this part of the documentation.

    So, following this, I took a concrete example with a simple object called "Author",...
  10. Overriding write(List

    Maybie I misunderstood your point, but why don't you create a custom ItemProcessor like the one below and leave your itemwriter as it is ?



    import java.util.ArrayList;
    import java.util.List;
    ...
  11. Replies
    10
    Views
    3,171

    Weird...

    I added an exclusions block to the spring-batch-core to exclude spring-core, spring-beans, spring-aop, spring-context and spring-tx, then I added those dependencies with version 3.0.5.RELEASE.
    ...
  12. Replies
    10
    Views
    3,171

    How ?

    Sorry for my lack of maven expertise, but I've declared spring framework 3.0.5 in my pom file, and what I have now is both versions 3.0.5 and 2.5.6 as dependencies of my project.

    I also went to...
  13. Replies
    0
    Views
    432

    FTP Adapter is missing in 2.0 (?)

    Hello,
    Sorry if I missed a thread that already discussed this, but I've downloaded the latest STS and I can't see the int-ftp namespace in the list of available namespaces...
    ...
Results 1 to 13 of 13