Groovy Modules

Upgrade Jacob, don't rely only on finalize()

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Scriptom
  • Labels:
    None
  • Number of attachments :
    1

Description

  • the jacob version used in Scriptom should be upgraded
    it is quite old (1.9.1, 23.10.2005). Current version is 1.10.1.
  • ActiveXProxy currently releases resources only in finalize(). Finalize is not necessary called, particularly when using a script where the JVM shuts down after script execution. As a result the COM objects are not correctly released and the started application isn't terminated.
    -> proposed "patch" adds ActiveXProxy.release() to give the possiblity to explicitely release resources
  • project.xml now references groovy-all 1.0-jsr-05 (instead of 1.0-jsr-03)
  • removed server specific settings from project.properties. They may be ok for build on the server but prohibit local buid.

The attached zip contains the changed files (from CVS on 07.06.05) and just needs to be unzipped in the scriptom source folder.

Activity

Hide
Dierk Koenig added a comment -

applied fix: many thanks to Marc Guillemot for providing it.

updated http://docs.codehaus.org/display/GROOVY/COM+Scripting with new attachment.

tested locally against all files in the script dir and worked fine.

Show
Dierk Koenig added a comment - applied fix: many thanks to Marc Guillemot for providing it. updated http://docs.codehaus.org/display/GROOVY/COM+Scripting with new attachment. tested locally against all files in the script dir and worked fine.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: