For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > January 2007 > VA 3.0 - Prerequisites editions help









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author VA 3.0 - Prerequisites editions help
chaiku

2007-01-11, 7:12 pm

Hi,

Can somebody help me with this?

SITUATION:

I have a configuration map(say CM), an application (say APP) which is
linked to CM, and another application (say PRE) which is a prerequisite
of APP. PRE has versions 1 and 2.
When I open my image and load CM, APP - 1 which comes with base image
gets loaded instead of APP - 2. How do I link APP - 2 considering that
prerequisites of an application are not associated by version? I want
APP - 2 be loaded along with CM.

PRE has a base class in which I have fixed a method and versioned.
I know the following solution which may not be the right thing to do. I
want to know whether there are any other ways of doing this.

- Create a config map with PRE - 2 and set this as required map of CM.

When an application is loaded, how do I control the versions of its
prerequisites that are loaded?

Thanks,
Chaiku

Peter van Rooijen

2007-01-16, 4:16 am

On Thu, 11 Jan 2007 22:08:28 +0100, chaiku <cdivvela@gmail.com> wrote:

> Hi,
>
> Can somebody help me with this?
>
> SITUATION:
>
> I have a configuration map(say CM), an application (say APP) which is
> linked to CM, and another application (say PRE) which is a prerequisite
> of APP. PRE has versions 1 and 2.
> When I open my image and load CM, APP - 1 which comes with base image
> gets loaded instead of APP - 2. How do I link APP - 2 considering that
> prerequisites of an application are not associated by version? I want
> APP - 2 be loaded along with CM.
>
> PRE has a base class in which I have fixed a method and versioned.
> I know the following solution which may not be the right thing to do. I
> want to know whether there are any other ways of doing this.
>
> - Create a config map with PRE - 2 and set this as required map of CM.
>
> When an application is loaded, how do I control the versions of its
> prerequisites that are loaded?


Hi,

By using configuration maps.
The strategy is to load apps by loading configuration maps.
Configuration maps are the mechanism for controlling what code exactly you load.

Prerequisites are a mechanism for specifying dependencies between apps,
so that what you are trying to load (e.g. when you are loading a configuration map)
can be verified to conform to your specified dependencies.

However, the dependency information stored, is not (generally) sufficient
to have adequate control over exactly which code you load.
For that, use the configuration map mechanism.

>
> Thanks,
> Chaiku
>
>




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com