PreviousNextTracker indexSee it online !

(95/161) 3036156 - ProjectViewer: Specify project startup scripts

It would be nice if you could define a beanshell script for a project that would be run when that project is opened. This would make it easier to set up project-specific environments (to define compilers or set environment variables, for example).

Submitted kog13 - 2010-07-28 - 18:15:12z Assigned nobody
Priority 5 Category Project Viewer
Status Open Group None
Resolution None Visibility No


2010-07-28 - 18:27:40z
The ActionHooks plugin allows you to register actions (macros) that will run in resposne to edit bus messages. Maybe it can satisfy this feature request?
2010-07-28 - 18:28:58z
Actually, looking at it now, it doesn't support any PV edit bus messages. Maybe it can be extended to query the core for all defined edit bus messages, but not sure.
2013-03-19 - 16:42:02z
I think that this should be available as something one can select from Project Options.
But the question is, which plugin should provide this feature?
If it is a BeanShell script, it might make sense to put it into the ClassPath plugin.
Keep in mind there are bugs in ClassPath which currently prevent one from implementing this feature.
See tickets 3599975 and 3599899
2013-03-19 - 16:45:25z
Another approach is to add this feature to Console which already responds to project opened messages.
The user could choose the shell as well as the startup script to run.