History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-2798
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Marc Palmer
Reporter: Marc Palmer
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Grails

PackagePlugin includes **BootStrap.groovy if present in plugin, which kills the app it is installed into

Created: 09/Apr/08 03:56 AM   Updated: 13/May/08 04:45 AM
Component/s: None
Affects Version/s: 1.0.2
Fix Version/s: 1.0.3

Time Tracking:
Not Specified


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Sergey Nebolsin - 12/May/08 11:06 AM
I just want to note that in Quartz plugin we depend on QuartzBootStrap file which is bundled in the plugin's distribution to make some required operations during bootstrap process.

Marc Palmer - 12/May/08 04:00 PM
Ok but the problem here is that if the name clashes with the bootstrap in the app, it kills the app.

So in that case perhaps we have to change the logic so that in applications it only loads BootStrap.groovy and in plugins they must use the plugin name as the bootstrap - i.e. QuartzBootStrap - and this is enforced in package-plugin.

The reason for this is that a plugin might have a LoaderBootStrap.groovy otherwise (for example) and more than one plugin might provide this and then boom the two plugins can't work together.