freeride-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FR-devel] Updated code for the core, plugins, etc


From: Horacio Lopez
Subject: Re: [FR-devel] Updated code for the core, plugins, etc
Date: Thu, 31 Jan 2002 07:25:59 -0300

----- Original Message -----
From: "Rich Kilmer" <address@hidden>
To: "FreeRIDE" <address@hidden>
Sent: Thursday, January 31, 2002 6:33 AM
Subject: [FR-devel] Updated code for the core, plugins, etc
> Hey everyone,
>
> I updated the core and made extensive changes to the Plugin class to
manage
> dependencies based on a state transition mechanism. See NEWS file for list
> of stuff.
>
> A typical plugin.xml file is now:
>
> <plugin name="Test1_Plugin" version="1.0" autostart="true>
>  ...config stuff...
>  <dependency state="LOADED" action="start">
>   <plugin name="Test2_Plugin" version="*" state="RUNNING"/>
>  </dependency>
> <plugin>
>
> I will update how all this works on the Wiki at:
>
> http://www.rubyide.org/cgi-bin/wiki.pl?DevDoc/FreeRIDE_Core
>
> In the Plugin Lifecycle section.
>
> I hope this meets everyones needs for dependency management ;-)


It looks just great Rich.
I am going to test it right now  :-)

A short question:
Isn't there a problem for a future plugin.xml DTD when
using different attributes for the <plugin> tag ?

You use the <plugin> tag for two different tasks
1) <plugin name="Test1_Plugin" version="1.0" autostart="true>
(as a root element)

2) <plugin name="Test2_Plugin" version="*" state="RUNNING"/>
(nested element in <dependency>)

which is not bad because it works for our current needs.

Just wondering about XML compliance, and possible future
syntax checks in configuration files.

cheers,
                 vruz












reply via email to

[Prev in Thread] Current Thread [Next in Thread]