Errata

This page contains errata for various Cougaar releases, starting from Cougaar 12.6.

12.7

Nothing reported yet.

12.6

June 14, 2012

  • Bug fixed in annotated subscription processing in the ServletPlugin class.  As part of the fix, a feature was added: annotated services will be released automatically on unload(), rather than requiring the developer to do explicit releases of each one.  It is optional and disabled by default.  To auto-release a service obtained via annotation the developer must do this: @Cougaar.ObtainService(releaseOnUnload = true). This feature shows a benefit of annotations. For a non-annotated service (the old way), the plugin developer must release it explicitly, as the plugin might want to release its services in some special order, or do extra cleanup. There should be no effect for current code since any given service will only be auto-unloaded if the developer explicitly requests it, and no service annotations currently do so.

    /**
     * This annotation should be attached to public fields 
     * whose value should be assigned to the registered
     * service of the field's type.  The field type
     * <em>must</em> implement the interface
     * org.cougaar.core.component.Service
     */
    @Retention(RetentionPolicy.RUNTIME)
    public @interface ObtainService {
       /**
        * If true, try to release the service when
        * the component is unloaded
        */
       boolean releaseOnUnload() default false;
    }
    
  • We now build and distribute a demo-pizza.zip similar to demo-ping.zip.
  • These changes have been pushed to http://cougaar.org/build/HEAD/2012_06_14/ and pushed to the Git repositories on cougaar.org

June 18, 2012

  • Made @Cougaar.ObtainService(releaseOnUnload = true) the default behavior, as it should not affect any existing Cougaar applications.
  • Fixed a bug in TrimCougaar’s build.xml file where it incorrectly referenced the demo directories.
  • Fixed Mandelbrot tutorial under Internet Explorer (IE uses window.event rather than event argument).

These changes have been pushed to http://cougaar.org/build/HEAD/2012_06_18/ and pushed to the Git repositories on cougaar.org