Author: remi
Date: 2009-04-07 12:34:28 +0200 (Tue, 07 Apr 2009)
New Revision: 4383
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/resources/01_robot_system/resourceAttituneManager.py
Log:
* now, the attitune manager resource is not auto-started the first launch of
the server
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/resources/01_robot_system/resourceAttituneManager.py
===================================================================
---
software_suite_v2/tuxware/tuxdroidserver/trunk/resources/01_robot_system/resourceAttituneManager.py
2009-04-07 10:29:45 UTC (rev 4382)
+++
software_suite_v2/tuxware/tuxdroidserver/trunk/resources/01_robot_system/resourceAttituneManager.py
2009-04-07 10:34:28 UTC (rev 4383)
@@ -56,10 +56,9 @@
clientsManager.addDefaultExcludedEvent(statusName)
eventsHandler.getEventHandler(ST_NAME_AM_RUN).updateState("False")
# Default configuration
- attitunesPath = os.path.join(USER_BASE_PATH, "MyTux", "MyTuxAttitunes")
self.defaultConfiguration = {
- 'auto-start' : True,
- 'attitunes_path' : attitunesPath,
+ 'auto-start' : False,
+ 'attitunes_path' : "",
}
# Create a logger
self.logger = SimpleLogger("attitune_manager")
@@ -325,6 +324,7 @@
configurator = resourceAttituneManager.getConfigurator()
config = configurator.getConfiguration()
config['attitunes_path'] = parameters['attitunes_path']
+ config['auto-start'] = True
configurator.store()
# Start the attitune manager
attitunesContainer =
resourceAttituneManager.getAttitunesContainer()
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn