#7 properties are cached

closed
nobody
None
5
2004-05-17
2003-10-06
No

On successive runs the properties seem to be cached.
This is an issue for properties generated by the script
(like <available> task) because you either get phantom
properties or warnings that you overwrite existing
properties.

This happens in both 2.55 and 2.64.

Marius

Discussion

  • Dale Anson

    Dale Anson - 2003-10-06
    • status: open --> pending
     
  • Dale Anson

    Dale Anson - 2003-10-06

    Logged In: YES
    user_id=187628

    This is a feature, not a bug. If you're using Antelope as a
    stand-alone app, File->Save will reload the project, thus
    clearing any previously set properties. If you're using
    Antelope as a jEdit plugin, File->Reload does the same
    thing. I'll add it to the feature enhancement list to make
    it a checkbox setting whether to reload properties prior to
    running.

     
  • Marius Scurtescu

    • status: pending --> open
     
  • Marius Scurtescu

    Logged In: YES
    user_id=25046

    I really think that this is a bug and not a feature request.

    Running twice the same target should give the same result
    and no reload should be needed. Because the properties are
    cached on the second run the environment is different and
    actually I get errors.

    I use <available> to check if a folder exists and a property
    is set only if it does exist. Based on this property there
    is a target that renames that folder, this target is using
    the 'if' attribute. On the first run the folder is there,
    the property gets set and the folder gets renamed. On the
    second run the folder is not there anymore but the property
    is set from the previous run, a rename is attempted and it
    fails.

    Marius

     
  • Marius Scurtescu

    Logged In: YES
    user_id=25046

    One more observation: changing any options (bringing up the
    Options dialog and clicking Ok/Apply) will clear the
    properties cache.

     
  • Dale Anson

    Dale Anson - 2004-05-17
    • status: open --> closed
     
  • Dale Anson

    Dale Anson - 2004-05-17

    Logged In: YES
    user_id=187628

    fixed, turn on auto reload to make sure properties are
    cleared on each run. See antelope.tigris.org for latest version.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks