Opened 16 years ago
Closed 15 years ago
#314 closed defect (fixed)
Move tcl scripts to a separate folder
Reported by: | rgrieder | Owned by: | nobody |
---|---|---|---|
Priority: | minor | Milestone: | Version 0.2 Codename: Bellatrix |
Component: | ScriptEngine | Version: | 0.2.0 |
Keywords: | tcl | Cc: | |
Referenced By: | References: |
Description (last modified by landauf)
You can find three Tcl scripts in the media/tcl8.# directory where # is either 4 or 5. They don't really belong there and should be put in a folder like media/tcl-scripts. It also saves the redundancy.
Unfortunately this involves telling Tcl somehow where to find the scripts. There is already a tcl lib path set somewhere to media/tcl-8.# but that it should really only point to the Tcl library directory.
Addition (7/19/2009):
This ticket is also related to #336. Maybe try to solve that first, because of it's higher priority.
And another remark: The irk package (tcl8.x/irk) is also a custom package and doesn't belong to the native Tcl library. This package is loaded in the following way:
package require irk
Therefore we MUST adjust the Tcl library path so it will still find the custom packages (which is more than just a bunch of scriptfiles).
You also have to adjust the execution path, because right now the interpreter uses the path to the Orxonox binary, which makes it impossible to use relative paths in the Tcl scripts (for example remote.tcl fails at the moment).
Change History (4)
comment:1 Changed 16 years ago by rgrieder
- Description modified (diff)
- Keywords config added
- Summary changed from Move tcl scripts from bin to media to Move files from bin to media or config
comment:2 Changed 16 years ago by rgrieder
- Description modified (diff)
- Keywords config removed
- Priority changed from major to minor
- Summary changed from Move files from bin to media or config to Move tcl scripts to a separate folder
comment:3 Changed 15 years ago by landauf
- Component changed from Cmake to ScriptEngine
- Description modified (diff)
comment:4 Changed 15 years ago by landauf
- Resolution set to fixed
- Status changed from new to closed
Changed back to only moving tcl scripts. The rest has already been done.