Deployment issue with Dolphin 6

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

Deployment issue with Dolphin 6

Robert Kovacic
I have followed the tutorial documentation and entered the Personal Money
application. After deploying the image and running the exe I get an error on
the #updateAtIndex: method. I get the same error whether I select or
unselect the "strip #deprecated methods" option during the deployment.

However if I replace this deprecated method in the ListModel with the
recommended #refreshAtIndex: the deployed exe works fine. Is it possible
that the "strip #deprecated methods" option in the deployment wizard is
being ignored?

Also, a minor cosmetic point, when using the deployment wizard on my Windows
XP Pro, the message "Please wait while Dolphin Lagoon terminates" is not
cleared and remains on my desktop background.

Regards, Robert Kovacic.


Reply | Threaded
Open this post in threaded view
|

Re: Deployment issue with Dolphin 6

Chris Uppal-3
Robert Kovacic wrote:

> I have followed the tutorial documentation and entered the Personal Money
> application. After deploying the image and running the exe I get an error
> on the #updateAtIndex: method. I get the same error whether I select or
> unselect the "strip #deprecated methods" option during the deployment.
>
> However if I replace this deprecated method in the ListModel with the
> recommended #refreshAtIndex: the deployed exe works fine. Is it possible
> that the "strip #deprecated methods" option in the deployment wizard is
> being ignored?

Probably because #updateAtIndex: is in the "Dolphin MVP (Deprecated)" package,
and it is unlikely that you have an explicit "manual pre-requisite" set to tell
the image stripper that your application depends on that package.

Just about the first stage of image stripping is to remove all the packages
that are not needed by the application, and that will discard #updateAtIndex:.
In general the Dolphin automatic dependency tracking only follows class names
and the classes of objects in View resources, it does not (it can't) attempt to
deduce package dependencies from method sends.  So, in this case, it will not
"realise" that your application package depends on "Dolphin MVP (Deprecated)".
You can tell Dolphin explicitly that there is a dependency that it doesn't know
about by setting a manual dependency as one of the "properties" of the package
(from the Package Browser).

    -- chris