Hi all

A quick one, is there a way using jelly scripting to check for the existance of a goal in a project or a plugin?

Some context information... Lets say I'm building a plugin that acts a little like the xdoc plugin, that is based on registration from either other plugins or projects. At some point, the "generic plugin" will call a goal in those that registered with the plugin. But what if I want to include in the generic plugin some placeholder code that can be executed if the registree doesn't provide specific functionnality? In xdoc context, that would mean providing some jelly code for a report plugin that doen't provide the report goal. Right now, if we call a non existing goal, we'll have a build failure, and that's perfectly normal. But it would be nice to check for the goal existance before calling it.

Any idea on how to do this, if its possible in the first place?

thx
Eric.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to