Ticket #14 (closed task: fixed)

Opened 3 months ago

Last modified 3 months ago

Implement passing of command line arguments ot javascript

Reported by: hannes Assigned to: hannes@helma.at
Priority: normal Milestone: Helma NG 0.3
Component: helma-ng Version: Helma NG 0.2
Keywords: Cc:

Description

Scripts in Helma NG should be able to receive arguments from the command line. This will be necessary to implement scripts for administrative tasks. This is in conflict with the current practice of interpreting additional command line items as module repositories, a behaviour which is being removed (see #11)

Change History

08/22/08 14:46:27 changed by hannes

  • status changed from new to closed.
  • resolution set to fixed.

Implemented via "args" property in helma.rhino module. This is an unmodifiable ScriptableList wrapping a java.util.List containing the script arguments passed on the command line.