Skip to content

Commit

Permalink
Add a postLoadDoIt to recompile the ZnLogEvent hierarchy when loading…
Browse files Browse the repository at this point in the history
… the Zinc-HTTP package.

This is a hack that should be removed later on.
  • Loading branch information
svenvc committed Oct 2, 2023
1 parent 4e6e0fb commit 848c550
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ baseline: spec
package: 'Zinc-Character-Encoding-Tests' with: [ spec requires: 'Zinc-Character-Encoding-Core' ];
package: 'Zinc-Resource-Meta-Core' with: [ spec requires: 'Zinc-Character-Encoding-Core' ];
package: 'Zinc-Resource-Meta-Tests' with: [ spec requires: 'Zinc-Resource-Meta-Core' ];
package: 'Zinc-HTTP' with: [ spec requires: #('Zinc-Character-Encoding-Core' 'Zinc-Resource-Meta-Core') ];
package: 'Zinc-HTTP' with: [
spec postLoadDoIt: #recompileZnLogEventHierarchy; requires: #('Zinc-Character-Encoding-Core' 'Zinc-Resource-Meta-Core') ];
package: 'Zinc-HTTP-Examples' with: [ spec requires: #('Zinc-HTTP') ];
package: 'Zinc-Tests' with: [ spec requires: 'Zinc-HTTP' ];
package: 'Zinc-Zodiac-Core' with: [ spec requires: #('Zinc-HTTP' 'Zodiac-Core') ];
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
doits
recompileZnLogEventHierarchy
"This is a hack, but somehow there is something wrong in the instance variables layout,
which can only be fixed by recompiling, which should happen but doesn't, so force it."

ZnLogEvent withAllSubclassesDo: #recompile

0 comments on commit 848c550

Please sign in to comment.