Menu

#4 Move configuration data to properties

open
None
2
2002-10-28
2002-07-15
No

You have some pices of configuration data hard coded
into your source files. E.g. the ebay server names.
Move these to java property files.

Discussion

  • Morgan Schweers

    Morgan Schweers - 2002-07-16
    • assigned_to: nobody --> cyberfox
     
  • Morgan Schweers

    Morgan Schweers - 2002-07-16

    Logged In: YES
    user_id=19745

    Greetings,

    The ebay server names would require a substantial amount of
    recoding if you were to change them. If I made it a
    configuration file, users would think they could just
    redirect it (for example) to www.ebay.de, and it would work.
    This would definitely NOT be true. What I'd prefer for
    items like that is what's been discussed elsewhere here, a
    'server pack', which consists of an XML file describing ALL
    the things that need to be changed for a new server. This
    information would then be imported by the eBay server, and
    processed appropriately, so if someone wanted to add eBay
    France support, for instance, they could simply recode the
    XML file with all the appropriate information.

    I can't work on that right now, there's FAR too much
    information that needs to be extracted in order to do it.
    That's an highly complex project, akin to I18Ning my whole
    program. I welcome anyone who wants to help on it, though!

    -- Cyberfox

     
  • Morgan Schweers

    Morgan Schweers - 2002-07-16
    • labels: --> 367082
    • milestone: --> 154240
    • priority: 5 --> 2
     
  • Morgan Schweers

    Morgan Schweers - 2002-07-16

    Logged In: YES
    user_id=19745

    Greetings,

    See bug #534572.

    -- Cyberfox

     
  • Morgan Schweers

    Morgan Schweers - 2002-10-28
    • assigned_to: cyberfox --> nobody
    • labels: 367082 -->
    • milestone: 154240 -->
     
  • Morgan Schweers

    Morgan Schweers - 2002-10-28
    • assigned_to: nobody --> cyberfox
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.