Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: command line parameters in RCP-application?

  1. #11
    Join Date
    Jul 2007
    Posts
    17

    Default

    In my application, I need to change some Spring configurations using main args[].

    So in main I prepare a PropertyPlaceholderConfigurer with the arguments. And register it using addBeanFactoryPostProcessor in the aplication context (ClassPathXmlApplicationContext). Then I pass the aplication context (not yet initialized) to MyApplicationLauncher where the splash screen can show progress while initializing it.

    I can share the code. Put it here?

  2. #12

    Default

    Could you send it to me?

    Thank you very much

  3. #13
    Join Date
    Mar 2007
    Location
    Oudenaarde
    Posts
    294

    Default

    If it's small, post it here, so everyone can benefit . Share your knowledge, my friend!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •