ImageStripper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ImageStripper

G Krupa-2
I was trying to refactor the ImageStipper so I could subclass and override
some behavior--like getting rid of the annoying "Development system will now
exit" dialog.

But I get an error that my ImageStripper subclass doesn't understand the
newly extracted method.

I've attached an example package that illustrates this.  The
#saveExecutable: method has been refactored to push the dialog to a method
#exeDeployedMessage:, which I've turned into an empty method.

The #exeDeployedMessage: is in the 'must not strip' category, so it
shouldn't be removed.  What gives?

I can just change the source for #saveExecutable: in ImageStripper, but I'm
trying to figure out what's going on.  Does anyone know why I'm getting
#doesNotUnderstand: when deploying?

Cheers,

GK


begin 666 ImgStrip.pac
M?"!P86-K86=E('P-"G!A8VMA9V4@.CT@4&%C:V%G92!N86UE.B G26UG4W1R
M:7 G+@T*<&%C:V%G92!P87A697)S:6]N.B P.PT*"6)A<VEC0V]M;65N=#H@
M)R<N#0H-"G!A8VMA9V4@:6UA9V53=')I<'!E<D)Y=&5S.B H0GET94%R<F%Y
M(&9R;VU(97A3=')I;F<Z("<R,34S-30T,C(P,S$R,#0V,$8Q,3 P,#0P,# P
M,# U-#8U-S,W-#0Y-D0V,38W-C4U,S<T-S(V.3<P-S V-3<R,# P,# P,# P
M,# P,# P,#4R,# P,# P,#@P,# P,# T.39$-C<U,S<T-S(V.3<P-3(P,# P
M,# P1C P,# P,#0Y-D0V-S4S-S0W,C8Y-S W,#8U-S(R138U-S@V-3E!,# P
M,# P,# P,# P,# U,C P,# P,# X,# P,# P-#DV1#8W-3,W-#<R-CDW,#4R
M,# P,# P,3(P,# P,# U-#8U-S,W-#4S-C4W,S<S-CDV1C9%-$0V,39%-C$V
M-S8U-S)%1D)&,C4P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P
M,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P
M,# P)RDN#0H-"G!A8VMA9V4@8VQA<W-.86UE<PT*"6%D9#H@(U1E<W1);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<"%O<&5R871I
M;VYS(7!R:79A=&4A("$-"B%497-T26UA9V53=')I<'!E<B!C871E9V]R:65S
M1F]R.B C<V%V945X96-U=&%B;&4Z(6]P97)A=&EO;G,A<')I=F%T92$@(0T*
M#0I497-T4V5S<VEO;DUA;F%G97(@9W5I9#H@*$=5240@9G)O;5-T<FEN9SH@
M)WM&.40U-D0X,BTY-4,V+30P.3@M0C Q-"U!0S W1D0U,44U1D)])RDA#0I4
M97-T4V5S<VEO;DUA;F%G97(@8V]M;65N=#H@)R<A#0HA5&5S=%-E<W-I;VY-
M86YA9V5R(&-A=&5G;W)I97-&;W)#;&%S<R%3>7-T96TM4W5P<&]R="$@(0T*
E(D)I;F%R>2!';&]B86QS(B$-"@T*(E)E<V]U<F-E<R(A#0H-"@``
`
end