Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-69

[configuration] FileChangedReloadingStrategy cannot be resolved or is not a type

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      Hi
      I am using the 1.0 version with all other required jar like
      Java 1.3
      commons-collections-3.0.jar
      commons-lang-2.0.jar
      IDE - WSAD 5.12

      When i tried to code following way which is given in example on the apache site
      itself

      PropertiesConfiguration config = new PropertiesConfiguration("usergui.properties");
      config.setReloadingStrategy(new FileChangedReloadingStrategy());
      String[] colors = config.getStringArray("colors.pie");
      for (int i=0;i<colors.length;i++)
      System.out.println(colors[i]);

      I am getting compile time error
      FileChangedReloadingStrategy cannot be resolved or is not a type

      if i comment out above line then its getting compiled and run propely.

      is it something i am missing or jar which i downloaded is not complete.

      Thanks
      Prashant

        Activity

        Prashant created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 33953 12342107
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Key COM-1955 CONFIGURATION-69
        Project Commons [ 12310458 ] Commons Configuration [ 12310467 ]
        Affects Version/s 1.0 Final [ 12311651 ]
        Component/s Configuration [ 12311107 ]
        Henri Yandell made changes -
        Affects Version/s 1.0 Final [ 12311736 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Prashant
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development