[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [FR-devel] Plugin dependencies proposal
From: |
Curt Hibbs |
Subject: |
RE: [FR-devel] Plugin dependencies proposal |
Date: |
Wed, 6 Nov 2002 12:38:01 -0800 |
Rich Kilmer wrote:
> We need a dependency for transitioning to LOADED (based on other plugins
> being LOADED) and RUNNING (based on other plugins running). The
> tear-down operation would just be the opposite.
>
> be something like this (in YAML)
>
> --- !ruby/object:FreeBASE::PluginConfiguration
> name: SourceParser
> version: 1.0
> autoload: (true)
> require_path: plugins/SourceParser/SourceParser.rb
> startup_module: FreeRIDE::Tools::SourceParser
> dependencies:
> - !ruby/object:FreeBASE::DependencyConfiguration
> state: LOADED
> depends_on:
> - plugin: GuiCore
> version: "*"
>
> or in XML
>
> <plugin name="SourceParser" version="1.0" autoload="true">
> <require>plugins/SourceParser/SourceParser.rb</require>
> <module>FreeRIDE::Tools::SourceParser</module>
> <dependency state="LOADED">
> <depends_on plugin="GuiCore" version="*"/>
> </dependency>
> </plugin>
I like the YAML better ;-)
Curt